Here's what I had to do: Include libtool package for Angstrom building and then generate libtool script on the fly after the image boots up using ltconfig script. Details at: http://www.nondot.org/sabre/Mirrored/libtool-2.1a/libtool_5.html section 5.2. I then copied it to /usr/bin/.
Now, when I try to compile cpufreq-utils downloaded from http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html by running make, Iget the following error while compiling cpufreq.c: ---------------------- /usr/bin/libtool: line 371: CDPATH: not found /usr/bin/libtool: line 1079: func_opt_split: not found libtool: Version mismatch error. This is libtool 2.2.4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4 libtool: and run autoconf again ---------------------- Any thoughts? -hari On Wed, Jan 6, 2010 at 7:14 AM, Philip Balister <[email protected]> wrote: > On 01/05/2010 11:55 PM, Haribabu Narayanan wrote: > >> Hi Philip, thanks for the response. >> >> I don't have any libtool-dev.bb and libltdl-dev.bb in OE/recipes. What >> am i >> missing? >> >> A cursory bitbake libtool-dev (or) bitbake libltdl-dev gives the >> following: >> ERROR: Nothing PROVIDES libtool-dev (or) libltdl-dev >> > > bitbake libtool will produce the needed packages. One bb file can produce > more than one package. > > Philip > > > > >> -hari >> >> >> On Tue, Jan 5, 2010 at 10:46 PM, Philip Balister<[email protected] >> >wrote: >> >> On 01/05/2010 11:29 PM, Haribabu Narayanan wrote: >>> >>> Hi., >>>> >>>> I am a Angstrom/OE newbie and I am trying to use it with beagleboard. >>>> >>>> I have built an image based on x11 which works fine. However, I >>>> needed >>>> libtool and so I added the following in my image's .bb file: >>>> >>>> ANGSTROM_EXTRA_INSTALL ?= "libtool" >>>> >>>> >>> Try adding libtool-dev and libltdl-dev to the list of packages. >>> >>> Philip >>> >>> >>> The build works fine. In the rootfs, i see only libtoolize binary >>>> (in /usr/bin/libtoolize)...however, I don't see any binary with the >>>> name >>>> libtool. The missing of this file is reported as the reason for error >>>> when >>>> I try to install cpufreq utils. >>>> >>>> Should I be expecting the libtool executable to be present in >>>> /usr/bin/ >>>> if libtoolize executable is present? Or is there any additional steps >>>> that >>>> I >>>> should do? Please help! >>>> >>>> I thought that I should probably add "libtool-native" instead of >>>> "libtool" in ANGSTROM_EXTRA_INSTALL. However, in the build stage of >>>> rootfs, >>>> I get the error: no package by the name "libtool-native" is found. >>>> However, >>>> I can do a bitbake libtool-native successfully. So, not sure what is >>>> happening here as well. >>>> >>>> -hari >>>> _______________________________________________ >>>> Angstrom-distro-users mailing list >>>> [email protected] >>>> >>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users >>>> >>>> >>>> _______________________________________________ >>> Angstrom-distro-users mailing list >>> [email protected] >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users >>> >>> _______________________________________________ >> Angstrom-distro-users mailing list >> [email protected] >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users >> >> > _______________________________________________ > Angstrom-distro-users mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users > _______________________________________________ Angstrom-distro-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
