Checking if your kit is complete... Looks good Warning: This extension uses C++ and requires that you use the C++ compiler to compile the XSUB file ( normally just a C compiler is required ). If your build fails with a plethora of errors, then check two things: 1. That you have defined the correct OS_xxxxx macro for your platform ( see the Perforce API documentation for more info ) 2. That the correct compilers are being used. 3. That you're using the correct build of the Perforce API. See hints/linux.pl to see how it should be done. This extension requires the Perforce API in order to be built. If you do not yet have the API files, then download them from ftp://ftp.perforce.com before continuing. Where is the Perforce API to be found: The test suite needs to know where your Perforce server is. The tests are non-invasive and no new data will be added to your depot during the tests Enter the address of your Perforce server: [localhost:1666]: Note (probably harmless): No library found for -lclient Note (probably harmless): No library found for -lrpc Note (probably harmless): No library found for -lsupp Writing Makefile for P4::Client::lib Writing Makefile for P4::Client cp UI.pm blib/lib/P4/UI.pm cp Client.pm blib/lib/P4/Client.pm AutoSplitting blib/lib/P4/Client.pm (blib/lib/auto/P4/Client) cp example.pl blib/lib/P4/example.pl cd lib && make gcc -c -I/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/P4-Client -Ilib -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"\" -DXS_VERSION=\"\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" clientuserperl.cc clientuserperl.cc:38:23: error: clientapi.h: No such file or directory clientuserperl.cc:39:18: error: spec.h: No such file or directory clientuserperl.cc:40:18: error: diff.h: No such file or directory clientuserperl.cc:38:23: error: clientapi.h: No such file or directory clientuserperl.cc:39:18: error: spec.h: No such file or directory clientuserperl.cc:40:18: error: diff.h: No such file or directory clientuserperl.h:33: error: expected class-name before '{' token clientuserperl.h:37: error: 'Error' has not been declared clientuserperl.h:38: error: 'Error' has not been declared clientuserperl.h:39: error: 'StrBuf' has not been declared clientuserperl.h:39: error: 'Error' has not been declared clientuserperl.h:41: error: 'const_char' has not been declared clientuserperl.h:42: error: 'StrDict' has not been declared clientuserperl.h:43: error: 'const_char' has not been declared clientuserperl.h:44: error: 'const_char' has not been declared clientuserperl.h:45: error: expected ',' or '...' before '&' token clientuserperl.h:46: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.h:47: error: 'FileSys' has not been declared clientuserperl.h:47: error: 'Error' has not been declared clientuserperl.h:48: error: 'FileSys' has not been declared clientuserperl.h:48: error: 'FileSys' has not been declared clientuserperl.h:49: error: 'Error' has not been declared clientuserperl.h:55: error: 'StrDict' has not been declared clientuserperl.h:56: error: expected ',' or '...' before '*' token clientuserperl.h:56: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.h:57: error: expected ',' or '...' before '*' token clientuserperl.h:57: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.h:58: error: 'StrBuf' has not been declared clientuserperl.cc:92: error: variable or field 'Edit' declared void clientuserperl.cc:92: error: 'int ClientUserPerl::Edit' is not a static member of 'class ClientUserPerl' clientuserperl.cc:92: error: 'FileSys' was not declared in this scope clientuserperl.cc:92: error: 'f1' was not declared in this scope clientuserperl.cc:92: error: 'Error' was not declared in this scope clientuserperl.cc:92: error: 'e' was not declared in this scope clientuserperl.cc:92: error: initializer expression list treated as compound expression clientuserperl.cc:93: error: expected ',' or ';' before '{' token clientuserperl.cc:115: error: 'Error' has not been declared clientuserperl.cc:138: error: variable or field 'HandleError' declared void clientuserperl.cc:138: error: 'int ClientUserPerl::HandleError' is not a static member of 'class ClientUserPerl' clientuserperl.cc:138: error: 'Error' was not declared in this scope clientuserperl.cc:138: error: 'e' was not declared in this scope clientuserperl.cc:139: error: expected ',' or ';' before '{' token clientuserperl.cc:163: error: variable or field 'InputData' declared void clientuserperl.cc:163: error: 'int ClientUserPerl::InputData' is not a static member of 'class ClientUserPerl' clientuserperl.cc:163: error: 'StrBuf' was not declared in this scope clientuserperl.cc:163: error: 'strbuf' was not declared in this scope clientuserperl.cc:163: error: 'Error' was not declared in this scope clientuserperl.cc:163: error: 'e' was not declared in this scope clientuserperl.cc:163: error: initializer expression list treated as compound expression clientuserperl.cc:164: error: expected ',' or ';' before '{' token clientuserperl.cc:260: error: 'const_char' has not been declared clientuserperl.cc:293: error: variable or field 'OutputStat' declared void clientuserperl.cc:293: error: 'int ClientUserPerl::OutputStat' is not a static member of 'class ClientUserPerl' clientuserperl.cc:293: error: 'StrDict' was not declared in this scope clientuserperl.cc:293: error: 'varList' was not declared in this scope clientuserperl.cc:294: error: expected ',' or ';' before '{' token clientuserperl.cc:369: error: variable or field 'OutputText' declared void clientuserperl.cc:369: error: 'int ClientUserPerl::OutputText' is not a static member of 'class ClientUserPerl' clientuserperl.cc:369: error: 'const_char' was not declared in this scope clientuserperl.cc:369: error: 'data' was not declared in this scope clientuserperl.cc:369: error: expected primary-expression before 'int' clientuserperl.cc:369: error: initializer expression list treated as compound expression clientuserperl.cc:370: error: expected ',' or ';' before '{' token clientuserperl.cc:393: error: variable or field 'OutputBinary' declared void clientuserperl.cc:393: error: 'int ClientUserPerl::OutputBinary' is not a static member of 'class ClientUserPerl' clientuserperl.cc:393: error: 'const_char' was not declared in this scope clientuserperl.cc:393: error: 'data' was not declared in this scope clientuserperl.cc:393: error: expected primary-expression before 'int' clientuserperl.cc:393: error: initializer expression list treated as compound expression clientuserperl.cc:394: error: expected ',' or ';' before '{' token clientuserperl.cc:422: error: expected ',' or '...' before '&' token clientuserperl.cc:423: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.cc: In member function 'virtual void ClientUserPerl::Prompt(int)': clientuserperl.cc:427: error: 'noEcho' was not declared in this scope clientuserperl.cc:429: error: 'ClientUser' has not been declared clientuserperl.cc:429: error: 'msg' was not declared in this scope clientuserperl.cc:429: error: 'rsp' was not declared in this scope clientuserperl.cc:429: error: 'e' was not declared in this scope clientuserperl.cc:441: error: 'msg' was not declared in this scope clientuserperl.cc:449: error: 'rsp' was not declared in this scope clientuserperl.cc: At global scope: clientuserperl.cc:464: error: variable or field 'Diff' declared void clientuserperl.cc:464: error: 'int ClientUserPerl::Diff' is not a static member of 'class ClientUserPerl' clientuserperl.cc:464: error: 'FileSys' was not declared in this scope clientuserperl.cc:464: error: 'f1' was not declared in this scope clientuserperl.cc:464: error: 'FileSys' was not declared in this scope clientuserperl.cc:464: error: 'f2' was not declared in this scope clientuserperl.cc:464: error: expected primary-expression before 'int' clientuserperl.cc:465: error: expected primary-expression before 'char' clientuserperl.cc:465: error: 'Error' was not declared in this scope clientuserperl.cc:465: error: 'e' was not declared in this scope clientuserperl.cc:465: error: initializer expression list treated as compound expression clientuserperl.cc:466: error: expected ',' or ';' before '{' token clientuserperl.cc:566: error: variable or field 'DictToHash' declared void clientuserperl.cc:566: error: 'int ClientUserPerl::DictToHash' is not a static member of 'class ClientUserPerl' clientuserperl.cc:566: error: 'StrDict' was not declared in this scope clientuserperl.cc:566: error: 'd' was not declared in this scope clientuserperl.cc:566: error: expected primary-expression before '*' token clientuserperl.cc:566: error: expected primary-expression before ')' token clientuserperl.cc:566: error: initializer expression list treated as compound expression clientuserperl.cc:567: error: expected ',' or ';' before '{' token clientuserperl.cc:590: error: expected ',' or '...' before '*' token clientuserperl.cc:590: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.cc: In member function 'void ClientUserPerl::SplitKey(int)': clientuserperl.cc:594: error: 'base' was not declared in this scope clientuserperl.cc:594: error: 'key' was not declared in this scope clientuserperl.cc:595: error: assignment of function 'char* index(const char*, int)' clientuserperl.cc:595: error: cannot convert 'const char [1]' to 'char* ()(const char*, int)' in assignment clientuserperl.cc:604: error: request for member 'Set' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc: At global scope: clientuserperl.cc:616: error: expected ',' or '...' before '*' token clientuserperl.cc:616: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.cc: In member function 'void ClientUserPerl::InsertItem(HV*, int)': clientuserperl.cc:620: error: 'StrBuf' was not declared in this scope clientuserperl.cc:620: error: expected `;' before 'base' clientuserperl.cc:621: error: 'StrRef' was not declared in this scope clientuserperl.cc:621: error: expected `;' before 'comma' clientuserperl.cc:624: error: 'var' was not declared in this scope clientuserperl.cc:624: error: 'val' was not declared in this scope clientuserperl.cc:626: error: 'var' was not declared in this scope clientuserperl.cc:626: error: 'base' was not declared in this scope clientuserperl.cc:629: error: request for member 'Text' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:638: error: comparison between distinct pointer types 'char* (*)(const char*, int)' and 'const char*' lacks a cast clientuserperl.cc:646: error: 'val' was not declared in this scope clientuserperl.cc:666: error: expected `;' before 'msg' clientuserperl.cc:667: error: 'msg' was not declared in this scope clientuserperl.cc:683: error: request for member 'Contains' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:683: error: 'comma' was not declared in this scope clientuserperl.cc:685: error: expected `;' before 'level' clientuserperl.cc:686: error: 'level' was not declared in this scope clientuserperl.cc:686: error: request for member 'Text' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:686: error: request for member 'Text' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:687: error: request for member 'Set' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:721: error: 'val' was not declared in this scope clientuserperl.cc:723: error: 'val' was not declared in this scope clientuserperl.cc: At global scope: clientuserperl.cc:728: error: 'StrBuf' has not been declared clientuserperl.cc: In member function 'void ClientUserPerl::HashToForm(HV*, int*)': clientuserperl.cc:731: error: 'StrPtr' was not declared in this scope clientuserperl.cc:731: error: 'specdef' was not declared in this scope clientuserperl.cc:736: error: 'varList' was not declared in this scope clientuserperl.cc:752: error: 'SpecDataTable' was not declared in this scope clientuserperl.cc:752: error: expected `;' before 'specData' clientuserperl.cc:753: error: 'Spec' was not declared in this scope clientuserperl.cc:753: error: expected `;' before 's' clientuserperl.cc:762: error: 'specData' was not declared in this scope clientuserperl.cc:765: error: 's' was not declared in this scope clientuserperl.cc:765: error: 'specData' was not declared in this scope clientuserperl.cc:768: error: request for member 'Text' in '* b', which is of non-class type 'int' clientuserperl.cc: In member function 'HV* ClientUserPerl::FlattenHash(HV*)': clientuserperl.cc:794: error: 'StrBuf' was not declared in this scope clientuserperl.cc:794: error: expected `;' before 'msg' clientuserperl.cc:796: error: 'msg' was not declared in this scope clientuserperl.cc:814: error: 'StrBuf' was not declared in this scope clientuserperl.cc:814: error: expected `;' before 'newKey' clientuserperl.cc:823: error: expected `;' before 'msg' clientuserperl.cc:824: error: 'msg' was not declared in this scope clientuserperl.cc:835: error: 'newKey' was not declared in this scope clientuserperl.h:33: error: expected class-name before '{' token clientuserperl.h:37: error: 'Error' has not been declared clientuserperl.h:38: error: 'Error' has not been declared clientuserperl.h:39: error: 'StrBuf' has not been declared clientuserperl.h:39: error: 'Error' has not been declared clientuserperl.h:41: error: 'const_char' has not been declared clientuserperl.h:42: error: 'StrDict' has not been declared clientuserperl.h:43: error: 'const_char' has not been declared clientuserperl.h:44: error: 'const_char' has not been declared clientuserperl.h:45: error: expected ',' or '...' before '&' token clientuserperl.h:46: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.h:47: error: 'FileSys' has not been declared clientuserperl.h:47: error: 'Error' has not been declared clientuserperl.h:48: error: 'FileSys' has not been declared clientuserperl.h:48: error: 'FileSys' has not been declared clientuserperl.h:49: error: 'Error' has not been declared clientuserperl.h:55: error: 'StrDict' has not been declared clientuserperl.h:56: error: expected ',' or '...' before '*' token clientuserperl.h:56: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.h:57: error: expected ',' or '...' before '*' token clientuserperl.h:57: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.h:58: error: 'StrBuf' has not been declared clientuserperl.cc:92: error: variable or field 'Edit' declared void clientuserperl.cc:92: error: 'int ClientUserPerl::Edit' is not a static member of 'class ClientUserPerl' clientuserperl.cc:92: error: 'FileSys' was not declared in this scope clientuserperl.cc:92: error: 'f1' was not declared in this scope clientuserperl.cc:92: error: 'Error' was not declared in this scope clientuserperl.cc:92: error: 'e' was not declared in this scope clientuserperl.cc:92: error: initializer expression list treated as compound expression clientuserperl.cc:93: error: expected ',' or ';' before '{' token clientuserperl.cc:115: error: 'Error' has not been declared clientuserperl.cc:138: error: variable or field 'HandleError' declared void clientuserperl.cc:138: error: 'int ClientUserPerl::HandleError' is not a static member of 'class ClientUserPerl' clientuserperl.cc:138: error: 'Error' was not declared in this scope clientuserperl.cc:138: error: 'e' was not declared in this scope clientuserperl.cc:139: error: expected ',' or ';' before '{' token clientuserperl.cc:163: error: variable or field 'InputData' declared void clientuserperl.cc:163: error: 'int ClientUserPerl::InputData' is not a static member of 'class ClientUserPerl' clientuserperl.cc:163: error: 'StrBuf' was not declared in this scope clientuserperl.cc:163: error: 'strbuf' was not declared in this scope clientuserperl.cc:163: error: 'Error' was not declared in this scope clientuserperl.cc:163: error: 'e' was not declared in this scope clientuserperl.cc:163: error: initializer expression list treated as compound expression clientuserperl.cc:164: error: expected ',' or ';' before '{' token clientuserperl.cc:260: error: 'const_char' has not been declared clientuserperl.cc:293: error: variable or field 'OutputStat' declared void clientuserperl.cc:293: error: 'int ClientUserPerl::OutputStat' is not a static member of 'class ClientUserPerl' clientuserperl.cc:293: error: 'StrDict' was not declared in this scope clientuserperl.cc:293: error: 'varList' was not declared in this scope clientuserperl.cc:294: error: expected ',' or ';' before '{' token clientuserperl.cc:369: error: variable or field 'OutputText' declared void clientuserperl.cc:369: error: 'int ClientUserPerl::OutputText' is not a static member of 'class ClientUserPerl' clientuserperl.cc:369: error: 'const_char' was not declared in this scope clientuserperl.cc:369: error: 'data' was not declared in this scope clientuserperl.cc:369: error: expected primary-expression before 'int' clientuserperl.cc:369: error: initializer expression list treated as compound expression clientuserperl.cc:370: error: expected ',' or ';' before '{' token clientuserperl.cc:393: error: variable or field 'OutputBinary' declared void clientuserperl.cc:393: error: 'int ClientUserPerl::OutputBinary' is not a static member of 'class ClientUserPerl' clientuserperl.cc:393: error: 'const_char' was not declared in this scope clientuserperl.cc:393: error: 'data' was not declared in this scope clientuserperl.cc:393: error: expected primary-expression before 'int' clientuserperl.cc:393: error: initializer expression list treated as compound expression clientuserperl.cc:394: error: expected ',' or ';' before '{' token clientuserperl.cc:422: error: expected ',' or '...' before '&' token clientuserperl.cc:423: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.cc: In member function 'virtual void ClientUserPerl::Prompt(int)': clientuserperl.cc:427: error: 'noEcho' was not declared in this scope clientuserperl.cc:429: error: 'ClientUser' has not been declared clientuserperl.cc:429: error: 'msg' was not declared in this scope clientuserperl.cc:429: error: 'rsp' was not declared in this scope clientuserperl.cc:429: error: 'e' was not declared in this scope clientuserperl.cc:441: error: 'msg' was not declared in this scope clientuserperl.cc:449: error: 'rsp' was not declared in this scope clientuserperl.cc: At global scope: clientuserperl.cc:464: error: variable or field 'Diff' declared void clientuserperl.cc:464: error: 'int ClientUserPerl::Diff' is not a static member of 'class ClientUserPerl' clientuserperl.cc:464: error: 'FileSys' was not declared in this scope clientuserperl.cc:464: error: 'f1' was not declared in this scope clientuserperl.cc:464: error: 'FileSys' was not declared in this scope clientuserperl.cc:464: error: 'f2' was not declared in this scope clientuserperl.cc:464: error: expected primary-expression before 'int' clientuserperl.cc:465: error: expected primary-expression before 'char' clientuserperl.cc:465: error: 'Error' was not declared in this scope clientuserperl.cc:465: error: 'e' was not declared in this scope clientuserperl.cc:465: error: initializer expression list treated as compound expression clientuserperl.cc:466: error: expected ',' or ';' before '{' token clientuserperl.cc:566: error: variable or field 'DictToHash' declared void clientuserperl.cc:566: error: 'int ClientUserPerl::DictToHash' is not a static member of 'class ClientUserPerl' clientuserperl.cc:566: error: 'StrDict' was not declared in this scope clientuserperl.cc:566: error: 'd' was not declared in this scope clientuserperl.cc:566: error: expected primary-expression before '*' token clientuserperl.cc:566: error: expected primary-expression before ')' token clientuserperl.cc:566: error: initializer expression list treated as compound expression clientuserperl.cc:567: error: expected ',' or ';' before '{' token clientuserperl.cc:590: error: expected ',' or '...' before '*' token clientuserperl.cc:590: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.cc: In member function 'void ClientUserPerl::SplitKey(int)': clientuserperl.cc:594: error: 'base' was not declared in this scope clientuserperl.cc:594: error: 'key' was not declared in this scope clientuserperl.cc:595: error: assignment of function 'char* index(const char*, int)' clientuserperl.cc:595: error: cannot convert 'const char [1]' to 'char* ()(const char*, int)' in assignment clientuserperl.cc:604: error: request for member 'Set' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc: At global scope: clientuserperl.cc:616: error: expected ',' or '...' before '*' token clientuserperl.cc:616: error: ISO C++ forbids declaration of 'StrPtr' with no type clientuserperl.cc: In member function 'void ClientUserPerl::InsertItem(HV*, int)': clientuserperl.cc:620: error: 'StrBuf' was not declared in this scope clientuserperl.cc:620: error: expected `;' before 'base' clientuserperl.cc:621: error: 'StrRef' was not declared in this scope clientuserperl.cc:621: error: expected `;' before 'comma' clientuserperl.cc:624: error: 'var' was not declared in this scope clientuserperl.cc:624: error: 'val' was not declared in this scope clientuserperl.cc:626: error: 'var' was not declared in this scope clientuserperl.cc:626: error: 'base' was not declared in this scope clientuserperl.cc:629: error: request for member 'Text' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:638: error: comparison between distinct pointer types 'char* (*)(const char*, int)' and 'const char*' lacks a cast clientuserperl.cc:646: error: 'val' was not declared in this scope clientuserperl.cc:666: error: expected `;' before 'msg' clientuserperl.cc:667: error: 'msg' was not declared in this scope clientuserperl.cc:683: error: request for member 'Contains' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:683: error: 'comma' was not declared in this scope clientuserperl.cc:685: error: expected `;' before 'level' clientuserperl.cc:686: error: 'level' was not declared in this scope clientuserperl.cc:686: error: request for member 'Text' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:686: error: request for member 'Text' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:687: error: request for member 'Set' in 'index', which is of non-class type 'char* ()(const char*, int)' clientuserperl.cc:721: error: 'val' was not declared in this scope clientuserperl.cc:723: error: 'val' was not declared in this scope clientuserperl.cc: At global scope: clientuserperl.cc:728: error: 'StrBuf' has not been declared clientuserperl.cc: In member function 'void ClientUserPerl::HashToForm(HV*, int*)': clientuserperl.cc:731: error: 'StrPtr' was not declared in this scope clientuserperl.cc:731: error: 'specdef' was not declared in this scope clientuserperl.cc:736: error: 'varList' was not declared in this scope clientuserperl.cc:752: error: 'SpecDataTable' was not declared in this scope clientuserperl.cc:752: error: expected `;' before 'specData' clientuserperl.cc:753: error: 'Spec' was not declared in this scope clientuserperl.cc:753: error: expected `;' before 's' clientuserperl.cc:762: error: 'specData' was not declared in this scope clientuserperl.cc:765: error: 's' was not declared in this scope clientuserperl.cc:765: error: 'specData' was not declared in this scope clientuserperl.cc:768: error: request for member 'Text' in '* b', which is of non-class type 'int' clientuserperl.cc: In member function 'HV* ClientUserPerl::FlattenHash(HV*)': clientuserperl.cc:794: error: 'StrBuf' was not declared in this scope clientuserperl.cc:794: error: expected `;' before 'msg' clientuserperl.cc:796: error: 'msg' was not declared in this scope clientuserperl.cc:814: error: 'StrBuf' was not declared in this scope clientuserperl.cc:814: error: expected `;' before 'newKey' clientuserperl.cc:823: error: expected `;' before 'msg' clientuserperl.cc:824: error: 'msg' was not declared in this scope clientuserperl.cc:835: error: 'newKey' was not declared in this scope lipo: can't open input file: /var/tmp//ccJg9Mqt.out (No such file or directory) make[1]: *** [clientuserperl.o] Error 1 make: *** [lib/libp4.a] Error 2