[yocto] Configure Issue

machuu oovah machuu.oovah at gmail.com
Wed Sep 24 14:14:04 PDT 2014


I'm tyring to make an updated version of the postgresql recipe, and I'm
getting a pretty stubborn error.
The build machine is running Ubuntu 12.04, and I'm using the scripts from
https://git.congatec.com/yocto/bsp-scripts.git

I have altered the postgresql_9.2.4.bb recipe to postgresql_9.3.5.bb. I
updated the remove.autoconf.version.check.patch, so I don't get the
autoconf version warning anymore.

Now do_configure is failing with a perl related error

autoreconf: running: gnu-configize
Perl lib version (5.14.3) doesn't match executable
'/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/bin/autom4te'
version (v5.14.2) at
/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/Config.pm
line 60.
Compilation failed in require at
/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/File/Copy.pm
line 14.
BEGIN failed--compilation aborted at
/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/File/Copy.pm
line 14.
Compilation failed in require at
/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/share/autoconf/Autom4te/FileUtils.pm
line 167.
BEGIN failed--compilation aborted at
/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/share/autoconf/Autom4te/FileUtils.pm
line 167.
Compilation failed in require at
/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/bin/autom4te
line 40.
BEGIN failed--compilation aborted at
/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/bin/autom4te
line 40.
autoreconf: Leaving directory `.'

Further down, this stands out

| perl_embed_ldflags='
-L/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/lib
-L/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/lib
-Wl,-rpath-link,/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/lib
-Wl,-rpath-link,/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/lib
-Wl,-rpath,/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/lib
-Wl,-rpath,/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/lib
-Wl,-O1 -fstack-protector
-L/home/yocto-user/yocto/bsp-scripts/build-qmx6/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/CORE
-lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'

because it contains -L/usr/local/lib
I've been trying to figure out how to stop the local system directories
from being included, but I'm not sure where to start.

Any help is appreciated, thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140924/e59b8f52/attachment.html>


More information about the yocto mailing list