This queue is for tickets about the TermReadKey CPAN distribution.

Report information
The Basics
Id:
14447
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
jns [...] gellyfish.co.uk
Requestors:
njh [...] bandsman.co.uk
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
2.30
Fixed in:
(no value)



Subject: Fails to install with Solaris 10 using gcc
[snip] Writing termio/termios section of cchars.h... Done. Checking for sgtty... Sgtty NOT found. Writing sgtty section of cchars.h... Done. /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -noprototypes -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" ReadKey.c cc: unrecognized option `-KPIC' cc: language ildoff not recognized cc: ReadKey.c: linker input file unused because linking not done rm -f blib/arch/auto/Term/ReadKey/ReadKey.so LD_RUN_PATH="" cc -G ReadKey.o -o blib/arch/auto/Term/ReadKey/ReadKey.so cc: ReadKey.o: No such file or directory cc: no input files gmake: *** [blib/arch/auto/Term/ReadKey/ReadKey.so] Error 1 /opt/sfw/bin/gmake -j3 -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Show quoted text
cpan>
[guest - Sat Sep 3 17:23:00 2005]:
Show quoted text
> [snip] > Writing termio/termios section of cchars.h... Done. > Checking for sgtty... > Sgtty NOT found. > Writing sgtty section of cchars.h... Done. > /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -noprototypes > -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap ReadKey.xs > > ReadKey.xsc && mv ReadKey.xsc ReadKey.c > cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 > -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.30\" > -DXS_VERSION=\"2.30\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris- > 64int/CORE" ReadKey.c > cc: unrecognized option `-KPIC' > cc: language ildoff not recognized > cc: ReadKey.c: linker input file unused because linking not done > rm -f blib/arch/auto/Term/ReadKey/ReadKey.so > LD_RUN_PATH="" cc -G ReadKey.o -o > blib/arch/auto/Term/ReadKey/ReadKey.so > cc: ReadKey.o: No such file or directory > cc: no input files > gmake: *** [blib/arch/auto/Term/ReadKey/ReadKey.so] Error 1 > /opt/sfw/bin/gmake -j3 -- NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible >
> cpan>
This looks like you are trying to build the extension with a different C compiler than the one which was used to build perl itself, which is not supported. If you have more than one compiler on the system then you will need to ensure that your setting of PATH is such that you get the correct compiler, otherwise you are going to have to either build the perl yourself with the compiler that you do have or obtain a prebuilt binary of the extension. /J\


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.