public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* build system defect
@ 2009-08-27  3:58 Ted Feng
  2009-08-27 19:25 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Ted Feng @ 2009-08-27  3:58 UTC (permalink / raw)
  To: linux-bluetooth

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build system defect
  2009-08-27  3:58 build system defect Ted Feng
@ 2009-08-27 19:25 ` Marcel Holtmann
       [not found]   ` <8e7043060908271916w76adc10fh8fdc088802d3a1f9@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2009-08-27 19:25 UTC (permalink / raw)
  To: Ted Feng; +Cc: linux-bluetooth

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build system defect
       [not found]   ` <8e7043060908271916w76adc10fh8fdc088802d3a1f9@mail.gmail.com>
@ 2009-08-28  2:31     ` Ted Feng
  2009-08-29  4:32       ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Ted Feng @ 2009-08-28  2:31 UTC (permalink / raw)
  To: linux-bluetooth

Sorry for the delay.

>2009/8/27 Luiz Augusto von Dentz <luiz.dentz@gmail.com>:
> is it a clean checkout?

I use the tarball release bluez-4.50.tar.gz, If that counts.

> Perhaps build is broken when compiling outside the source tree,

Pretty much, I think.


>2009/8/28 Marcel Holtmann <marcel@holtmann.org>:
> I have not seen this problem, but I there might be still problems here.

Just build outside the source tree. The error will show up.

> Can you give us details on your distro etc. I would have to fix this.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 9.04
Release:        9.04
Codename:       jaunty

$ uname -r
2.6.28-14-generic

To reproduce the error, here is the step:

$ wget http://www.kernel.org/pub/linux/bluetooth/bluez-4.50.tar.gz
$ tar xvf bluez-4.50.tar.gz
$ mkdir 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
...
checking for SNDFILE... yes
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
 CC     sbc/sbc_libsbc_la-sbc.lo
 CC     sbc/sbc_libsbc_la-sbc_primitives.lo
 CC     sbc/sbc_libsbc_la-sbc_primitives_mmx.lo
 CC     sbc/sbc_libsbc_la-sbc_primitives_neon.lo
...
 CCLD   tools/bccmd
 CC     tools/hid2hci.o
 CCLD   tools/hid2hci
 CC     test/hciemu.o
 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build system defect
  2009-08-28  2:31     ` Ted Feng
@ 2009-08-29  4:32       ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2009-08-29  4:32 UTC (permalink / raw)
  To: Ted Feng; +Cc: linux-bluetooth

Hi Ted,

> > is it a clean checkout?
> 
> I use the tarball release bluez-4.50.tar.gz, If that counts.
> 
> > Perhaps build is broken when compiling outside the source tree,
> 
> Pretty much, I think.

feel free to provide patches to fix this. Otherwise it might not get
fixed since I am not using such a setup. I just compile inside the
source tree.

Regards

Marcel



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-29  4:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-27  3:58 build system defect Ted Feng
2009-08-27 19:25 ` Marcel Holtmann
     [not found]   ` <8e7043060908271916w76adc10fh8fdc088802d3a1f9@mail.gmail.com>
2009-08-28  2:31     ` Ted Feng
2009-08-29  4:32       ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox