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.
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to