On Mon Feb 27 14:27:50 2006, guest wrote:
Show quoted text> On Thu Apr 07 12:25:03 2005, guest wrote:
> > The build script tries to use the Sun's C compiler on systems which
> > have gcc installed, even if the CC environment variable has been
set
Show quoted text> > up.
> >
> > bash-3.00# CC=/opt/sfw/bin/gcc PATH=$PATH:/usr/ccs/bin:/opt/sfw/bin
> > perl -eshell -MCPAN
> >
> > cpan shell -- CPAN exploration and modules installation (v1.7601)
> > ReadLine support enabled
> >
> > Can't ioctl TIOCGETP: Illegal seek
> > Consider installing Term::ReadKey from CPAN site nearby
> > at
http://www.perl.com/CPAN
> > Or use
> > perl -MCPAN -e shell
> > to reach CPAN. Falling back to 'stty'.
> > If you do not want to see this warning, set
> > PERL_READLINE_NOWARN
> > in your environment.
> > cpan> install Term::ReadKey
> > CPAN: Storable loaded ok
> > Going to read /.cpan/Metadata
> > Database was generated on Thu, 07 Apr 2005 05:54:02 GMT
> > Running install for module Term::ReadKey
> > Running make for J/JS/JSTOWE/TermReadKey-2.30.tar.gz
> > CPAN: Digest::MD5 loaded ok
> > Checksum for /.cpan/sources/authors/id/J/JS/JSTOWE/TermReadKey-
> > 2.30.tar.gz ok
> > Scanning cache /.cpan/build for sizes
> > x TermReadKey-2.30, 0 bytes, 0 tape blocks
> > x TermReadKey-2.30/genchars.pl, 10688 bytes, 21 tape blocks
> > x TermReadKey-2.30/Makefile.PL, 1222 bytes, 3 tape blocks
> > x TermReadKey-2.30/Configure.pm, 27633 bytes, 54 tape blocks
> > x TermReadKey-2.30/test.pl, 7696 bytes, 16 tape blocks
> > x TermReadKey-2.30/ReadKey.pm, 16187 bytes, 32 tape blocks
> > x TermReadKey-2.30/META.yml, 245 bytes, 1 tape blocks
> > x TermReadKey-2.30/ReadKey.xs, 41938 bytes, 82 tape blocks
> > x TermReadKey-2.30/ppport.h, 15782 bytes, 31 tape blocks
> > x TermReadKey-2.30/MANIFEST, 170 bytes, 1 tape blocks
> > x TermReadKey-2.30/README, 6357 bytes, 13 tape blocks
> > Removing previously used /.cpan/build/TermReadKey-2.30
> >
> > CPAN.pm: Going to build J/JS/JSTOWE/TermReadKey-2.30.tar.gz
> >
> > Checking if your kit is complete...
> > Looks good
> > Writing Makefile for Term::ReadKey
> > /usr/bin/perl -I/usr/perl5/5.8.4/lib genchars.pl
> >
> > Writing termio/termios section of cchars.h... Done.
> > Checking for sgtty...
> > Running Mkbootstrap for Term::ReadKey ()
> > Sgtty NOT found.
> > Writing sgtty section of cchars.h... Done.
> > /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -noprototypes
> > -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap ReadKey.xs >
> > ReadKey.xsc && mv ReadKey.xsc ReadKey.c
> > chmod 644 ReadKey.bs
> > cp ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs
> > chmod 644 blib/arch/auto/Term/ReadKey/ReadKey.bs
> > cp ReadKey.pm blib/lib/Term/ReadKey.pm
> > AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)
> > cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8
> > -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.30\"
> > -DXS_VERSION=\"2.30\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-
> > 64int/CORE" ReadKey.c
> > /bin/sh: cc: not found
> > gmake: *** [ReadKey.o] Error 1
> > /opt/sfw/bin/gmake -j3 -- NOT OK
> > Running make test
> > Can't test without successful make
> > Running make install
> > make had returned bad status, install seems impossible
> >
> > cpan>
>
>
> Is this issue still unresolved? I am having the same issue on
Solaris
Show quoted text> 10 and I cannot find a resolution for this problem ( here is the
output
Show quoted text> from my attempt ):
>
> Terminal does not support AddHistory.
>
> cpan shell -- CPAN exploration and modules installation (v1.7601)
> ReadLine support available (try 'install Bundle::CPAN')
>
> cpan> install Term::ReadKey
> CPAN: Storable loaded ok
> Going to read /.cpan/Metadata
> Database was generated on Mon, 27 Feb 2006 10:17:13 GMT
> Running install for module Term::ReadKey
> Running make for J/JS/JSTOWE/TermReadKey-2.30.tar.gz
> CPAN: Digest::MD5 loaded ok
> Checksum for
> /.cpan/sources/authors/id/J/JS/JSTOWE/TermReadKey-2.30.tar.gz ok
> Scanning cache /.cpan/build for sizes
> x TermReadKey-2.30, 0 bytes, 0 tape blocks
> x TermReadKey-2.30/genchars.pl, 10688 bytes, 21 tape blocks
> x TermReadKey-2.30/Makefile.PL, 1222 bytes, 3 tape blocks
> x TermReadKey-2.30/Configure.pm, 27633 bytes, 54 tape blocks
> x TermReadKey-2.30/test.pl, 7696 bytes, 16 tape blocks
> x TermReadKey-2.30/ReadKey.pm, 16187 bytes, 32 tape blocks
> x TermReadKey-2.30/META.yml, 245 bytes, 1 tape blocks
> x TermReadKey-2.30/ReadKey.xs, 41938 bytes, 82 tape blocks
> x TermReadKey-2.30/ppport.h, 15782 bytes, 31 tape blocks
> x TermReadKey-2.30/MANIFEST, 170 bytes, 1 tape blocks
> x TermReadKey-2.30/README, 6357 bytes, 13 tape blocks
> Removing previously used /.cpan/build/TermReadKey-2.30
>
> CPAN.pm: Going to build J/JS/JSTOWE/TermReadKey-2.30.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/local/bin/perl -I/usr/local/lib/perl5/5.8.7 genchars.pl
>
> Writing termio/termios section of cchars.h... Done.
> Checking for sgtty...
> Sgtty found.
> Checking sgtty...
> ltchars structure found.
> Checking symbols
> t_werasc (ERASEWORD) found in ltchars
> t_rprntc (REPRINT) found in ltchars
> t_dsuspc (DSUSPEND) found in ltchars
> t_flushc (DISCARD) found in ltchars
> t_suspc (SUSPEND) found in ltchars
> t_lnextc (QUOTENEXT) found in ltchars
> Writing sgtty section of cchars.h... Done.
> /usr/local/bin/perl /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp
> -noprototypes -typemap /usr/local/lib/perl5/5.8.7/ExtUtils/typemap
> ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c
> gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -pipe -
I/usr/local/include
Show quoted text> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.30\"
> -DXS_VERSION=\"2.30\" -fPIC
> "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" ReadKey.c
> In file included from /usr/include/sys/signal.h:34,
> from /usr/include/signal.h:26,
> from
> /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/unixish.h:106,
> from
> /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/perl.h:2220,
> from ReadKey.xs:4:
> /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
> /usr/include/sys/siginfo.h:292: error: parse error before '}' token
> /usr/include/sys/siginfo.h:294: error: parse error before '}' token
> /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
> /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
> /usr/include/sys/siginfo.h:261: error: previous declaration of
`__proc'
Show quoted text> /usr/include/sys/siginfo.h:398: error: conflicting types for
`__fault'
Show quoted text> /usr/include/sys/siginfo.h:267: error: previous declaration of
`__fault'
Show quoted text> /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
> /usr/include/sys/siginfo.h:273: error: previous declaration of
`__file'
Show quoted text> /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
> /usr/include/sys/siginfo.h:287: error: previous declaration of
`__prof'
Show quoted text> /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
> /usr/include/sys/siginfo.h:291: error: previous declaration of
`__rctl'
Show quoted text> /usr/include/sys/siginfo.h:426: error: parse error before '}' token
> /usr/include/sys/siginfo.h:428: error: parse error before '}' token
> /usr/include/sys/siginfo.h:432: error: parse error
before "k_siginfo_t"
Show quoted text> /usr/include/sys/siginfo.h:437: error: parse error before '}' token
> In file included from /usr/include/signal.h:26,
> from
> /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/unixish.h:106,
> from
> /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/perl.h:2220,
> from ReadKey.xs:4:
> /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
> In file included from
> /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/unixish.h:106,
> from
> /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/perl.h:2220,
> from ReadKey.xs:4:
> /usr/include/signal.h:111: error: parse error before "siginfo_t"
> /usr/include/signal.h:113: error: parse error before "siginfo_t"
> make: *** [ReadKey.o] Error 1
> /usr/local/bin/make -- NOT OK
> Running make test
> Can't test without successful make
> Running make install
> make had returned bad status, install seems impossible
>
> I apologize in advance as this is not my area of expertise, but any
help
Show quoted text> on this would be greatly appreciated!
>
> Thanks,
> Doug Staub
> rstaub@arrow.com