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

5.10.1-RC1 build failure with PERL_UNICODE

From:
Christopher J. Madsen
Date:
August 9, 2009 01:23
Subject:
5.10.1-RC1 build failure with PERL_UNICODE
Message ID:
4A7DBBE5.7020500@cjmweb.net
I tried to build 5.10.1-RC1 on Gentoo Linux (manually, not using an
ebuild).  I got this error:

./miniperl -Ilib configpm
written lib/Config.pod
updated lib/Config.pm
updated lib/Config_heavy.pl
./miniperl -Ilib lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
	AutoSplitting perl library
./miniperl -Ilib -MAutoSplit -MFile::Find -e 'find ({no_chdir=>1, wanted
=> sub {autosplit_lib_modules($_) if /\.pm$/}}, "lib")'
make lib/re.pm
make[1]: Entering directory `/home/cjm/data/gcc/perl-5.10.1-RC1'
cp ext/re/re.pm lib/re.pm
make[1]: Leaving directory `/home/cjm/data/gcc/perl-5.10.1-RC1'
./miniperl -Ilib make_ext.pl DynaLoader.o MAKE=make LIBPERL_A=libperl.a
LINKTYPE=static CCCDLFLAGS=
Can't locate unicore/PVA.pl in @INC (@INC contains: lib
/usr/lib/perl5/5.10.1/i686-linux /usr/lib/perl5/5.10.1
/usr/lib/perl5/site_perl/5.10.1/i686-linux
/usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i686-linux
/usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl /usr/local/lib/site_perl .) at
lib/utf8_heavy.pl line 97.
make: *** [DynaLoader.o] Error 2

Some googling caused me to think it might be caused by my
PERL_UNICODE="SAL" environment var.  I did "unset PERL_UNICODE"
and ran "make" again.  That did the trick.

$ unset PERL_UNICODE
$ make
	AutoSplitting perl library
./miniperl -Ilib -MAutoSplit -MFile::Find -e 'find ({no_chdir=>1, wanted
=> sub {autosplit_lib_modules($_) if /\.pm$/}}, "lib")'
make lib/re.pm
make[1]: Entering directory `/home/cjm/data/gcc/perl-5.10.1-RC1'
make[1]: `lib/re.pm' is up to date.
make[1]: Leaving directory `/home/cjm/data/gcc/perl-5.10.1-RC1'
./miniperl -Ilib make_ext.pl DynaLoader.o MAKE=make LIBPERL_A=libperl.a
LINKTYPE=static CCCDLFLAGS=
	Making DynaLoader (all)
...


The good news is that it passed all tests after this.

Please CC me on any replies; I'm not on the list.

-- 
Chris Madsen                                          perl@cjmweb.net
  --------------------  http://www.cjmweb.net  --------------------




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