[BusyBox] Need help with custom-made buildroot BlueZ-libs package

Stephan Henningsen sth at amplex.dk
Wed Mar 16 14:08:55 UTC 2005


Hi,

I've made a bluez-libs.mk (and Config.in) that fails install.  The 
Makefile of bluez-libs is called install parameter, and it tried to 
install under the real prefix, /usr/, instead of the /usr under the 
$(TARGET_DIR).

Did I forget to parse some parameters while configuring bluez-libs, or 
is the bluez-lib distribution doing something nasty by overriding the 
parameters, I've set?

I've attached the two files, so it should be easy to reproduce the 
error.  I still cannot make buildroot include my bluez-libs in its 
ordinaly build, but it does include the targets of the bluez-libs.mk, so 
that my custom-made "bluez-libs-install" (or the standard "bluez-libs") 
target can be called from buildroot.

I'd really appreciate if someone could at least give a hint.

By the way: Where are the $(TARGET_CONFIGURE_OPTS) and $(TARGET_CFLAGS) 
etc. defined?


Error log:

sth at speedball:~/au/buildroot$ make bluez-libs-install
...
...
 /usr/bin/install -c -m 644 cmtp.h 
/home/sth/au/buildroot/build_arm/root/usr/include/bluetooth/cmtp.h
 /usr/bin/install -c -m 644 hidp.h 
/home/sth/au/buildroot/build_arm/root/usr/include/bluetooth/hidp.h
make[3]: Leaving directory 
`/home/sth/au/buildroot/build_arm/bluez-libs-2.15/include'
make[2]: Leaving directory 
`/home/sth/au/buildroot/build_arm/bluez-libs-2.15/include'
Making install in src
make[2]: Entering directory 
`/home/sth/au/buildroot/build_arm/bluez-libs-2.15/src'
make[3]: Entering directory 
`/home/sth/au/buildroot/build_arm/bluez-libs-2.15/src'
/bin/sh ../mkinstalldirs /usr/lib
 /bin/sh ../libtool --mode=install /usr/bin/install -c  libbluetooth.la 
/usr/lib/libbluetooth.la
/usr/bin/install -c .libs/libbluetooth.so.1.0.15 
/usr/lib/libbluetooth.so.1.0.15
/usr/bin/install: cannot remove `/usr/lib/libbluetooth.so.1.0.15': 
Permission denied
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory 
`/home/sth/au/buildroot/build_arm/bluez-libs-2.15/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory 
`/home/sth/au/buildroot/build_arm/bluez-libs-2.15/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory 
`/home/sth/au/buildroot/build_arm/bluez-libs-2.15'
make: *** 
[/home/sth/au/buildroot/build_arm/root/usr/lib/libbluetooth.so] Error 2
sth at speedball:~/au/buildroot$

-- 
Stephan Henningsen

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Config.in
Url: http://lists.busybox.net/pipermail/busybox/attachments/20050316/1714dae0/attachment.diff 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bluez-libs.mk
Url: http://lists.busybox.net/pipermail/busybox/attachments/20050316/1714dae0/attachment-0001.diff 


More information about the busybox mailing list