Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
using perl -V I've ascertained that the installed default perl was compiled using the Solaris C/C++ compiler unsurprisingly. This seems to be the cause of the problem as we don't have that installed but use GCC instead. Anybody any ideas, I'm constrained to use what's already on the box, strangely IO::Stty has installed fine. TIA# make mkdir blib mkdir blib/lib mkdir blib/lib/IO mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/IO mkdir blib/arch/auto/IO/Tty mkdir blib/lib/auto mkdir blib/lib/auto/IO mkdir blib/lib/auto/IO/Tty mkdir blib/man3 cp Pty.pm blib/lib/IO/Pty.pm cp Tty.pm blib/lib/IO/Tty.pm cp Tty/Constant.pm blib/lib/IO/Tty/Constant.pm /usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 / +usr/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/perl5/5.00503/ExtUti +ls/typemap Tty.xs >xstmp.c && mv xstmp.c Tty.c cc -c -xO3 -xdepend -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\" -KPI +C -I/usr/perl5/5.00503/sun4-solaris/CORE -DHAVE_DEV_PTMX -DHAVE_GRANT +PT -DHAVE_PTSNAME -DHAVE_SIGACTION -DHAVE_STRLCPY -DHAVE_SYS_STROPTS_ +H -DHAVE_TERMIOS_H -DHAVE_TERMIO_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT Tty +.c cc: unrecognized option `-KPIC' cc: language depend not recognized cc: Tty.c: linker input file unused because linking not done Running Mkbootstrap for IO::Tty () chmod 644 Tty.bs LD_RUN_PATH="" cc -o blib/arch/auto/IO/Tty/Tty.so -G Tty.o cc: Tty.o: No such file or directory cc: No input files make: *** [blib/arch/auto/IO/Tty/Tty.so] Error 1 #
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Compiling IO:Tty - arrggh!
by steves (Curate) on Feb 12, 2003 at 16:08 UTC | |
by Anonymous Monk on Feb 12, 2003 at 17:14 UTC | |
|
Re: Compiling IO:Tty - arrggh!
by jacques (Priest) on Feb 12, 2003 at 17:44 UTC |