Adding ipkg to Busybox?

Florian Fainelli florian at alphacore.org
Fri Apr 8 14:55:15 UTC 2011


On Friday 08 April 2011 16:39:02 Gilles wrote:
> On Fri, 8 Apr 2011 15:58:43 +0200, Florian Fainelli
> 
> <florian at alphacore.org> wrote:
> >opkg is fully compatible with the ipkg format, opkg should be easier to
> >cross- compile actually.
> 
> Thanks for the tip.
> 
> After cross-compiling libcurl, I download opkg-576.tar.gz from
> http://downloads.openwrt.org/sources/, ran ./autogen.sh, and then ran
> the following command:
> 
> ============
> #PATH has been edited to include path to cross-compiler
> 
> ./configure --host=i686-pc-linux-gnu --target=bfin-linux-uclibc
> CC=bfin-linux-uclibc-gcc CFLAGS="-O2 -Wall -ansi -pedantic
> -I/usr/src/switchfin/build_ip01/uClinux-dist/linux-2.6.x/include
> -I/usr/src/switchfin/build_ip01/uClinux-dist/staging/usr/include"
> AR="bfin-linux-uclibc-ar" RANLIB="bfin-linux-uclibc-ranlib"
> CURL_LIBS="-L/usr/src/switchfin/build_ip01/uClinux-dist/lib/libcurl/build-c
> url-7.19.2/lib/.libs" ============
> 
> But configure complains with "No package 'libcurl' found".
> 
> I'm no Autotools expert, and have no clue why configure can't find
> Libcurl although I used the recommended CURL_LIBS parameter.
> 
> Does someone know the solution to this?

In OpenWrt, we currently disable libcurl support with the --disable-libcurl 
configure script switch so I can't tell whether detection for curl actually 
works.
--
Florian


More information about the busybox mailing list