From: Jason <da...@gm...> - 2008-08-27 23:27:11
|
Hello, I am trying to compile IO::Tty & IO::Pty so that I may compile the Expect module. Unfortunately, I cannot seem to get past the perl Makefile.PL for IO::Tty. I am running Solaris 10 with Perl 5.8.4 which was compiled using suntools/cc. I'm using perlgcc to compile modules with gcc, because cc is not available on the system. When I run perlgcc Makefile.PL I see: Now let's see what we can find out about your system (logfiles of failing tests are available in the conf/ dir)... but then it hangs right there. I've let it sit for up to an hour so far, then when I kill the process (control-C) I get the following: 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). gcc is in my PATH, I have permissions (attempting this compile as root), and it can create binaries. (I've used it numerous times prior to this). /conf/compilerok.log is an empty file. Are there any special requirements needed to get this compiled on Solaris 10, or does it just not work? Thanks in advance, ~Jason |
From: Austin S. <te...@of...> - 2008-08-28 05:50:00
|
On Wed, Aug 27, 2008 at 04:27:09PM -0700, Jason wrote: > I am running Solaris 10 with Perl 5.8.4 which was compiled using > suntools/cc. I'm using perlgcc to compile modules with gcc, because cc is > not available on the system. > > When I run perlgcc Makefile.PL I see: > > Now let's see what we can find out about your system > (logfiles of failing tests are available in the conf/ dir)... > > but then it hangs right there. I would truss -f perlgcc Makefile.PL and see what it's up to. Sounds pretty strange otherwise. you may want the -o outfile flag to truss if it spews too crap much before getting to the interesting bits. Here's a little thought. Maybe it's doing something like gcc -E - but not getting input for some reason. That would explain the hanging and messages w/ lack of error. Of course it doesn't explain why it would be doing that in the first place. Austin > I've let it sit for up to an hour so far, > then when I kill the process (control-C) I get the following: > > 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). > > > gcc is in my PATH, I have permissions (attempting this compile as root), and > it can create binaries. (I've used it numerous times prior to this). > > /conf/compilerok.log is an empty file. > > Are there any special requirements needed to get this compiled on Solaris > 10, or does it just not work? > > Thanks in advance, > > ~Jason > > > !DSPAM:48b5e2d2105561410093335! > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > !DSPAM:48b5e2d2105561410093335! > _______________________________________________ > Expectperl-discuss mailing list > Exp...@li... > https://lists.sourceforge.net/lists/listinfo/expectperl-discuss > > > !DSPAM:48b5e2d2105561410093335! |
From: Roland G. <rgi...@cp...> - 2008-08-28 10:16:49
|
From past experience I know that the solaris perl packages always create troubles. I would recommend to build perl by yourself, using gcc and the latest v5.8 source as the earlier 5.8 versions have problems regarding 64bit. I'm pretty sure that IO::Tty then just works... ;-) Regards, Roland Jason wrote: > Hello, > > I am trying to compile IO::Tty & IO::Pty so that I may compile the > Expect module. Unfortunately, I cannot seem to get past the perl > Makefile.PL for IO::Tty. > > I am running Solaris 10 with Perl 5.8.4 which was compiled using > suntools/cc. I'm using perlgcc to compile modules with gcc, because cc > is not available on the system. > > When I run perlgcc Makefile.PL I see: > > Now let's see what we can find out about your system > (logfiles of failing tests are available in the conf/ dir)... > > but then it hangs right there. I've let it sit for up to an hour so far, > then when I kill the process (control-C) I get the following: > > 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). > > > gcc is in my PATH, I have permissions (attempting this compile as root), > and it can create binaries. (I've used it numerous times prior to this). > > /conf/compilerok.log is an empty file. > > Are there any special requirements needed to get this compiled on > Solaris 10, or does it just not work? > > Thanks in advance, > > ~Jason > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Expectperl-discuss mailing list > Exp...@li... > https://lists.sourceforge.net/lists/listinfo/expectperl-discuss |