IO-Tty-0.03 won't run 'make' on Solaris 8 
Author Message
 IO-Tty-0.03 won't run 'make' on Solaris 8

IO-Tty-0.03 won't run 'make' on Solaris 8
downloaded from www.cpan.org

Running Solaris 8 on an Ultra 30
gcc 2.95.2
perl 5.005_03

perl Makefile.PL works flawlessly

then I run 'make' and it blows up:

# /usr/ccs/bin/make
cc -c   -xO3 -xdepend     -DVERSION=\"0.03\"  -DXS_VERSION=\"0.03\" -KPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE -DPTYRANGE0=\"pqr\"
-DPTYRANGE1=\"0123456789abcdef\" -DPTYTEMPLATE=\"/dev/ptyXY\" -DHAS_TTYNAME
Tty.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: Tty.c: linker input file unused since 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
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/IO/Tty/Tty.so'

Any idea what version of c compiler is being used here?

Your help would be greatly appreciated.

Please also e-mail me directly as well as posting to this group.

Thanks in advance.

ken



Sun, 22 Dec 2002 03:00:00 GMT  
 IO-Tty-0.03 won't run 'make' on Solaris 8
Hopefully this is going be a new FAQ item soon.
Sun's bundled Perl was built with its non-bundled compiler.
Perl modules should be built with the same compiler used to build
Perl itself. You're probably building with gcc.
The solution is to use gcc to build your own Perl from source.
John



Sun, 05 Jan 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Making a user's tty's STDOUT

2. IO-Tty-0.03 on HPUX 10.20

3. IO-Tty-0.03 on alpha OSF1

4. IO-Tty-0.03 on HPUX 10.20

5. perl won't run(can't set locale)

6. Can't locate loadable object for module IO::Tty in

7. IPC::Run won't run ...

8. Please Help:My script runs on win32, it won't run on Unix

9. My script runs on win32, it won't run on Unix

10. Please Help: My script runs on win32, it won't run on Unix

11. Problem with $/ = '' while reading form TTY

12. 'nmake' under Win'95

 

 
Powered by phpBB® Forum Software