develooper Front page | perl.perl5.porters | Postings from August 2009

Re: help wrt old perl versions @INC

Thread Previous | Thread Next
From:
Jerome Quelin
Date:
August 8, 2009 03:33
Subject:
Re: help wrt old perl versions @INC
Message ID:
20090808103301.GC4260@mongueurs.net
On 09/08/08 12:15 +0200, Rafael Garcia-Suarez wrote:
> > mandriva ships a threaded perl, i don't know the rationale. the
> > directory does exist.
> 
> Building a threaded perl makes little sense for an OS vendor, and
> switching from an unthreaded perl to a threaded one must have been a
> lot of work, since it required rebuilding every XS module.

but now it's done, so i won't change this. :-)

> >> > ==> all the arch-dependant modules are not available for the new perl
> >> > (unless using PERL5LIB of course)
> >> >
> >> > so, what's the best way to add this missing directory? would using:
> >> >  -Dotherlibdirs=/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
> >> >
> >> > work? otherwise, any help is welcome.
> >>
> >> No, you don't need to add the arch suffix : Configure will add the
> >> relevant subdirs as needed.
> >
> > hmm, then what should/can i do?
> 
> Provide the full Configure options, look at the old specfiles of perl
> in mandriva (where that used to work) try to figure out whether
> -Dinc_version_list is really broken in current's Configure (for
> example by building a separate 5.10.0 in $HOME and using that as a
> target for 5.10.1 RC1), and fix either Configure or mandriva's
> specfile.

here's the full configure:

sh Configure -des \
  -Dinc_version_list="5.10.0 5.8.8 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0" \
  -Darchname=%{arch}-%{_os} \
  -Dcc='%{__cc}' \
%if %debugging
  -Doptimize=-g -DDEBUGGING \
%else
  -Doptimize="$RPM_OPT_FLAGS" -DDEBUGGING=-g \
%endif
  -Dprefix=%_prefix -Dvendorprefix=%_prefix \
  -Dsiteprefix=%_prefix -Dsitebin=%_prefix/local/bin \
  -Dsiteman1dir=%_prefix/local/share/man/man1 \
  -Dsiteman3dir=%_prefix/local/share/man/man3 \
  -Dman3ext=3pm \
  -Dcf_by=Mandriva -Dmyhostname=localhost -Dperladmin=root@localhost -Dcf_email=root@localhost  \
  -Dd_dosuid \
  -Ud_csh \
  -Duseshrplib \
%if %threading
  -Duseithreads \
%endif
%ifarch %{sunsparc}
  -Ud_longdbl \
%endif
  -Di_db \
  -Di_ndbm \
  -Di_gdbm \


%debugging is set to false, %threading is set to true. and arch is of course
not sunsparc.

i have a local perl in my $home, i'll rebuild a 5.10.1-rc1 with the same
prefix and with -Dinc_version_list to see if that works...

jérôme 
-- 
jquelin@gmail.com

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