Skip to contentSkip to conversation

perl native + intltool probs Fedora 9

DISCUSSION Terry Kemp 2 participants 3 messages Jun 8, 2008 – Jun 9, 2008

lore
Share & tools
lore

Terry Kemp

author
#0 lore raw

intltool-native and others fail on...

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

log follows...
-----------------------------------------------------------------------------
automake (GNU automake) 1.10
Written by Tom Tromey <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.

Copyright 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
AUTOV is 1
NOTE: Executing autoreconf --verbose --install --force
--exclude=autopoint
-I /build/OE/gumstix-verdex/build/tmp/angstrom/work/i686-linux/intltool-native-0.37.1-r0/intltool-0.37.1/ -I/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/share/aclocal-1 -I /build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal
-I /build/OE/gumstix-verdex/build/tmp/angstrom/work/i686-linux/intltool-native-0.37.1-r0/intltool-0.37.1/ -I /build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/share/aclocal-1 -I /build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/share/aclocal --force
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf:
running: /build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/bin/autoconf --include=/build/OE/gumstix-verdex/build/tmp/angstrom/work/i686-linux/intltool-native-0.37.1-r0/intltool-0.37.1/ --include=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/share/aclocal-1 --include=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/share/aclocal --force --warnings=cross
autoreconf: configure.in: not using Autoheader
autoreconf: running: automake --foreign --add-missing --copy
--force-missing --warnings=cross
automake: unknown warning category `cross'
autoreconf: running: gnu-configize
autoreconf: Leaving directory `.'
NOTE:
Running /build/OE/gumstix-verdex/build/tmp/angstrom/work/i686-linux/intltool-native-0.37.1-r0/intltool-0.37.1/configure --build=i686-linux --host=i686-linux --target=i686-linux --prefix=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr --exec_prefix=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr --bindir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/bin --sbindir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/sbin --libexecdir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/libexec --datadir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/share --sysconfdir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/etc --sharedstatedir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/com --localstatedir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/var --libdir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/lib --includedir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/include --oldincludedir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/include --infodir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/share/info --mandir=/build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/share/man ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/env perl
checking for XML::Parser... configure: error: XML::Parser perl module is
required for intltool
FATAL: oe_runconf failed
-----------------------------------------------------------------

looking at the error output for the test (if $PERL -e "require XML::Parser" 2>/dev/null; then) I found...

perl: symbol lookup
error: /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/XML/Parser/Expat/Expat.so: undefined symbol: Perl_Istack_sp_ptr

It should be compiling perl-5.8.8 but its picking up the Fedora 9 host perl-5.10.0 and staging it...

[tmk@sulphur perl-native-5.8.8-r13]$ cd $OLDPWD
[tmk@sulphur perl5]$ tree
.

|-- 5.10.0
|   `-- i386-linux-thread-multi
|       `-- perllocal.pod
`-- site_perl
    `-- 5.10.0
        |-- Error.pm
        |-- Git.pm
        `-- i386-linux-thread-multi
            `-- auto
                `-- Git

7 directories, 3 files
[tmk@sulphur perl5]$ pwd /build/OE/gumstix-verdex/build/tmp/angstrom/staging/i686-linux/usr/lib/perl5

I am 98% sure this is not happening on an x86_64 build but I do need to recheck.

I am looking at making a recipe for perl-5.10.0 but this will only mask the real problem being host inclusion.

pointers?

Thanks

Terry

author
#1 lore raw

Re: perl native + intltool probs Fedora 9 [solved]

Quoted 7 lines · Terry Kemp

intltool-native and others fail on...

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

Quoted 6 lines

pointers?

Thanks

Terry

arrrrrrrrrrrrgh!

export PERL5LIB=

fixes it.

for some reason my home machine i686 had a bunch of directories listed in this env variable and my work machine x86_64 didn't have the PERL5LIB env var at all.

Should I simply add this to the 'sourceme' script that sets up my environment prior to building or is it something that should be added to perl et al bbs. If so whats the correct syntax to delete env vars from a bb recipe?

Thanks

Terry

#2 lore raw

Re: perl native + intltool probs Fedora 9 [solved]

Quoted 3 lines · Terry Kemp

export PERL5LIB=

fixes it.

Hmmm!
I will want to test this.