[oe-issues] [Bug 2546] New: perl-native does not build on newer distros
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Fri Jun 22 04:04:51 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2546
Summary: perl-native does not build on newer distros
Product: Openembedded
Version: Angstrom
Platform: Other
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: lvcargnini at gmail.com
QAContact: tinderbox-oe at gmx.net
I trying to build task-base for angstrom distro, OMAP architecture, but i
having problems during perl-native step, the error is the following:
Making IPC::SysV (dynamic)
make[1]: Entering directory
`/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-native-5.8.8-r12/perl-5.8.8/ext/IPC/SysV'
make[1]: Leaving directory
`/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-native-5.8.8-r12/perl-5.8.8/ext/IPC/SysV'
make[1]: Entering directory
`/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-native-5.8.8-r12/perl-5.8.8/ext/IPC/SysV'
gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing
-pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O2 -DVERSION=\"1.04\" -DXS_VERSION=\"1.04\" -fpic "-I../../.." SysV.c
SysV.xs:7:25: error: asm/page.h: No such file or directory
make[1]: *** [SysV.o] Error 1
make[1]: Leaving directory
`/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-native-5.8.8-r12/perl-5.8.8/ext/IPC/SysV'
make: *** [lib/auto/IPC/SysV/SysV.so] Error 2
FATAL: oe_runmake failed
In gentoo dsitribution this problem is fixed applying the following patch:
lvcargnini at BD06DC30
~/puc/instramed/openembedded/tmp/work/i686-linux/perl-native-5.8.8-r12/temp $
cat
/usr/portage/dev-lang/perl/files/perl-5.8.8-asm-page-h-compile-failure.patch
--- perl-5.8.8/ext/IPC/SysV/SysV.xs.no_asm_page_h 2001-06-30
14:46:07.000000000 -0400
+++ perl-5.8.8/ext/IPC/SysV/SysV.xs 2006-06-02 17:37:22.000000000 -0400
@@ -3,9 +3,6 @@
#include "XSUB.h"
#include <sys/types.h>
-#ifdef __linux__
-# include <asm/page.h>
-#endif
#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
#ifndef HAS_SEM
# include <sys/ipc.h>
So please Could the openembedde mantainers apply the same patch on perl-native
of OE ??
My system is the following:
Linux BD06DC30 2.6.21-gentoo-r1 #1 Tue May 22 21:28:12 BRT 2007 i686 Intel(R)
Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux
(BD06DC30:~/puc/instramed/openembedded) lvcargnini% perl --version
This is perl, v5.8.8 built for i686-linux
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
(BD06DC30:~/puc/instramed/openembedded) lvcargnini%
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list