* [RFC] Fix native perl so it builds on x64 OpenSuSE 11.1
@ 2009-07-21 17:07 Ulf Samuelsson
2009-07-21 17:28 ` Michael Smith
0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2009-07-21 17:07 UTC (permalink / raw)
To: openembedded-devel
The native perl build fails on my x64 OpenSuSE 11.1 machine.
People suggest that disabling ODBM_File will fix this problem.
It works for me...
Any objections to this fix?
From 4d0290104f3065f82ec513d00eb84afd35cd8ef0 Mon Sep 17 00:00:00 2001
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
Date: Tue, 21 Jul 2009 19:01:18 +0200
Subject: [PATCH] Disable ODBM_File for native perl-5.8.8, since this
will cause
the build to fail on x64 OpenSuSE 11.1
---
recipes/perl/perl-native_5.8.8.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/perl/perl-native_5.8.8.bb
b/recipes/perl/perl-native_5.8.8.bb
index 57e9e1c..bde7638 100644
--- a/recipes/perl/perl-native_5.8.8.bb
+++ b/recipes/perl/perl-native_5.8.8.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.perl.org/"
SECTION = "libs"
LICENSE = "Artistic|GPL"
DEPENDS = "virtual/db-native gdbm-native"
-PR = "r13"
+PR = "r14"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}"
@@ -43,6 +43,7 @@ do_configure () {
-Dusethreads \
-Duseithreads \
-Duselargefiles \
+ -Dnoextensions=ODBM_File \
-Ud_dosuid \
-Ui_db \
-Ui_ndbm \
--
1.6.0.2
--
Best Regards
Ulf Samuelsson
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC] Fix native perl so it builds on x64 OpenSuSE 11.1
2009-07-21 17:07 [RFC] Fix native perl so it builds on x64 OpenSuSE 11.1 Ulf Samuelsson
@ 2009-07-21 17:28 ` Michael Smith
0 siblings, 0 replies; 2+ messages in thread
From: Michael Smith @ 2009-07-21 17:28 UTC (permalink / raw)
To: openembedded-devel
Ulf Samuelsson wrote:
> The native perl build fails on my x64 OpenSuSE 11.1 machine.
> People suggest that disabling ODBM_File will fix this problem.
> It works for me...
Yeah, this looks like it would fix it.
The problem is SuSE 11's gdbm-devel 1.8.3 installs some hacked-up
include file in /usr/include/dbm.h (it's not the one from stock gdbm
1.8.3), and Perl looks there. Meanwhile, gdbm-native 1.8.3 in OE doesn't
stage dbm.h, so even if perl-native looked in the right place, the
module wouldn't build. So both perl-native and gdbm-native need a fix,
or this (afaik unused) module can just be disabled.
Mike
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-21 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-21 17:07 [RFC] Fix native perl so it builds on x64 OpenSuSE 11.1 Ulf Samuelsson
2009-07-21 17:28 ` Michael Smith
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.