I am trying to build Time-HiRes-1.49 on a new RH linux 9 system (to try out bricolage), but am having a couple of problems. I'm a Perl Monks newby, so, if I'm unclear (or inept) please feel free to advise.
ENVIRONMENT Version information for perl is: # perl --version This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail) PROBLEM(S) Problem 1) # perl -w Makefile.PL fails to find the posix4 library (see "Checking for -lposix4...NOT fou +nd." in output below) Output 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. Use of uninitialized value in join or string at /usr/lib/perl5/5.8.0/E +xtUtils/MM_Unix.pm line 3800. Writing Makefile for Time::HiRes Now you may issue 'make'. Do not forget also 'make test'. Problem 2) make fails because the Makefile is improperly formed. # make Makefile:91: *** missing separator. Stop.
WHAT I'VE TRIED
I've grep'ped all of the downloaded files for a clue to what I might be missing (a Perl POSIX library, a linux lib?), but only turned up the following:
# find . -type f -print | xargs fgrep posix ./hints/irix.pl: $self->{CCFLAGS} =~ s/-ansiposix //; ./Changes: - because of nanosleep we probe for -lrt and -lposix4 ./Makefile.PL: push @$LIBS, '-lposix4';
I've looked at the generated Makefile. It has random single quotes sprinkled throughout.

I've built other modules (bricolage requires a slew of them). They have all gone without error.

MY QUESTION
Am I missing something on this one? How do I work around this?

Many thanks, Philip A. Holbert (aka stutz)

edited: Mon Jul 21 16:12:41 2003 by jeffa - formatting


In reply to building Time-HiRes-1.49 by wingdog

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.