Subject: | Problems installing IO-Tty-1.08 |
Date: | Fri, 9 Oct 2009 17:46:47 -0300 |
To: | bug-IO-Tty [...] rt.cpan.org |
From: | Sergio Escudero <saeproductions [...] gmail.com> |
Estimated, I'm having some problems installing IO-Tty-1.08 module of Perl.
Could you help me please to resolve this one?
Here I'm attaching the information:
root@sdp1 # uname -a
SunOS sdp1 5.10 Generic_137111-06 sun4u sparc SUNW,Netra-T12
root@sdp1 #
root@sdp1 #
root@sdp1 # perl -v
This is perl, v5.8.4 built for sun4-solaris-64int
(with 31 registered patches, see perl -V for more detail)
Copyright 1987-2004, 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.com/, the Perl Home Page.
root@sdp1 #
root@sdp1 #
root@sdp1 # gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
root@sdp1 #
root@sdp1 #
root@sdp1 # cc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
root@sdp1 #
root@sdp1 #
root@sdp1 # perl Makefile.PL
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 'cc'
(see conf/compilerok.log). Suggestions:
1) The complier 'cc' 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.
root@sdp1 #
root@sdp1 #
root@sdp1 # $PATH
bash:
/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Netra-T12/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin:/opt/CTEact/bin:/usr/local/bin:/usr/ucb:
No such file or directory
root@sdp1 #
root@sdp1 # which cc
/usr/ucb/cc
root@sdp1 # which gcc
/usr/local/bin/gcc
root@sdp1 #
root@sdp1 # more conf/compilerok.log
cc: language arch=v8 not recognized
ld: fatal: file compilerok.c: unknown file type
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status
root@sdp1 #
root@sdp1 # perl Makefile.PL CC=gcc
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 'cc'
(see conf/compilerok.log). Suggestions:
1) The complier 'cc' 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.
root@sdp1 #
root@sdp1 # pwd
/export/home/sae/IO-Tty-1.08
root@sdp1 # ls
ChangeLog META.yml Pty.pm Tty.pm conf try
MANIFEST Makefile.PL README Tty.xs test.pl xssubs.c
Thanks in advance.
Best regards.
Sergio