stat(): No such file or directory at Makefile.PL line 78 Note (probably harmless): No library found for -lclient Note (probably harmless): No library found for -lrpc Note (probably harmless): No library found for -lsupp 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]: Writing Makefile for P4::Client::lib Writing Makefile for P4::Client cp Client.pm blib/lib/P4/Client.pm AutoSplitting blib/lib/P4/Client.pm (blib/lib/auto/P4/Client) cp UI.pm blib/lib/P4/UI.pm cp example.pl blib/lib/P4/example.pl cd lib && make make[1]: Entering directory `/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/P4-Client/lib' gcc -c -I -Ilib -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/hpux32 -DUINT32_MAX_BROKEN -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/home/cpanrun/ia64/build/5.6.1/lib/5.6.1/IA64.ARCHREV_0-thread-multi/CORE clientuserperl.cc clientuserperl.cc:38:23: clientapi.h: No such file or directory clientuserperl.cc:39:18: spec.h: No such file or directory clientuserperl.cc:40:18: diff.h: No such file or directory In file included from clientuserperl.cc:81: clientuserperl.h:33: error: expected class-name before '{' token clientuserperl.h:37: error: `Error' has not been declared clientuserperl.h:37: error: ISO C++ forbids declaration of `e' with no type clientuserperl.h:38: error: `Error' has not been declared clientuserperl.h:38: error: ISO C++ forbids declaration of `err' with no type clientuserperl.h:39: error: `StrBuf' has not been declared clientuserperl.h:39: error: `Error' has not been declared clientuserperl.h:39: error: ISO C++ forbids declaration of `strbuf' with no type clientuserperl.h:39: error: ISO C++ forbids declaration of `e' with no type clientuserperl.h:41: error: `const_char' has not been declared clientuserperl.h:41: error: ISO C++ forbids declaration of `data' with no type clientuserperl.h:42: error: `StrDict' has not been declared clientuserperl.h:42: error: ISO C++ forbids declaration of `varList' with no type clientuserperl.h:43: error: `const_char' has not been declared clientuserperl.h:43: error: ISO C++ forbids declaration of `data' with no type clientuserperl.h:44: error: `const_char' has not been declared clientuserperl.h:44: error: ISO C++ forbids declaration of `data' with no type 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:47: error: ISO C++ forbids declaration of `f1' with no type clientuserperl.h:47: error: ISO C++ forbids declaration of `e' with no type 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:49: error: ISO C++ forbids declaration of `f1' with no type clientuserperl.h:49: error: ISO C++ forbids declaration of `f2' with no type clientuserperl.h:49: error: ISO C++ forbids declaration of `e' with no type clientuserperl.h:55: error: `StrDict' has not been declared clientuserperl.h:55: error: ISO C++ forbids declaration of `d' with no type 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.h:58: error: ISO C++ forbids declaration of `b' with no type 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:93: 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:116: error: ISO C++ forbids declaration of `e' with no type 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:164: 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:261: error: ISO C++ forbids declaration of `data' with no type 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:370: 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:394: 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:424: 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' undeclared (first use this function) clientuserperl.cc:427: error: (Each undeclared identifier is reported only once for each function it appears in.) clientuserperl.cc:429: error: `ClientUser' has not been declared clientuserperl.cc:429: error: `msg' undeclared (first use this function) clientuserperl.cc:429: error: `rsp' undeclared (first use this function) clientuserperl.cc:429: error: `e' undeclared (first use this function) 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:466: 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:567: 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:591: error: ISO C++ forbids declaration of `StrPtr' with no type clientuserperl.cc: In member function `void ClientUserPerl::SplitKey(int)': clientuserperl.cc:594: error: `base' undeclared (first use this function) clientuserperl.cc:594: error: `key' undeclared (first use this function) clientuserperl.cc:595: error: `index' undeclared (first use this function) clientuserperl.cc: At global scope: clientuserperl.cc:616: error: expected `,' or `...' before '*' token clientuserperl.cc:617: 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' undeclared (first use this function) clientuserperl.cc:620: error: expected `;' before "base" clientuserperl.cc:621: error: `StrRef' undeclared (first use this function) clientuserperl.cc:621: error: expected `;' before "comma" clientuserperl.cc:624: error: `var' undeclared (first use this function) clientuserperl.cc:624: error: `val' undeclared (first use this function) clientuserperl.cc:626: error: `base' undeclared (first use this function) clientuserperl.cc:626: error: `index' undeclared (first use this function) clientuserperl.cc:666: error: expected `;' before "msg" clientuserperl.cc:667: error: `msg' undeclared (first use this function) clientuserperl.cc:683: error: `comma' undeclared (first use this function) clientuserperl.cc:685: error: expected `;' before "level" clientuserperl.cc:686: error: `level' undeclared (first use this function) clientuserperl.cc: At global scope: clientuserperl.cc:728: error: `StrBuf' has not been declared clientuserperl.cc:729: error: ISO C++ forbids declaration of `b' with no type clientuserperl.cc: In member function `void ClientUserPerl::HashToForm(HV*, int*)': clientuserperl.cc:731: error: `StrPtr' undeclared (first use this function) clientuserperl.cc:731: error: `specdef' undeclared (first use this function) clientuserperl.cc:736: error: `varList' undeclared (first use this function) clientuserperl.cc:752: error: `SpecDataTable' undeclared (first use this function) clientuserperl.cc:752: error: expected `;' before "specData" clientuserperl.cc:753: error: `Spec' undeclared (first use this function) clientuserperl.cc:753: error: expected `;' before "s" clientuserperl.cc:762: error: `specData' undeclared (first use this function) clientuserperl.cc:765: error: `s' undeclared (first use this function) 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' undeclared (first use this function) clientuserperl.cc:794: error: expected `;' before "msg" clientuserperl.cc:796: error: `msg' undeclared (first use this function) clientuserperl.cc:814: error: expected `;' before "newKey" clientuserperl.cc:823: error: expected `;' before "msg" clientuserperl.cc:835: error: `newKey' undeclared (first use this function) make[1]: *** [clientuserperl.o] Error 1 make[1]: Leaving directory `/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/P4-Client/lib' make: *** [lib/libp4.a] Error 2