develooper Front page | perl.perl5.porters | Postings from June 2010

Time::Piece g++ build failure

Thread Next
George Greer
June 29, 2010 19:45
Time::Piece g++ build failure
Message ID:
$ ./Configure -des -Dusedevel -Dcc=g++ && make
Making all in cpan/Time-Piece
  make all PERL_CORE=1 LIBPERL_A=libperl.a LINKTYPE=dynamic
make[1]: Entering directory `/home/tivrusky/t/p5/cpan/Time-Piece'
cp ../../lib/Time/
cp ../../lib/Time/
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp 
-typemap ../../lib/ExtUtils/typemap  Piece.xs > Piece.xsc && mv Piece.xsc 
g++ -c   -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include 
-DXS_VERSION=\"1.20_01\" -fPIC "-I../.."   Piece.c
Piece.xs: In function ¡char* _strptime(const char*, const char*, tm*)¢:
Piece.xs:906: error: invalid conversion from ¡void*¢ to ¡char*¢
make[1]: *** [Piece.o] Error 1
make[1]: Leaving directory `/home/tivrusky/t/p5/cpan/Time-Piece'
Unsuccessful make(cpan/Time-Piece): code=512 at line 449.
make: *** [lib/auto/Time/Piece/] Error 25

$ git describe

PS - My Ubuntu Linux smoker will be under maintenance for a couple days 
while I figure out how to usefully make Test::Smoke run "test.valgrind" 
instead and then have my script rsync the reports to my web server. 
Also, I'm dropping gcc smoking in the interest of time and since everybody 
else probably does that anyway, while keeping g++ and clang.

George Greer
Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About