Skip Menu |

This queue is for tickets about the TermReadKey CPAN distribution.

Report information
The Basics
Id: 12185
Status: rejected
Priority: 0/
Queue: TermReadKey

People
Owner: jns [...] gellyfish.co.uk
Requestors: njh [...] bandsman.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.30
Fixed in: (no value)



Subject: TermReadKey 2.30 Fails to Build on Solaris 2.10
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 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. Show quoted text
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 Show quoted text
cpan>
[guest - Thu Apr 7 12:25:03 2005]: Show quoted text
> 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 > up. >
I'm guessing that you are using a precompiled Perl that was made with the Sun C compiler, correct? The Makefile.PL will always attempt to use the compiler with which the Perl was made - this is stored in the Config.pm in the perl library directories: you can see this by doing perl -V . Even if you do succesfully persuade the Makefile to use a different C compiler to build the module it is likely that the module itself will not work where the two compilers have a different runtime library as perl itself and the module will not be able to share some of the runtime defined objects (such as filehandles and the like). If of course you still believe there is something wrong, please add to this ticket the output of perl -V Thanks Show quoted text
> 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>
On Gio. 07 Apr. 2005 12:42:59, JSTOWE wrote: Show quoted text
> [guest - Thu Apr 7 12:25:03 2005]: >
> > 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. > >
> > I'm guessing that you are using a precompiled Perl that was made with > the Sun C compiler, correct? The Makefile.PL will always attempt to
use Show quoted text
> the compiler with which the Perl was made - this is stored in the > Config.pm in the perl library directories: you can see this by doing > perl -V . > > Even if you do succesfully persuade the Makefile to use a different C > compiler to build the module it is likely that the module itself will > not work where the two compilers have a different runtime library as > perl itself and the module will not be able to share some of the
runtime Show quoted text
> defined objects (such as filehandles and the like). > > If of course you still believe there is something wrong, please add
to Show quoted text
> this ticket the output of perl -V > > Thanks >
> > 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>
> >
From: rstaub [...] arrow.com
On Thu Apr 07 12:25:03 2005, guest wrote: Show quoted text
> 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 > 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 10 and I cannot find a resolution for this problem ( here is the output from my attempt ): Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.7601) ReadLine support available (try 'install Bundle::CPAN') Show quoted text
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 -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' /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /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" /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 on this would be greatly appreciated! Thanks, Doug Staub rstaub@arrow.com
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 > > 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 > 10 and I cannot find a resolution for this problem ( here is the output > 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 > -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' > /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' > /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' > /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' > /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' > /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' > /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' > /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' > /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' > /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" > /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 > on this would be greatly appreciated! > > Thanks, > Doug Staub > rstaub@arrow.com
On Mon Feb 27 14:27:50 2006, guest wrote: Show quoted text
> > > Is this issue still unresolved? I am having the same issue on Solaris > 10 and I cannot find a resolution for this problem ( here is the output > from my attempt ): >
It wasn't an issue with Term::ReadKey in the first place, it was with the build environment. Show quoted text
> 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 > -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"
You have a broken or misinstalled C compiler and/or library files. All of these errors are actually in your system include files and not in the code of Term::ReadKey. You should check that you are compiling the module with the same compiler that was used to compile the perl. It looks like you are using the wrong header files for some reason, also the -B/usr/ccs/bin flag to the compiler also looks suspicious. The full output from "perl -V" will probably indicate the source of the problem. BUt I don't have a solaris system to test this on.
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
On Mon Jun 26 15:10:43 2006, guest wrote: Show quoted text
> On Mon Feb 27 14:27:50 2006, guest wrote:
> > 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
> > > 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
> > 10 and I cannot find a resolution for this problem ( here is the
> output
> > from my attempt ):
This is not an *issue* with Term::ReadKey at all, the build environment is broken and I am pretty sure that you would find the same problem with any module that requires a C compiler. You probably want to use the Solaris::PerlGcc tool to attempt to build the module though I can't vouch for it as I don't have Solaris to test this on.
Subject: Re: [rt.cpan.org #12185] TermReadKey 2.30 Fails to Build on Solaris 2.10
Date: Tue, 27 Jun 2006 22:06:57 +0100
To: bug-TermReadKey [...] rt.cpan.org
From: Nigel Horne <njh [...] bandsman.co.uk>
Jonathan Stowe via RT wrote: Show quoted text
> This is not an *issue* with Term::ReadKey at all, the build environment > is broken and I am pretty sure that you would find the same problem with > any module that requires a C compiler. >
It is a problem with Term::ReadKey's makefile ignoring the value of CC in the environment, it is therefore a problem with Term::ReadKey.

Message body is not shown because sender requested not to inline it.

On Tue Jun 27 17:07:33 2006, njh@bandsman.co.uk wrote: Show quoted text
> Jonathan Stowe via RT wrote:
> > This is not an *issue* with Term::ReadKey at all, the build environment > > is broken and I am pretty sure that you would find the same problem with > > any module that requires a C compiler. > >
> It is a problem with Term::ReadKey's makefile ignoring the value of CC > in the environment, > it is therefore a problem with Term::ReadKey.
No, it isn't. Perl will build modules with the same C compiler as *it* was built with. This is by design. This means the modules actually work. Term::ReadKey's makefile is not special and not at fault. This is how perl module builds work. You need to either install the compiler your perl was built with, or grab an alternative perl package that was built with the perl binary you want to use (I believe the sunfreeware.com perl package is built with gcc, which would then allow you to compile modules with gcc). THIS IS NOT A PROBLEM WITH Term::ReadKey. IT IS A PROBLEM WITH THE WAY YOUR PERL AND BUIL ENVIRONMENT ARE SET UP.
On Tue Jun 27 17:07:33 2006, njh@bandsman.co.uk wrote: Show quoted text
> Jonathan Stowe via RT wrote:
> > This is not an *issue* with Term::ReadKey at all, the build environment > > is broken and I am pretty sure that you would find the same problem with > > any module that requires a C compiler. > >
> It is a problem with Term::ReadKey's makefile ignoring the value of CC > in the environment, > it is therefore a problem with Term::ReadKey.
Actually no. You can specify a different CC but you have to do this at the time you run the 'Makefile.PL' so you have to (e.g.): perl Makefile.PL CC=gcc and this will change the C compiler that is used. Of course this almost certainly will not work properly as this is not the compiler that the Perl was compiled with. This is nothing to do with Term::ReadKey in particular as ANY perl module that requires a C compiler and uses a Makefile.PL will do the same. As I suggested before the Solaris::PerlGcc package may provide a solution if you are using the default perl install that came with Solaris and want to compile new modules with gcc rather than the Forte compiler, though I am led to believe that the Sun compiler is now a free download as well.
On Thu Apr 07 12:25:03 2005, guest wrote: Show quoted text
> 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 > 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>