2009-08-27 03:58:56

by Ted Feng

[permalink] [raw]
Subject: build system defect

Hi:
I met a problem while making.

Since I like to put all stuff generating from build elsewhere,
I do all the configure, make action in a different directory.

$ ls
bluez-4.50/ bluez-build/
$ cd bluez-build
$ ../bluez-4.50/configure --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --enable-debug -enable-test --enable-gstreamer
--enable-alsa --enable-usb --enable-netlink --enable-tools
--enable-bccmd --enable-pcmcia --enable-hid2hci --enable-dfutool
--enable-hidd --enable-pand --enable-dund --enable-cups
--enable-udevrules --enable-configfiles
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/bluetooth.rules
config.status: creating doc/version.xml
config.status: creating src/bluetoothd.8
config.status: creating bluez.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

$ make
make --no-print-directory all-am
CC audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo
CC audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo
...
CCLD test/hciemu
GEN scripts/97-bluetooth.rules
GEN scripts/97-bluetooth-hid2hci.rules
cp: cannot stat `scripts/bluetooth-hid2hci.rules': No such file or directory
make[1]: *** [scripts/97-bluetooth-hid2hci.rules] Error 1
make: *** [all] Error 2

The error seems just a small path problem.
Should I claim this a bug, or I have to live with it?

Thanks in advance.

Regards
Ted


2009-08-27 19:25:31

by Marcel Holtmann

[permalink] [raw]
Subject: Re: build system defect

Hi Ted,

> I met a problem while making.
>
> Since I like to put all stuff generating from build elsewhere,
> I do all the configure, make action in a different directory.
>
> $ ls
> bluez-4.50/ bluez-build/
> $ cd bluez-build
> $ ../bluez-4.50/configure --prefix=/usr --sysconfdir=/etc
> --localstatedir=/var --enable-debug -enable-test --enable-gstreamer
> --enable-alsa --enable-usb --enable-netlink --enable-tools
> --enable-bccmd --enable-pcmcia --enable-hid2hci --enable-dfutool
> --enable-hidd --enable-pand --enable-dund --enable-cups
> --enable-udevrules --enable-configfiles
> ...
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating scripts/bluetooth.rules
> config.status: creating doc/version.xml
> config.status: creating src/bluetoothd.8
> config.status: creating bluez.pc
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
>
> $ make
> make --no-print-directory all-am
> CC audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo
> CC audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo
> ...
> CCLD test/hciemu
> GEN scripts/97-bluetooth.rules
> GEN scripts/97-bluetooth-hid2hci.rules
> cp: cannot stat `scripts/bluetooth-hid2hci.rules': No such file or directory
> make[1]: *** [scripts/97-bluetooth-hid2hci.rules] Error 1
> make: *** [all] Error 2
>
> The error seems just a small path problem.
> Should I claim this a bug, or I have to live with it?

I have not seen this problem, but I there might be still problems here.
Can you give us details on your distro etc. I would have to fix this.

Regards

Marcel