I'm trying to prepare the makefile for IO::Tty to compile. Yet when I run the perl Makefile.PL I receive errors immediately:
SERVERx:IO-Tty-1.10$ /usr/local/bin/perl Makefile.PL `cat ../install`
Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/ dir)...
ERROR: cannot run the configured compiler 'gcc'
(see conf/compilerok.log). Suggestions:
1) The complier 'gcc' is not in your PATH. Add it
to the PATH and try again. OR
2) The compiler isn't installed on your system. Install it. OR
3) You only have a different compiler installed (e.g. 'gcc').
Either fix the compiler config in the perl Config.pm
or install a perl that was built with the right compiler
(you could build perl yourself with the available compiler).
Note: this is a system-administration issue, please ask your local
admin for help. Thank you.
SERVERx:IO-Tty-1.10$ which gcc
/usr/local/bin/gcc
SERVERx:IO-Tty-1.10$ /usr/local/bin/gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.1/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.1
SERVERx:IO-Tty-1.10$ /usr/local/bin/perl -v
This is perl, v5.8.8 built for sun4-solaris
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
SERVERx:IO-Tty-1.10$
SERVERx:IO-Tty-1.10$ uname -a
SunOS SERVERx 5.8 Generic_108528-23 sun4u sparc SUNW,UltraAX-i2
I tried the exact same sequence of commands on another older server running much older version of gcc and it works fine. Can someone let me know what I might be doing wrong?