Skip to contentSkip to conversation

perl 5.8.7 fails during configure

Bug 1439 [email protected] 1 participant 1 message Sep 26, 2006

lore
Share & tools
lore
#0 lore raw

http://bugs.openembedded.org/show_bug.cgi?id=1439

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

------- Comment #1 from [email protected] 2006-09-26 14:50 ------- Perl builds fine for me on i486. In your case this:

grep -m1 "\/usr\/include\/.*\\.h" tmp/work/perl-5.8.7-r18/* -r | cut -f 1 -d
":"

is returning "Binary" for some reason when it doesn't for anyone else. I would presume this is the result of grep returning something like:

Binary file <filename> matches

If you run the above grep manually you should see which binary and your perl workdir has /usr/include in it somewhere, which might help explain what's going on.

Anyway, it you make grep ignore binary files:

perl/perl_5.8.7.bb 64d1a14e86517d96cf9111d020ca709609de456c renamed from perl/perl_5.8.7.bb 88bb9c33126dc36e9b6ecfbdab494d1d1b974a7d +0 -0
@@ -53,7 +53,7 @@ do_configure() {
        sed -i -e "s%/usr/include/%${STAGING_INCDIR}/%g"

config.sh-${TARGET_ARCH}-${TARGET_OS}

#These are strewn all over the source tree
- for foo in `grep -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1
-d ":"` ; do
+ for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f
1 -d ":"` ; do
echo Fixing: $foo
sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
done

then it should work fine. Although one wonders what's special about your environment that it has this issue in the first place.

Signature · 3 lines
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.