develooper Front page | perl.perl5.porters | Postings from June 2013

How does one smoke dist/* (was: Storable refactoring, was Re:[perl #118139] Storable in DESTROY blocks)

Thread Previous | Thread Next
From:
Peter Rabbitson
Date:
June 10, 2013 06:30
Subject:
How does one smoke dist/* (was: Storable refactoring, was Re:[perl #118139] Storable in DESTROY blocks)
Message ID:
20130610063002.GA1527@rabbit.us
On Sun, Jun 09, 2013 at 11:13:02AM -0700, Salvador Fandino wrote:
> ----- Original Message -----
> 
> > From: Ricardo Signes <perl.p5p@rjbs.manxome.org>
> > To: Salvador Fandino <sfandino@yahoo.com>
> > Cc: perl5-porters@perl.org
> > Sent: Friday, June 7, 2013 6:19 PM
> > Subject: Re: Storable refactoring, was Re: [perl #118139] Storable in DESTROY
>  blocks
> > 
> > * Salvador Fandino <sfandino@yahoo.com> [2013-05-29T13:22:17]
> >>  I have been working for some time in refactoring Storable. See
> >> 
> >>   https://github.com/salva/perl5/tree/improve_storable
> > 
> > Wow, no kidding!  It looks like you've gotten some feedback on this, please 
> > let
> > me know if you need anything specific to help things move foward.
> 
> My biggest problem at the moment is getting old perl versions to compile and work.

Weird... I had no notable problems configuring/compiling/bootstraping 
both 5.6.1 and 5.6.2.

I hit another roadblock however - I am not sure how to properly build a 
dual-life dist from the perl tree. This is what I get on a more recent 
perl:

>>>>

rabbit@Ahasver:~/devel/p5-storable-imp$ git rev-parse HEAD
181247bf4fb683761428f68c808b06ef73d1fb14

rabbit@Ahasver:~/devel/p5-storable-imp$ cp -a dist/Storable/ ../storable-standalone

rabbit@Ahasver:~/devel/p5-storable-imp$ cd ../storable-standalone/

rabbit@Ahasver:~/devel/storable-standalone$ perlbrew use 5.8.9

rabbit@Ahasver:~/devel/storable-standalone$ perl -e 'die $]'
5.008009 at -e line 1.

rabbit@Ahasver:~/devel/storable-standalone$ perl Makefile.PL 
Writing Makefile for Storable
Writing MYMETA.yml and MYMETA.json

rabbit@Ahasver:~/devel/storable-standalone$ make
cp Storable.pm blib/lib/Storable.pm
/home/rabbit/perl5/perlbrew/perls/5.8.9/bin/perl /home/rabbit/perl5/perlbrew/perls/5.8.9/lib/5.8.9/ExtUtils/xsubpp  -typemap /home/rabbit/perl5/perlbrew/perls/5.8.9/lib/5.8.9/ExtUtils/typemap  Storable.xs > Storable.xsc && mv Storable.xsc Storable.c
cc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"2.42\" -DXS_VERSION=\"2.42\" -fPIC "-I/home/rabbit/perl5/perlbrew/perls/5.8.9/lib/5.8.9/x86_64-linux-thread-multi/CORE"   Storable.c
Storable.xs:26:55: fatal error: ppport.h: No such file or directory
compilation terminated.
make: *** [Storable.o] Error 1

>>>>

Please advise - I will test on all perls I have once I get the ball 
rolling (I have a rather large collection, both 64 and 32 - TUX's 
collection is even larger).

Cheers

Thread Previous | 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