develooper Front page | perl.perl5.porters | Postings from November 2008

[perl #56826] Perl-5.8.8 compilation on AIX 5.1

From:
Steve Peters via RT
Date:
November 25, 2008 02:55
Subject:
[perl #56826] Perl-5.8.8 compilation on AIX 5.1
Message ID:
rt-3.6.HEAD-25600-1227592036-94.56826-15-0@perl.org
On Fri Jul 11 08:27:49 2008, doughera wrote:
> On Fri, 11 Jul 2008, kawaljeet kaur wrote:
> 
> > # New Ticket Created by  "kawaljeet kaur"
> > # Please include the string:  [perl #56826]
> > # in the subject line of all future correspondence about this issue.
> > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56826 >
> >
> 
> > I got the following messages while running make for compiling Perl-
> 5.8.8 on
> > AIX 5.1 using gcc-4.0.0:
> >
> >
> >  Making NDBM_File (dynamic)
> > Note (probably harmless): No library found for -lndbm
> > Note (probably harmless): No library found for -lucb
> 
> >  Making ODBM_File (dynamic)
> > Note (probably harmless): No library found for -lucb
> 
> >         Making POSIX (dynamic)
> > Note (probably harmless): No library found for -lposix
> > Note (probably harmless): No library found for -lcposix
> 
> These are almost certinaly harmless.  It's perfectly legitimate for a
> system to include all of the POSIX functions in the regular C library
> and
> to not need any extra libraries at all.
> 
> > I have read in the Perl INSTALL file present in the source directory
> that
> >
> > "
> > Note (probably harmless): No library found for -lsomething
> > If you see such a message during the building of an extension, but
> the
> > extension passes its tests anyway (see "make test" below), then
> don't worry
> > about the warning message. The extension Makefile.PL goes looking
> for
> > various libraries needed on various systems; few systems will need
> all the
> > possible libraries listed. For example, a system may have -lcposix
> or
> > -lposix, but it's unlikely to have both, so most users will see
> warnings for
> > the one they don't have. The phrase 'probably harmless' is intended
> to
> > reassure you that nothing unusual is happening, and the build
> process is
> > continuing.
> 
> >
> > >From the notes it seemed that either -lposix or -lcposix should be
> present ,
> > but as pasted above , in my case none of them were present and still
> make
> > proceeded to end with a small ignorable error
> 
> The note should perhaps say something more like:
> 
>     For example, a system may require nothing, or -lcposix, or
> -lposix, but
>     it's unlikely to need both -lcposix and -lposix, so most users
> will see
>     warnings for at least one of those libraries.
> 
> Or  perhaps just delete that example entirely, since the explanation
> is
> getting so long.
> 
> I propose the following patch to INSTALL
> 
> --- perl-current/INSTALL	2008-05-17 09:52:44.000000000 -0400
> +++ perl-andy/INSTALL	2008-07-11 11:25:01.000000000 -0400
> @@ -1534,11 +1534,9 @@
>  then don't worry about the warning message.  The extension
>  Makefile.PL goes looking for various libraries needed on various
>  systems; few systems will need all the possible libraries listed.
> -For example, a system may have -lcposix or -lposix, but it's
> -unlikely to have both, so most users will see warnings for the one
> -they don't have.  The phrase 'probably harmless' is intended to
> -reassure you that nothing unusual is happening, and the build
> -process is continuing.
> +Most users will see warnings for the ones they don't have.  The
> +phrase 'probably harmless' is intended to reassure you that nothing
> +unusual is happening, and the build process is continuing.
> 
>  On the other hand, if you are building GDBM_File and you get the
>  message
> 
> 

Thanks!  This patch applied as change #34906.

Steve Peters



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About