From: ryer <ej...@gm...> - 2011-05-10 09:51:19
|
Scott, i had the same problem with perl and i applied this patches by following all the steps you mentioned here, and then build my omap3 console image. but now i got this error..what should i do now..HELP~ NOTE: package libxml-parser-perl-native-2.36-r4: task do_compile: Started ERROR: Logfile of failure stored in: /home/aqidd/overo/tmp/work/i686-linux/libxml-parser-perl-native-2.36-r4/temp/log.do_compile.20224 Log data follows: | + do_compile | + cpan_do_compile | + oe_runmake 'PASTHRU_INC=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g' 'CCFLAGS=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g' 'LD=gcc ' | + oenote make -e MAKEFLAGS= 'PASTHRU_INC=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g' 'CCFLAGS=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g' 'LD=gcc ' | + echo NOTE: 'make -e MAKEFLAGS= PASTHRU_INC=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g CCFLAGS=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g LD=gcc ' | NOTE: make -e MAKEFLAGS= PASTHRU_INC=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g CCFLAGS=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g LD=gcc | + make -e MAKEFLAGS= 'PASTHRU_INC=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g' 'CCFLAGS=-isystem/home/aqidd/overo/tmp/sysroots/i686-linux/usr/include -O2 -g' 'LD=gcc ' | make: *** No rule to make target `/home/aqidd/overo/tmp/sysroots/i686-linux/usr/lib/perl/None/Config.pm', needed by `Makefile'. Stop. | + die 'oe_runmake failed' | + oefatal 'oe_runmake failed' | + echo FATAL: 'oe_runmake failed' | FATAL: oe_runmake failed | + exit 1 NOTE: package libxml-parser-perl-native-2.36-r4: task do_compile: Failed ERROR: Function 'do_compile' failed (see /home/aqidd/overo/tmp/work/i686-linux/libxml-parser-perl-native-2.36-r4/temp/log.do_compile.20224 for further information) ERROR: Task 2825 (virtual:native:/home/aqidd/overo/org.openembedded.dev/recipes/perl/libxml-parser-perl_2.36.bb, do_compile) failed with exit code '1' ERROR: 'virtual:native:/home/aqidd/overo/org.openembedded.dev/recipes/perl/libxml-parser-perl_2.36.bb' failed really appreciate your advise! Thank you! jumpnowdev wrote: > > The omap3-console-image built successfully. > > I had to work around the known docbook-utils problem. > http://old.nabble.com/omap3-console-image-build-fails-%3A-can%27t-read-docbook.cat%3A-No-such-file-or-directory-to31245580.html#a31246485 > > I took the easy approach and removed it as a dependency from iputils. > > I also switched to bitbake 1.12 while I was flailing, but I don't think > that > is necessary. > > > The patches are here. > > 0001-perl-native-multilib-patch-for-ubuntu-11.04.patch > https://gist.github.com/925006 > > > 0002-iputils-remove-docbook-utils-and-sgmlspl-dependency.patch > https://gist.github.com/925009 > > > If you know how to apply patches, you can skip the rest. > > > If you are unsure, here is one approach. > > I am working off the gumstix overo-oe repository checked out April 16, > 2011. > > Make sure you are on the overo branch > > === > ~$ cd overo-oe/org.openembedded.dev > ~/overo-oe/org.openembedded.dev$ git branch -a > org.openembedded.dev > * overo > remotes/origin/HEAD -> origin/org.openembedded.dev > remotes/origin/org.openembedded.dev > remotes/origin/overo > remotes/origin/verdex > === > > And you should be here or close to it for the last commit > > === > ~/overo-oe/org.openembedded.dev$ git log -n5 --oneline > 5f79a98 Added ncurses_5.9 > 9bac0a8 Force mtd-utils to use version 1.3.1 to circumvent flash_eraseall > -j problem in 1.4.1 > 9485df8 Changed Angstrom ipk location for Overo. Added task-native-sdk to > desktop-image. Added touchscreen calibration patch. > 243d273 Added mt9v032-queryctl-ordering.patch to caspapx kernel recipe and > reverted the source revision of xf86-video-omapfb > 3ab4b8e Merge branch 'org.openembedded.dev' into unstable > === > > First I would suggest making a working branch > > === > ~/overo-oe/org.openembedded.dev$ git checkout -b ubuntu-11.04 > > ~/overo-oe/org.openembedded.dev$ git branch -a > org.openembedded.dev > overo > * ubuntu-11.04 > remotes/origin/HEAD -> origin/org.openembedded.dev > remotes/origin/org.openembedded.dev > remotes/origin/overo > remotes/origin/verdex > === > > Now download the patches from github and copy them to > ~/overo-oe/org.openembedded.dev > > <download and copy the patches> > > === > ~/overo-oe/org.openembedded.dev$ ls -l 00* > -rw-rw-r-- 1 scott scott 2087 2011-04-18 05:08 > 0001-perl-native-multilib-patch-for-ubuntu-11.04.patch > -rw-rw-r-- 1 scott scott 837 2011-04-18 05:08 > 0002-iputils-remove-docbook-utils-and-sgmlspl-dependency.patch > === > > Then before applying the patches, you might want to check them first > > === > ~/overo-oe/org.openembedded.dev$ git apply --check --verbose > 0001-perl-native-multilib-patch-for-ubuntu-11.04.patch > Checking patch recipes/perl/files/ubuntu-11.04-multiarch.patch... > Checking patch recipes/perl/perl-native_5.10.1.bb... > > ~/overo-oe/org.openembedded.dev$ git apply --check --verbose > 0002-iputils-remove-docbook-utils-and-sgmlspl-dependency.patch > Checking patch recipes/iputils/iputils_20071127.bb... > === > > Now for real > > === > ~/overo-oe/org.openembedded.dev$ git apply --verbose > 0001-perl-native-multilib-patch-for-ubuntu-11.04.patch > Checking patch recipes/perl/files/ubuntu-11.04-multiarch.patch... > Checking patch recipes/perl/perl-native_5.10.1.bb... > Applied patch recipes/perl/files/ubuntu-11.04-multiarch.patch cleanly. > Applied patch recipes/perl/perl-native_5.10.1.bb cleanly. > === > > Commit this first change to your test branch to keep a good record > > === > ~/overo-oe/org.openembedded.dev$ git status > # On branch ubuntu-11.04 > # Changes not staged for commit: > # (use "git add <file>..." to update what will be committed) > # (use "git checkout -- <file>..." to discard changes in working > directory) > # > # modified: recipes/perl/perl-native_5.10.1.bb > # > # Untracked files: > # (use "git add <file>..." to include in what will be committed) > # > # 0001-perl-native-multilib-patch-for-ubuntu-11.04.patch > # 0002-iputils-remove-docbook-utils-and-sgmlspl-dependency.patch > # recipes/perl/files/ubuntu-11.04-multiarch.patch > no changes added to commit (use "git add" and/or "git commit -a") > > ~/overo-oe/org.openembedded.dev$ git add > recipes/perl/perl-native_5.10.1.bb > ~/overo-oe/org.openembedded.dev$ git add > recipes/perl/files/ubuntu-11.04-multiarch.patch > ~/overo-oe/org.openembedded.dev$ git commit -m 'perl-native multiarch > patch for ubuntu' > [ubuntu-11.04 329eb84] perl-native multiarch patch for ubuntu > 2 files changed, 15 insertions(+), 0 deletions(-) > create mode 100644 recipes/perl/files/ubuntu-11.04-multiarch.patch > === > > > Then if you want the iputils patch for docbook errors, do this > > === > ~/overo-oe/org.openembedded.dev$ git apply --verbose > 0002-iputils-remove-docbook-utils-and-sgmlspl-dependency.patch > Checking patch recipes/iputils/iputils_20071127.bb... > Applied patch recipes/iputils/iputils_20071127.bb cleanly. > > ~/overo-oe/org.openembedded.dev$ git status > # On branch ubuntu-11.04 > # Changes not staged for commit: > # (use "git add <file>..." to update what will be committed) > # (use "git checkout -- <file>..." to discard changes in working > directory) > # > # modified: recipes/iputils/iputils_20071127.bb > # > # Untracked files: > # (use "git add <file>..." to include in what will be committed) > # > # 0001-perl-native-multilib-patch-for-ubuntu-11.04.patch > # 0002-iputils-remove-docbook-utils-and-sgmlspl-dependency.patch > no changes added to commit (use "git add" and/or "git commit -a") > > ~/overo-oe/org.openembedded.dev$ git add > recipes/iputils/iputils_20071127.bb > ~/overo-oe/org.openembedded.dev$ git commit -m 'iputils remove docbook and > sgml from dependencies' > [ubuntu-11.04 c8c2125] iputils remove docbook and sgml from dependencies > 1 files changed, 1 insertions(+), 1 deletions(-) > === > > === > ~/overo-oe/org.openembedded.dev$ git log -n7 --oneline > c8c2125 iputils remove docbook and sgml from dependencies > 329eb84 perl-native multiarch patch for ubuntu > 5f79a98 Added ncurses_5.9 > 9bac0a8 Force mtd-utils to use version 1.3.1 to circumvent flash_eraseall > -j problem in 1.4.1 > 9485df8 Changed Angstrom ipk location for Overo. Added task-native-sdk to > desktop-image. Added touchscreen calibration patch. > 243d273 Added mt9v032-queryctl-ordering.patch to caspapx kernel recipe and > reverted the source revision of xf86-video-omapfb > 3ab4b8e Merge branch 'org.openembedded.dev' into unstable > === > > If you want to switch to bitbake 1.12, now would be a good time. > > === > ~$ cd ~/overo-oe/bitbake > ~/overo-oe/bitbake$ git checkout -b 1.12 origin/1.12 > === > > Then if you have already tried and failed to build either perl-native or > iputils > you should clean them first. > > === > ~$ cd ~/overo-oe > ~/overo-oe$ bitbake -c clean perl-native > ~/overo-oe$ bitbake -c clean iputils > === > > And now you should be able to build an omap3-console-image from an 11.04 > 64-bit > Ubuntu. > > If later you want to go back and pull updates from the gumstix overo-oe > repository, you can do this. > > ~/overo-oe/org.openembedded.dev$ git checkout overo > ~/overo-oe/org.openembedded.dev$ git pull > > <Look at the changes and decide whether you want them at this time> > > And then merge them all into your ubuntu-11.04 branch like this > > ~/overo-oe/org.openembedded.dev$ git checkout ubuntu-11.04 > ~/overo-oe/org.openembedded.dev$ git merge overo > > Or you could cherry-pick only the changes you want from the overo branch > to merge. Or do something else. There are lots of git workflows. > > Scott > > -- > Sent from my Linux box > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about > boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://old.nabble.com/Problems-making-PERL--tp31393404p31584167.html Sent from the Gumstix mailing list archive at Nabble.com. |