[oe] [RFC] Fix native perl so it builds on x64 OpenSuSE 11.1

Ulf Samuelsson ulf.samuelsson at atmel.com
Tue Jul 21 17:07:36 UTC 2009


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 at 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






More information about the Openembedded-devel mailing list