Ticket #675 (closed defect: fixed)
Failed to compile perl (fresh install)
| Reported by: | mangabbs@… | Owned by: | buglog@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | sysinit | Version: | current svn head |
| Severity: | normal | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
Greetings,
I'm trying to build openmoko-devel-image, but I've found a problem that I think
can be a bug. When doing make openmoko-devel-image or make all I get:
| SysV.xs:7:25: error: asm/page.h: No such file or directory
| make[2]: * [SysV.o] Error 1
| make[2]: Leaving directory
`/home/masterbrian/moko/build/tmp/work/i686-linux/perl-native-5.8.7-r3/perl-5.8.7/ext/IPC/SysV'
| make[1]: * [lib/auto/IPC/SysV/SysV.so] Error 2
| make[1]: Leaving directory
`/home/masterbrian/moko/build/tmp/work/i686-linux/perl-native-5.8.7-r3/perl-5.8.7'
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/masterbrian/moko/build/tmp/work/i686-linux/perl-native-5.8.7-r3/temp/log.do_compile.9259
NOTE: package perl-native-5.8.7-r3: task do_compile: failed
ERROR: TaskFailed? event exception, aborting
NOTE: package perl-native-5.8.7: failed
ERROR: Build of openmoko-devel-image failed
make: * [openmoko-devel-image] Error 1
Of course I've carefully read the paragraph "Before Begin" in openmoko wiki
section about building using mokomakefile.
I'm using Gentoo, on x86 platform.
The bug is always reproducible.
I've tryed to update svn or to make a new fresh install, and I always get the
same error.
Please let me know if you need any other information
Change History
comment:2 Changed 6 years ago by ian.douglas@…
Where do we get 2007.2 from?
http://buildhost.openmoko.org/snapshots/ only shows 2007.4 and 2007.8.
I'm having the same issue on Gentoo, 2.6.22-r2 kernel. A quick search on
"asm/page.h" made me wonder if it was a Gentoo issue which was supposedly fixed
by emerging the v2.6.22-r2 linux headers (~x86 masked), but that hasn't helped
either: /usr/include/asm still does not include page.h to build this source code.
comment:3 Changed 6 years ago by stefan@…
http://buildhost.openmoko.org/snapshots/2007.08/
The snapshot name is based on year and month.
But to verify the perl buil you need to compile the image yourself. The newest
MokoMakefile? takes care of building the latest software from OM2007.2
comment:4 Changed 5 years ago by nod_huang@…
- Status changed from new to closed
- Resolution set to wontfix
won`t fix

Can you please retest this with OM2007.2? This version is synced with OE.dev and
have perhaps already a fix for your problem included.
The newest version from MokoMakefile? should take care of the new system.