Hi, I'm building a new box intended to be a mod_perl/database machine, and
in the interests of making it as up-to-date as possible, I installed RedHat
7.1, then upgraded to perl 5.6.1.

Next step, of course, is to hit CPAN and install the basics, starting with
Bundle::CPAN.

But Net::Telnet barfs on make test.

I looked on usenet, and there was a post w/ a guy who had this same problem,
but no reply.  His post describes the problem clearly:

----snip----

From: [EMAIL PROTECTED] ([EMAIL PROTECTED])
Subject: select weirdness/Net::Telnet install barf
Newsgroups: comp.lang.perl.modules, comp.lang.perl.misc
Date: 2001-06-15 15:21:18 PST

On my RedHat 7.1 i586 (laptop) system perl 5.6.1
Net::Telnet won't install using CPAN since 'make test'
barfs.
The select call to read on a dummy handle returns 1!
briefly:

socket SOCK, AF_INET, SOCK_STREAM, 0;
$bitmask = '';
vec($bitmask, fileno(SOCK), 1) = 1;
$nfound = select ($bitmask, undef, undef, 0);

$nfound is 1 with SOCK allegedly ready to read!
Of course actually reading from it produces a SIGPIPE
since it's not connected to anything.
The 'socket' & 'select' calls themselves don't barf.
I'm afraid to force install if there's something deep down
wrong w/my select.

Any ideas greatly appreciated -thanks!
        Mark

----snip----

[rob@dyn5 /home/rob]$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.2-2, archname=i386-redhat-linux
    uname='linux dyn5.empire2.com 2.4.2-2 #1 sun apr 8 20:41:30 edt 2001
i686 unknown '




config_args='-des -Dcc=gcc -Darchname=i386-redhat-linux -Dcccdlflags=-fPIC -
Dccdlflags=-rdynamic -Dprefix=/usr -Dscriptdir=/usr/bin -Dsitelib=/usr/lib/p
erl5/site_perl -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -
Dman3ext=3pm -Doptimize=-O2 -march=i386 -mcpu=i686 -Uusethreads -Uuselargefi
les -Duseshrplib -Dd_dosuid -Ud_setresuid -Ud_setresgid'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing',
    optimize='-O2 -march=i386 -mcpu=i686',
    cppflags='-fno-strict-aliasing'
    ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 2.96-85)',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.2.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.6.1/i386-redhat-linux/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options:
  Built under linux
  Compiled at Jul 23 2001 17:28:02
  %ENV:
    PERL5LIB="/home/rob/lib/perl5:/home/rob/lib/perl5/site_perl/5.005"
  @INC:
    /home/rob/lib/perl5
    /home/rob/lib/perl5
    /home/rob/lib/perl5/site_perl/5.005
    /usr/lib/perl5/5.6.1/i386-redhat-linux
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/i386-redhat-linux/5.6.1
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl

tips? ideas? suggestions?

TIA!

L8r,
Rob

#!/usr/bin/perl -w
use Disclaimer qw/:standard/;


Reply via email to