gary kuipers has asked for the wisdom of the Perl Monks concerning the following question:

A tried and true package, Time::Hires v1.47, that I have installed under RH Linux 7.3 numerous times fails under RH Linux 9.0

after perl Makefile.PL the next command, make, returns the following error:

Makefile:91: *** missing separator, Stop.

The Makefile looks seriously screwed up (note the unmatched single quotes). This listing starts from line 71:

VENDORPREFIX = an/m INSTALLPRIVLIB = /usr/lib/perl5/5.8.0 INSTALLSITELIB = /usr/lib/perl5/site_perl/5.8.0' installsiteman1='/usr/share/man/man1' installsiteman3='/usr/share/man/man3' installsitescript='/usr/bin' installstyle='lib/perl5' installusrbinperl='define' installvendorarch='/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread- +multi' installvendorbin='/usr/bin' installvendorhtml1='' installvendorhtml3='' installvendorlib='/usr/lib/perl5/vendor_perl/5.8. INSTALLVENDORLIB = ib/perl5' installusrbinperl='def INSTALLARCHLIB = /usr/lib/perl5/5.8.0/i386-linux-thread-multi INSTALLSITEARCH = INSTALLVENDORARCH = /usr/lib/perl5/vendor_perl/5.8 INSTALLBIN = /usr/bin' installhtml1dir='' installhtml3dir='' installman1 INSTALLSITEBIN = /usr INSTALLVENDORBIN = /usr/bin' installvendorhtml1=''

line 91 is the one that says "installman1".

Could someone with RH 9.0 please run

perl -MCPAN -e 'install Time::HiRes'

to see if you get the same result?



Thanx!
gary

Replies are listed 'Best First'.
Re: Time::Hires installation under RH Linux 9.0
by allolex (Curate) on Jun 13, 2003 at 21:33 UTC

    Is there some reason you are not able to install the current version? (Time::HiRes 1.48) It gets, makes, and installs perfectly on my Redhat 9.0 distro.

    Cheers,

    --
    Allolex

      I did try with both 1.47 and 1.48. I also did a fresh install of RH 7.3 with perl 5.6.1 and both 1.47 and 1.48 worked well (1.47 has installed well many, many times).

      Unfortunately in theis "experiment" I changed 2 variables at the same time:

      1) RH 7.3 -> RH 9.0
      2) perl 5.6.1 to 5.8.0

      Your results would indicate that perhaps RH 9.0 is not the problem. On your RH 9.0 do you have perl 5.8.0 or 5.6.1 ?

      Thanx!
      gary

        Hmm. perl -V give me this (just in case you want to compare more).

        Summary of my perl5 (revision 5.0 version 8 subversion 0) configuratio +n: Platform: osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-mu +lti uname='linux stripples.devel.redhat.com 2.4.20-2.48smp #1 smp thu +feb 13 11:44:55 est 2003 i686 i686 i386 gnulinux ' config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhos +tname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, +Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendo +rprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -D +useshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_ +semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext +=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -D +pager=/usr/bin/less -isr' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemulti +plicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS + -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_S +OURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -march=i386 -mcpu=i686 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGI +NG -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0 3.2.2- +1)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libperl.s +o gnulibc_version='2.3.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynami +c -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_ +FILES PERL_IMPLICIT_CONTEXT Locally applied patches: MAINT18379 Built under linux Compiled at Feb 18 2003 22:19:53 @INC: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
        HTH

        --
        Allolex

        The version of RH 9.0 I was using was a text only install. I figured that there might be something missing in the Linux so I reinstalled with EVERYTHING.

        I then tried to install the Time::Hires and got the same error

        Here is the perl -V off that system:

        Summary of my perl5 (revision 5.0 version 8 subversion 0) configuratio +n: Platform: osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-mu +lti uname='linux str' config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhos +tname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, +Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendo +rprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -D +useshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_ +semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext +=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -D +pager=/usr/bin/less -isr' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef' useithreads=define usemultiplicity= useperlio= d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=un uselongdouble= usemymalloc=, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS + -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_S +OURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGI +NG -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0 3.2.2- +1)', gccosandvers='' gccversion='3.2.2 200302' intsize=e, longsize= , ptrsize=p, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2 ivtype='long' k', ivsize=4' ivtype='long' known_ext, nvtype='double' o_nonbl', nvsize=, Off_t='', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc' l', ldflags =' -L/usr/local/lib' ldf' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil perllibs= libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libper gnulibc_version='2.3.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynam +ic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE' cccdlflags='-fPIC' ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s Unicode/ +Normalize XS/A' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_ +FILES PERL_IMPLICIT_CONTEXT Locally applied patches: MAINT18379 Built under linux Compiled at Feb 18 2003 22:19:53 @INC: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
Re: Time::Hires installation under RH Linux 9.0
by no_slogan (Deacon) on Jun 14, 2003 at 02:19 UTC
    I had the same problem with a number of modules under RH9. The workaround was to set LC_ALL=C beforehand.

      One thing that might play a role here. I have my default locale set to an ISO-8859-1 locale, not UTF-8.

      --
      Allolex

Re: Time::Hires installation under RH Linux 9.0
by ScooterQ (Pilgrim) on Jun 14, 2003 at 13:43 UTC
    RH9 caused more than a few problems for me with a number of modules until I edited my /etc/sysconfig/i18n file. Here's mine:
    #LANG="en_US.UTF-8" LANG="en_US" SUPPORTED="en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb-sun16"
    It looks like some modules (like CPAN!) don't like that UTF-8. If you don't want to monkey with your system-wide locale setting, just type "export LANG=en_US" and then try your install again.
      Works Beautifully!!! Great Infomation!!
Re: Time::Hires installation under RH Linux 9.0
by gary kuipers (Beadle) on Jun 16, 2003 at 17:46 UTC
    The workaround I did was to downlad perl 5.8.0 and "make" it. The version in CPAN under Jarkko Hietaniemi compiled and tested ok. The only problem is that it changed the @INC variable and not @INC no longer includes other things that were in the RH dispribution. Oh Well!