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

Re: [perl #20276] cruft in /usr/local/include can kill build

Thread Next
From:
Nicholas Clark
Date:
November 2, 2004 02:18
Subject:
Re: [perl #20276] cruft in /usr/local/include can kill build
Message ID:
20041102101808.GI26327@plum.flirble.org
On Tue, Nov 02, 2004 at 08:42:24AM -0000, Steve Peters via RT wrote:
> > [nick@unfortu.net - Fri Feb 07 12:41:28 2003]:
> > 
> > On Tue, Jan 21, 2003 at 11:20:11PM -0000, Jarkko Hietaniemi via RT
> > wrote:
> > > According to our records, your request regarding
> > >   "cruft in /usr/local/include can kill build"
> > > has been resolved.
> > >
> > > If you have any further questions or concerns on the above subject,
> > please
> > > respond to this message.
> > 
> > Breaks on 5.004:
> > 
> > cc -c  -I/usr/local/include -Os     -DVERSION=\"2.06\"
> > -DXS_VERSION=\"2.06\" -DPIC -fpic
> > -I/usr/local/lib/perl5/5.00405/i386-freebsd/CORE  Storable.c
> > Storable.xs:15: could_not_find_Perl_patchlevel.h: No such file or
> > directory
> > *** Error code 1
> > 
> > Also fails to break on plum - the machine with the "alien"
> > patchlevel.h in
> > /usr/local/include
> > 
> > 
> > I have a different idea, which I'm now going to try - putting
> > -I/usr/local/include at the end, not the beginning, of the cc command
> > line.
> > 
> > Nicholas Clark
> > 
> 
> It appears that a patch went in at some time to fix the problems above.
>  The current code in MD5.xs looks like...
> 
> #ifndef PERL_VERSION
> #    include <patchlevel.h>
> #    if !(defined(PERL_VERSION) || (SUBVERSION > 0 && defined(PATCHLEVEL)))
> #        include <could_not_find_Perl_patchlevel.h>
> #    endif

Storable's still broken on 5.004 (in that I know that this code prevents it
from working)

Nicholas Clark

Thread Next


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