> ----- Original Message -----
> From: "JR Miller" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, July 25, 2004 6:28 AM
> Subject: Errors installing modules on Solaris 9
>
>
>
>>New to loading PERL modules and can't figure this one out.  Running
>
> Solaris
>
>>9 with current patches, PERL is v5.6.1 built for sun4-solaris-64int.  Most
>>modules I try to install bomb out with the same errors as the following
>>ERROR TEXT.  Using gmake and have installed gcc as well (both are in my
>>PATH).  Are there some other environment variables I'm missing?  Been
>
> trying
>
>>google searches, but keep coming up short.
>>
>>Thanks in advance,
>>
>>-JR Miller
>>
>>ERROR TEXT:
>>
>>
>>cpan> install Term::ReadKey
>>Going to read /.cpan/sources/authors/01mailrc.txt.gz
>>Going to read /.cpan/sources/modules/02packages.details.txt.gz
>>  Database was generated on Sat, 24 Jul 2004 21:17:27 GMT
>>  HTTP::Date not available
>>Going to read /.cpan/sources/modules/03modlist.data.gz
>>Running install for module Term::ReadKey
>>Running make for J/JS/JSTOWE/TermReadKey-2.21.tar.gz
>>
>>  CPAN: MD5 security checks disabled because Digest::MD5 not installed.
>>  Please consider installing the Digest::MD5 module.
>>
>>Scanning cache /.cpan/build for sizes
>>x TermReadKey-2.21, 0 bytes, 0 tape blocks
>>x TermReadKey-2.21/genchars.pl, 10688 bytes, 21 tape blocks
>>x TermReadKey-2.21/README, 6346 bytes, 13 tape blocks
>>x TermReadKey-2.21/MANIFEST, 92 bytes, 1 tape blocks
>>x TermReadKey-2.21/test.pl, 6871 bytes, 14 tape blocks
>>x TermReadKey-2.21/ReadKey.pm, 15489 bytes, 31 tape blocks
>>x TermReadKey-2.21/Makefile.PL, 1222 bytes, 3 tape blocks
>>x TermReadKey-2.21/Configure.pm, 27633 bytes, 54 tape blocks
>>x TermReadKey-2.21/ppport.h, 11683 bytes, 23 tape blocks
>>x TermReadKey-2.21/ReadKey.xs, 41600 bytes, 82 tape blocks
>>Removing previously used /.cpan/build/TermReadKey-2.21
>>
>>  CPAN.pm: Going to build J/JS/JSTOWE/TermReadKey-2.21.tar.gz
>>
>>Checking if your kit is complete...
>>Looks good
>>Writing Makefile for Term::ReadKey
>>cp ReadKey.pm blib/lib/Term/ReadKey.pm
>>AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)
>>/usr/bin/perl -I/usr/perl5/5.6.1/lib genchars.pl
>>
>>Writing termio/termios section of cchars.h... Done.
>>Checking for sgtty...
>>        Sgtty NOT found.
>>Writing sgtty section of cchars.h... Done.
>>
>
>
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int -I/usr/perl5/5.6.1/l
>
>>ib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -noprototypes -typemap
>>/usr/perl5/5.6.1/lib/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv
>>ReadKey.xsc ReadKey.c
>>
>
>  -c  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend   -DVERSION=
>
>
\"2.21\" -DXS_VERSION=\"2.21\" -KPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64i
>
>>nt/CORE  ReadKey.c
>>gmake: cc: Command not found
>>gmake: *** [ReadKey.o] Error 127
>>  /opt/sfw/bin/gmake  -- NOT OK
>>Running make test
>>  Can't test without successful make
>>Running make install
>>  make had returned bad status, install seems impossible
>>
>
>
>
> ---

 > -----Original Message-----
 > From: Eliezer Ramm [mailto:[EMAIL PROTECTED]
 > Sent: Sunday, July 25, 2004 06:00
 > To: JR Miller
 > Subject: Re: Errors installing modules on Solaris 9
 >
 >
 > a) are you running as root ?
 > b) is make, cc, in your path ?
 >
 > eramm

JR Miller wrote:

 > Yes, I am running as root.  gmake and gcc are in the path, tested this
 > before trying the install.
 >
 > Thanks,
 >
 > -JR Miller
 >

[Note: I rearranged this email to avoid the dreaded "top-posting" that
had been started.

JR,

gcc may be on your path, but look closely at the error:

gmake: cc: Command not found

It is trying to use cc, and not gcc.

Dalton


--

Yeah I noticed that.  I do not have cc only gcc.  I linked gcc to cc but
still get errors, although the errors are basically complaining about the
complie options.  I suppose this makes sense, since they are different.  It
seems as if there is a variable thats sets the compiler option, cc or gcc, I
just cannot find it.

Thanks,

-JR Miller


--




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to