[p4python] Issues building on 10.6

Wes Sanford wesanfor at cisco.com
Tue Oct 19 13:00:52 PDT 2010


Still can not get items to build.

Building p4python:
Wess-MPC-4:p4python wesanfor$ python ./setup.py build
API Release 2010.1
running build
running build_py
running build_ext
building 'P4API' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2 -DNDEBUG -g -O3
-DID_OS="MACOSX106X86" -DID_REL="2010.1" -DID_PATCH="251161"
-DID_API="2010.1" -DID_Y="2010" -DID_M="06" -DID_D="16"
-I/Applications/p4python -I/Applications/p4python/include/p4
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
P4API.cpp -o build/temp.macosx-10.3-fat-2.6/P4API.o
-fvisibility-inlines-hidden -DCASE_INSENSITIVE -DOS_MACOSX -DOS_MACOSX106
-DOS_MACOSXX86 -DOS_MACOSX106X86

PythonVersion information:
ess-MPC-4:p4python wesanfor$ python
Python 2.6.6 (r266:84374, Aug 31 2010, 11:00:51)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin

Have the latest Mac 4.1, 10.6.4 SDK installed on the box

Still getting this output when building along with error:
P4API.cpp:44:23: error: clientapi.h: No such file or directory
P4API.cpp:45:22: error: strtable.h: No such file or directory
P4API.cpp:46:18: error: spec.h: No such file or directory
P4API.cpp:47:19: error: ident.h: No such file or directory
P4API.cpp:48:20: error: mapapi.h: No such file or directory
P4API.cpp:44:23: error: clientapi.h: No such file or directory
P4API.cpp:45:22: error: strtable.h: No such file or directory
P4API.cpp:46:18: error: spec.h: No such file or directory
P4API.cpp:47:19: error: ident.h: No such file or directory
P4API.cpp:48:20: error: mapapi.h: No such file or directory
P4Result.h:45: error: ŒError¹ has not been declared
P4Result.h:53: error: ŒStrBuf¹ has not been declared
P4Result.h:54: error: ŒStrBuf¹ has not been declared
P4Result.h:65: error: ŒStrBuf¹ has not been declared
SpecMgr.h:55: error: ŒStrPtr¹ has not been declared
SpecMgr.h:64: error: ŒError¹ has not been declared
SpecMgr.h:70: error: ŒStrBuf¹ has not been declared
SpecMgr.h:70: error: ŒError¹ has not been declared
SpecMgr.h:77: error: expected Œ;¹ before Œ(¹ token
SpecMgr.h:85: error: expected Œ;¹ before Œ(¹ token
SpecMgr.h:96: error: expected Œ,¹ or Œ...¹ before Œ*¹ token
SpecMgr.h:96: error: ISO C++ forbids declaration of ŒStrPtr¹ with no type
SpecMgr.h:97: error: expected Œ,¹ or Œ...¹ before Œ*¹ token
SpecMgr.h:97: error: ISO C++ forbids declaration of ŒStrPtr¹ with no type
SpecMgr.h:98: error: expected Œ;¹ before Œ(¹ token
SpecMgr.h:99: error: expected Œ;¹ before Œ(¹ token
PythonClientUser.h:42: error: expected class-name before Œ{¹ token
PythonClientUser.h:49: error: ŒError¹ has not been declared
PythonClientUser.h:52: error: ŒStrDict¹ has not been declared
PythonClientUser.h:54: error: ŒStrBuf¹ has not been declared
PythonClientUser.h:54: error: ŒError¹ has not been declared
PythonClientUser.h:55: error: ŒFileSys¹ has not been declared
PythonClientUser.h:55: error: ŒFileSys¹ has not been declared
PythonClientUser.h:56: error: ŒError¹ has not been declared
PythonClientUser.h:57: error: expected Œ,¹ or Œ...¹ before Œ&¹ token
PythonClientUser.h:57: error: ISO C++ forbids declaration of ŒStrPtr¹ with
no type
PythonClientUser.h:59: error: ŒClientMerge¹ has not been declared
PythonClientUser.h:59: error: ŒError¹ has not been declared
PythonClientUser.h:80: error: expected Œ;¹ before Œ(¹ token
PythonClientUser.h:83: error: ŒStrBuf¹ does not name a type
PythonClientUser.h: In member function Œvoid
PythonClientUser::SetCommand(const char*)¹:
PythonClientUser.h:70: error: Œcmd¹ was not declared in this scope
PythonClientAPI.h: At global scope:
PythonClientAPI.h:177: error: ŒError¹ has not been declared
PythonClientAPI.h:195: error: ŒClientUser¹ has not been declared
PythonClientAPI.h:237: error: ŒClientApi¹ does not name a type
PythonClientAPI.h:241: error: field ŒspecDict¹ has incomplete type
PythonClientAPI.h:242: error: ŒStrBuf¹ does not name a type
PythonClientAPI.h:243: error: ŒStrBuf¹ does not name a type
PythonClientAPI.h:244: error: ŒStrBuf¹ does not name a type
PythonClientAPI.h:245: error: ŒStrBuf¹ does not name a type
PythonClientAPI.h: In member function Œint PythonClientAPI::SetClient(const
char*)¹:
PythonClientAPI.h:101: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint PythonClientAPI::SetHost(const
char*)¹:
PythonClientAPI.h:103: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint
PythonClientAPI::SetLanguage(const char*)¹:
PythonClientAPI.h:104: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint
PythonClientAPI::SetPassword(const char*)¹:
PythonClientAPI.h:105: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint PythonClientAPI::SetProg(const
char*)¹:
PythonClientAPI.h:107: error: Œprog¹ was not declared in this scope
PythonClientAPI.h: In member function Œint PythonClientAPI::SetUser(const
char*)¹:
PythonClientAPI.h:109: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint PythonClientAPI::SetVersion(const
char*)¹:
PythonClientAPI.h:110: error: Œversion¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetCharset()¹:
PythonClientAPI.h:112: error: Œcharset¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetClient()¹:
PythonClientAPI.h:113: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetConfig()¹:
PythonClientAPI.h:114: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetCwd()¹:
PythonClientAPI.h:115: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetHost()¹:
PythonClientAPI.h:117: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetLanguage()¹:
PythonClientAPI.h:118: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetPassword()¹:
PythonClientAPI.h:119: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetPort()¹:
PythonClientAPI.h:120: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetProg()¹:
PythonClientAPI.h:121: error: Œprog¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetTicketFile()¹:
PythonClientAPI.h:122: error: ŒticketFile¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetUser()¹:
PythonClientAPI.h:123: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetVersion()¹:
PythonClientAPI.h:124: error: Œversion¹ was not declared in this scope
PythonMergeData.h: At global scope:
PythonMergeData.h:43: error: expected `)' before Œ*¹ token
PythonMergeData.h:62: error: ISO C++ forbids declaration of ŒClientUser¹
with no type
PythonMergeData.h:62: error: expected Œ;¹ before Œ*¹ token
PythonMergeData.h:63: error: ŒStrBuf¹ does not name a type
PythonMergeData.h:64: error: ISO C++ forbids declaration of ŒClientMerge¹
with no type
PythonMergeData.h:64: error: expected Œ;¹ before Œ*¹ token
PythonMergeData.h:65: error: ŒStrBuf¹ does not name a type
PythonMergeData.h:66: error: ŒStrBuf¹ does not name a type
PythonMergeData.h:67: error: ŒStrBuf¹ does not name a type
P4MapMaker.h:62: error: expected Œ,¹ or Œ...¹ before Œ&¹ token
P4MapMaker.h:62: error: ISO C++ forbids declaration of ŒStrPtr¹ with no type
P4Result.h:45: error: ŒError¹ has not been declared
P4Result.h:53: error: ŒStrBuf¹ has not been declared
P4Result.h:54: error: ŒStrBuf¹ has not been declared
P4Result.h:65: error: ŒStrBuf¹ has not been declared
SpecMgr.h:55: error: ŒStrPtr¹ has not been declared
SpecMgr.h:64: error: ŒError¹ has not been declared
SpecMgr.h:70: error: ŒStrBuf¹ has not been declared
SpecMgr.h:70: error: ŒError¹ has not been declared
SpecMgr.h:77: error: expected Œ;¹ before Œ(¹ token
SpecMgr.h:85: error: expected Œ;¹ before Œ(¹ token
SpecMgr.h:96: error: expected Œ,¹ or Œ...¹ before Œ*¹ token
SpecMgr.h:96: error: ISO C++ forbids declaration of ŒStrPtr¹ with no type
SpecMgr.h:97: error: expected Œ,¹ or Œ...¹ before Œ*¹ token
SpecMgr.h:97: error: ISO C++ forbids declaration of ŒStrPtr¹ with no type
SpecMgr.h:98: error: expected Œ;¹ before Œ(¹ token
SpecMgr.h:99: error: expected Œ;¹ before Œ(¹ token
PythonClientUser.h:42: error: expected class-name before Œ{¹ token
PythonClientUser.h:49: error: ŒError¹ has not been declared
PythonClientUser.h:52: error: ŒStrDict¹ has not been declared
PythonClientUser.h:54: error: ŒStrBuf¹ has not been declared
PythonClientUser.h:54: error: ŒError¹ has not been declared
PythonClientUser.h:55: error: ŒFileSys¹ has not been declared
PythonClientUser.h:55: error: ŒFileSys¹ has not been declared
PythonClientUser.h:56: error: ŒError¹ has not been declared
PythonClientUser.h:57: error: expected Œ,¹ or Œ...¹ before Œ&¹ token
PythonClientUser.h:57: error: ISO C++ forbids declaration of ŒStrPtr¹ with
no type
PythonClientUser.h:59: error: ŒClientMerge¹ has not been declared
PythonClientUser.h:59: error: ŒError¹ has not been declared
PythonClientUser.h:80: error: expected Œ;¹ before Œ(¹ token
PythonClientUser.h:83: error: ŒStrBuf¹ does not name a type
PythonClientUser.h: In member function Œvoid
PythonClientUser::SetCommand(const char*)¹:
PythonClientUser.h:70: error: Œcmd¹ was not declared in this scope
PythonClientAPI.h: At global scope:
PythonClientAPI.h:177: error: ŒError¹ has not been declared
PythonClientAPI.h:195: error: ŒClientUser¹ has not been declared
PythonClientAPI.h:237: error: ŒClientApi¹ does not name a type
PythonClientAPI.h:241: error: field ŒspecDict¹ has incomplete type
PythonClientAPI.h:242: error: ŒStrBuf¹ does not name a type
PythonClientAPI.h:243: error: ŒStrBuf¹ does not name a type
PythonClientAPI.h:244: error: ŒStrBuf¹ does not name a type
PythonClientAPI.h:245: error: ŒStrBuf¹ does not name a type
PythonClientAPI.h: In member function Œint PythonClientAPI::SetClient(const
char*)¹:
PythonClientAPI.h:101: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint PythonClientAPI::SetHost(const
char*)¹:
PythonClientAPI.h:103: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint
PythonClientAPI::SetLanguage(const char*)¹:
PythonClientAPI.h:104: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint
PythonClientAPI::SetPassword(const char*)¹:
PythonClientAPI.h:105: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint PythonClientAPI::SetProg(const
char*)¹:
PythonClientAPI.h:107: error: Œprog¹ was not declared in this scope
PythonClientAPI.h: In member function Œint PythonClientAPI::SetUser(const
char*)¹:
PythonClientAPI.h:109: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œint PythonClientAPI::SetVersion(const
char*)¹:
PythonClientAPI.h:110: error: Œversion¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetCharset()¹:
PythonClientAPI.h:112: error: Œcharset¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetClient()¹:
PythonClientAPI.h:113: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetConfig()¹:
PythonClientAPI.h:114: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetCwd()¹:
PythonClientAPI.h:115: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetHost()¹:
PythonClientAPI.h:117: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetLanguage()¹:
PythonClientAPI.h:118: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetPassword()¹:
PythonClientAPI.h:119: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetPort()¹:
PythonClientAPI.h:120: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetProg()¹:
PythonClientAPI.h:121: error: Œprog¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetTicketFile()¹:
PythonClientAPI.h:122: error: ŒticketFile¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetUser()¹:
PythonClientAPI.h:123: error: Œclient¹ was not declared in this scope
PythonClientAPI.h: In member function Œconst char*
PythonClientAPI::GetVersion()¹:
PythonClientAPI.h:124: error: Œversion¹ was not declared in this scope
PythonMergeData.h: At global scope:
PythonMergeData.h:43: error: expected `)' before Œ*¹ token
PythonMergeData.h:62: error: ISO C++ forbids declaration of ŒClientUser¹
with no type
PythonMergeData.h:62: error: expected Œ;¹ before Œ*¹ token
PythonMergeData.h:63: error: ŒStrBuf¹ does not name a type
PythonMergeData.h:64: error: ISO C++ forbids declaration of ŒClientMerge¹
with no type
PythonMergeData.h:64: error: expected Œ;¹ before Œ*¹ token
PythonMergeData.h:65: error: ŒStrBuf¹ does not name a type
PythonMergeData.h:66: error: ŒStrBuf¹ does not name a type
PythonMergeData.h:67: error: ŒStrBuf¹ does not name a type
P4MapMaker.h:62: error: expected Œ,¹ or Œ...¹ before Œ&¹ token
P4MapMaker.h:62: error: ISO C++ forbids declaration of ŒStrPtr¹ with no type
P4API.cpp:66: error: ŒIdent¹ does not name a type
P4API.cpp: In function ŒPyObject* P4API_identify(PyObject*)¹:
P4API.cpp:215: error: ŒStrBuf¹ was not declared in this scope
P4API.cpp:215: error: expected `;' before Œs¹
P4API.cpp:216: error: Œident¹ was not declared in this scope
P4API.cpp:216: error: Œs¹ was not declared in this scope
P4API.cpp:66: error: ŒIdent¹ does not name a type
P4API.cpp: In function ŒPyObject* P4API_identify(PyObject*)¹:
P4API.cpp:215: error: ŒStrBuf¹ was not declared in this scope
P4API.cpp:215: error: expected `;' before Œs¹
P4API.cpp:216: error: Œident¹ was not declared in this scope
P4API.cpp:216: error: Œs¹ was not declared in this scope
lipo: can't figure out the architecture type of:
/var/folders/M-/M-JVaORtGs8OPdhu4MX1WU+++TI/-Tmp-//ccMbtgDC.out
error: command 'gcc-4.0' failed with exit status 1


---

Suggestions?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/p4python/attachments/20101019/85d8a385/attachment-0002.html>


More information about the p4python mailing list