Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id:
3009
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
stutz [...] nccn.net
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
1.49
Fixed in:
(no value)



Subject: Time-HiRes-1.49 perl Makefile.PL generates broken Makefile
I'm trying to build the Time::HiRes module on a newly installed red hat linux system. I realize that this may not be the place to raise this question, but, having read through the READMEs and INSTALL file, I was unable to locate the author. Any help you can provide would be greatly appreciated (including referring me elsewhere). Relevant information follows. [perlmodules]# uname -a Linux renoir.gvcr.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux I am using the version of perl that came with this system. [perlmodules]# perl --version This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail) [perlmodules]# perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi uname='linux str' config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/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_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -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=12 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='-rdynamic -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 . I have downloaded and unpacked Time-HiRes-1.49.tar.gz. I get the following output when I execute perl on Makefile.PL [Time-HiRes-1.49]# perl Makefile.PL Configuring Time::HiRes... Checking for libraries... Checking for -lposix4... NOT found. You have no applicable extra libraries. Looking for gettimeofday()... found. Looking for setitimer()... found. Looking for getitimer()... found. You have interval timers (both setitimer and setitimer). Looking for ualarm()... found. Looking for usleep()... found. Looking for nanosleep()... found. You can mix subsecond sleeps with signals. Writing Makefile for Time::HiRes Now you may issue 'make'. Do not forget also 'make test'. NOTE: In searching for libraries, posix4 could not be found. I'm a perl newby. Is this a perl library or one that I should have installed from my RedHat distribution? Where can I download a copy? How do I install it so that perl can find it? If I continue to build this module with make, I get the following output. [Time-HiRes-1.49]# make Makefile:91: *** missing separator. Stop. This line in the Makefile (and the area around it) looks like: 88 INSTALLBIN = /usr/bin' 89 installhtml1dir='' 90 installhtml3dir='' 91 installman1 92 INSTALLSITEBIN = /usr 93 INSTALLVENDORBIN = /usr/bin' The solitary single quotes don't look correct. Are they? If not, how do I fix them? I have tried the three latest versions of Time::HiRes all with the same outcome. Many (many) thanks, Philip A. Holbert
Date: Tue, 22 Jul 2003 23:32:00 -0400
From: Doug Wegscheid <dwegscheid@qtm.net>
To: bug-Time-HiRes@rt.cpan.org
Subject: Re: [cpan #3009] Time-HiRes-1.49 perl Makefile.PL generates broken Makefile
RT-Send-Cc:
Guest via RT wrote: \ Time::HiRes just uses MakeMaker - I suspect that the perl install with your redhat is not quite right. Can you build any other modules that have compiled C code?
Show quoted text
>This message about Time-HiRes was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=3009 > > >I'm trying to build the Time::HiRes module on a newly installed red hat linux system. I realize that this may not be the place to raise this question, but, having read through the READMEs and INSTALL file, I was unable to locate the author. Any help you can provide would be greatly appreciated (including referring me elsewhere). Relevant information follows. > >[perlmodules]# uname -a >Linux renoir.gvcr.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux > >I am using the version of perl that came with this system. >[perlmodules]# perl --version > >This is perl, v5.8.0 built for i386-linux-thread-multi >(with 1 registered patch, see perl -V for more detail) >[perlmodules]# perl -V >Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: > Platform: > osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi > uname='linux str' > config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/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_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', > optimize='', > cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -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=12 > 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='-rdynamic -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 > . > >I have downloaded and unpacked Time-HiRes-1.49.tar.gz. I get the following output when I execute perl on Makefile.PL >[Time-HiRes-1.49]# perl Makefile.PL >Configuring Time::HiRes... >Checking for libraries... >Checking for -lposix4... NOT found. >You have no applicable extra libraries. >Looking for gettimeofday()... found. >Looking for setitimer()... found. >Looking for getitimer()... found. >You have interval timers (both setitimer and setitimer). >Looking for ualarm()... found. >Looking for usleep()... found. >Looking for nanosleep()... found. >You can mix subsecond sleeps with signals. >Writing Makefile for Time::HiRes >Now you may issue 'make'. Do not forget also 'make test'. > >NOTE: In searching for libraries, posix4 could not be found. I'm a perl newby. Is this a perl library or one that I should have installed from my RedHat distribution? Where can I download a copy? How do I install it so that perl can find it? > >If I continue to build this module with make, I get the following output. >[Time-HiRes-1.49]# make >Makefile:91: *** missing separator. Stop. > >This line in the Makefile (and the area around it) looks like: >88 INSTALLBIN = /usr/bin' >89 installhtml1dir='' >90 installhtml3dir='' >91 installman1 >92 INSTALLSITEBIN = /usr >93 INSTALLVENDORBIN = /usr/bin' > >The solitary single quotes don't look correct. Are they? If not, how do I fix them? I have tried the three latest versions of Time::HiRes all with the same outcome. > >Many (many) thanks, >Philip A. Holbert > > > > >
Date: Wed, 23 Jul 2003 13:31:25 +0300
From: Jarkko Hietaniemi <jhi@iki.fi>
To: Guest via RT <bug-Time-HiRes@rt.cpan.org>
Subject: Re: [cpan #3009] Time-HiRes-1.49 perl Makefile.PL generates broken Makefile
RT-Send-Cc:
Do export LC_ALL=C before attempting the install. -- Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen
From: stutz@nccn.net
[dwegscheid@qtm.net - Tue Jul 22 23:32:10 2003]:
Show quoted text
> Guest via RT wrote: > \ > Time::HiRes just uses MakeMaker - I suspect that the perl install with > your redhat is not quite right. Can you build any other modules that > have compiled C code? >
> >This message about Time-HiRes was sent to you by guest <> via
> rt.cpan.org
> > > >Full context and any attached attachments can be found at: > ><URL: https://rt.cpan.org/Ticket/Display.html?id=3009 > > > > >I'm trying to build the Time::HiRes module on a newly installed red
> hat linux system. I realize that this may not be the place to raise > this question, but, having read through the READMEs and INSTALL > file, I was unable to locate the author. Any help you can provide > would be greatly appreciated (including referring me elsewhere). > Relevant information follows.
> > > >[perlmodules]# uname -a > >Linux renoir.gvcr.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686
> i686 i386 GNU/Linux
> > > >I am using the version of perl that came with this system. > >[perlmodules]# perl --version > > > >This is perl, v5.8.0 built for i386-linux-thread-multi > >(with 1 registered patch, see perl -V for more detail) > >[perlmodules]# perl -V > >Summary of my perl5 (revision 5.0 version 8 subversion 0)
> configuration:
> > Platform: > > osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-
> multi
> > uname='linux str' > > config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g
> -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc > -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr > -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr > -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads > -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db > -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio > -Dinstallusrbinperl -Ubincompat5005 -Uversiononly > -Dpager=/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_SOURCE -D_FILE_OFFSET_BITS=64 > -I/usr/include/gdbm',
> > optimize='', > > cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> -DDEBUGGING -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=12
> > 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='-
> rdynamic > -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 > > . > > > >I have downloaded and unpacked Time-HiRes-1.49.tar.gz. I get the
> following output when I execute perl on Makefile.PL
> >[Time-HiRes-1.49]# perl Makefile.PL > >Configuring Time::HiRes... > >Checking for libraries... > >Checking for -lposix4... NOT found. > >You have no applicable extra libraries. > >Looking for gettimeofday()... found. > >Looking for setitimer()... found. > >Looking for getitimer()... found. > >You have interval timers (both setitimer and setitimer). > >Looking for ualarm()... found. > >Looking for usleep()... found. > >Looking for nanosleep()... found. > >You can mix subsecond sleeps with signals. > >Writing Makefile for Time::HiRes > >Now you may issue 'make'. Do not forget also 'make test'. > > > >NOTE: In searching for libraries, posix4 could not be found. I'm a
> perl newby. Is this a perl library or one that I should have > installed from my RedHat distribution? Where can I download a copy? > How do I install it so that perl can find it?
> > > >If I continue to build this module with make, I get the following
> output.
> >[Time-HiRes-1.49]# make > >Makefile:91: *** missing separator. Stop. > > > >This line in the Makefile (and the area around it) looks like: > >88 INSTALLBIN = /usr/bin' > >89 installhtml1dir='' > >90 installhtml3dir='' > >91 installman1 > >92 INSTALLSITEBIN = /usr > >93 INSTALLVENDORBIN = /usr/bin' > > > >The solitary single quotes don't look correct. Are they? If not, how
> do I fix them? I have tried the three latest versions of > Time::HiRes all with the same outcome.
> > > >Many (many) thanks, > >Philip A. Holbert > > > > > > > > > >
> >
First of all, thank you so much for your prompt reply. I was afraid I would be stuck for quite a while. I believe that I am able to build other modules that have compiled C code. As an aside, I'm trying to get bricolage (from sourceforge) working. It requires many modules. I've included a list of the ones I have built successfully at the bottom of this note. For some of them, I do recall that gcc was invoked. I do not remember which ones did this. Only the builds for Time-HiRes-1.49 and (BSD-Resource-1.22) failed in this way. Does the absence of the posix4 library (see output from perl Makefile.PL) have any relevance or is that just a red herring? Thanks for your help, stutz List of successfully built modules: Algorithm-Diff-1.15 Apache-ConfigFile-0.14 Apache-Filter-1.022 Apache-Session-1.54 Apache-Test-1.03 Authen-PAM-0.14 Cache-Cache-1.02 Cache-Mmap-0.07 Class-Container-0.10 Class-Data-Inheritable-0.02 Compress-Zlib-1.22 Devel-StackTrace-1.03 Devel-Symdump-2.03 Digest-SHA1-2.03 Error-0.15 Exception-Class-1.14 File-Sync-0.09 HTML-Mason-1.22 HTML-Template-2.6 HTML-Template-Expr-0.04 HTTP-DAV-0.31 Image-Info-1.12 IO-stringy-2.108 IPC-ShareLite-0.09 libapreq-1.2 MailTools-1.58 MIME-Lite-3.01 MIME-tools-5.411 MLDBM-2.01 Net-SSH-Perl-1.23 Params-Validate-0.64 Parse-RecDescent-1.94 Pod-Escapes-1.03 Pod-Simple-0.96 SOAP-Lite-0.55 Sub-Uplevel-0.07 Syslog-0.97 Test-Builder-Tester-0.09 Test-Class-0.03 Test-Differences-0.47 Test-Exception-0.15 Test-Pod-0.95 Text-Diff-0.35 Text-Iconv-1.2 Text-Levenshtein-0.03 XML-NamespaceSupport-1.08 XML-SAX-0.12 XML-Simple-2.08 XML-Writer-0.4
Subject: Time-HiRes-1.49 perl Makefile.PL generates broken Makefile - Solved
[dwegscheid@qtm.net - Tue Jul 22 23:32:10 2003]:
Show quoted text
> Guest via RT wrote: > \ > Time::HiRes just uses MakeMaker - I suspect that the perl install with > your redhat is not quite right. Can you build any other modules that > have compiled C code? >
> >This message about Time-HiRes was sent to you by guest <> via
> rt.cpan.org
> > > >Full context and any attached attachments can be found at: > ><URL: https://rt.cpan.org/Ticket/Display.html?id=3009 > > > > >I'm trying to build the Time::HiRes module on a newly installed red
> hat linux system. I realize that this may not be the place to raise > this question, but, having read through the READMEs and INSTALL > file, I was unable to locate the author. Any help you can provide > would be greatly appreciated (including referring me elsewhere). > Relevant information follows.
> > > >[perlmodules]# uname -a > >Linux renoir.gvcr.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686
> i686 i386 GNU/Linux
> > > >I am using the version of perl that came with this system. > >[perlmodules]# perl --version > > > >This is perl, v5.8.0 built for i386-linux-thread-multi > >(with 1 registered patch, see perl -V for more detail) > >[perlmodules]# perl -V > >Summary of my perl5 (revision 5.0 version 8 subversion 0)
> configuration:
> > Platform: > > osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-
> multi
> > uname='linux str' > > config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g
> -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc > -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr > -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr > -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads > -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db > -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio > -Dinstallusrbinperl -Ubincompat5005 -Uversiononly > -Dpager=/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_SOURCE -D_FILE_OFFSET_BITS=64 > -I/usr/include/gdbm',
> > optimize='', > > cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> -DDEBUGGING -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=12
> > 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='-
> rdynamic > -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 > > . > > > >I have downloaded and unpacked Time-HiRes-1.49.tar.gz. I get the
> following output when I execute perl on Makefile.PL
> >[Time-HiRes-1.49]# perl Makefile.PL > >Configuring Time::HiRes... > >Checking for libraries... > >Checking for -lposix4... NOT found. > >You have no applicable extra libraries. > >Looking for gettimeofday()... found. > >Looking for setitimer()... found. > >Looking for getitimer()... found. > >You have interval timers (both setitimer and setitimer). > >Looking for ualarm()... found. > >Looking for usleep()... found. > >Looking for nanosleep()... found. > >You can mix subsecond sleeps with signals. > >Writing Makefile for Time::HiRes > >Now you may issue 'make'. Do not forget also 'make test'. > > > >NOTE: In searching for libraries, posix4 could not be found. I'm a
> perl newby. Is this a perl library or one that I should have > installed from my RedHat distribution? Where can I download a copy? > How do I install it so that perl can find it?
> > > >If I continue to build this module with make, I get the following
> output.
> >[Time-HiRes-1.49]# make > >Makefile:91: *** missing separator. Stop. > > > >This line in the Makefile (and the area around it) looks like: > >88 INSTALLBIN = /usr/bin' > >89 installhtml1dir='' > >90 installhtml3dir='' > >91 installman1 > >92 INSTALLSITEBIN = /usr > >93 INSTALLVENDORBIN = /usr/bin' > > > >The solitary single quotes don't look correct. Are they? If not, how
> do I fix them? I have tried the three latest versions of > Time::HiRes all with the same outcome.
> > > >Many (many) thanks, > >Philip A. Holbert > > > > > > > > > >
> >
Doug, I also received and email from Jarkko Hietaniemi <jhi@iki.fi>. He suggested I export LC_ALL=C before installing. I did so before issuing 'perl Makefile.PL', 'make', and 'make install'. It worked! I don't know yet what this environment variable controls, but I suspect you were on the right track regarding building modules with compiled C code. Thank you so much for your help. Problem solved. Thanks, stutz


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.