Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] bluez-utils-3.0 cross compile broken
@ 2006-06-13  9:22 Peter Wippich
  2006-06-13 11:10 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Wippich @ 2006-06-13  9:22 UTC (permalink / raw)
  To: bluez-devel


Dear all, 

somewhere on the road from 2.25 (last working for me) and 3.0 (not 
working) the configure script for bluez utils seems to get broken if the 
bluez libs are not in the standard place. Neither setting --libdir=.... 
nor setting environment variable BLUEZ_LIB works. The configure script 
always stops because it doesn't find the BLUEZ libs (error: Bluetooth 
library is required). The library is definitly where it should be. 
My build script looks like this: 

# configure and make bluez utils
export BLUEZ_LIB="$XPREFIX/lib"
pushd bluez/bluez-utils-3.0
./configure --prefix=$XPREFIX --host=$TARGET --build=i686-pc-linux-gnu \
            --with-kernel=$LINUX_DIR \
            --libdir=$XPREFIX/lib --includedir=$XPREFIX/include
#            --sysconfdir=/etc 
#            --without-glib
# can't figure out how to get this right .......... so... 
echo "#undef CONFIGDIR" >> config.h 
echo "#define CONFIGDIR \"/etc/bluetooth\"" >> config.h 
make
make install
popd

Does anybody know how to get this working again ?? 

Thank you and best regards, 

Peter  

|       Peter Wippich                   Voice: +49 30 46776411          |
|       G&W Instruments GmbH            fax:   +49 30 46776419          |
|       Gustav-Meyer-Allee 25, Geb. 12  Email: pewi@gw-instruments.de   |
|       D-13355 Berlin  / Germany                                       |



_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] bluez-utils-3.0 cross compile broken
  2006-06-13  9:22 [Bluez-devel] bluez-utils-3.0 cross compile broken Peter Wippich
@ 2006-06-13 11:10 ` Marcel Holtmann
  2006-06-13 11:36   ` Peter Wippich
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2006-06-13 11:10 UTC (permalink / raw)
  To: BlueZ development

Hi Peter,

> somewhere on the road from 2.25 (last working for me) and 3.0 (not 
> working) the configure script for bluez utils seems to get broken if the 
> bluez libs are not in the standard place. Neither setting --libdir=.... 
> nor setting environment variable BLUEZ_LIB works. The configure script 
> always stops because it doesn't find the BLUEZ libs (error: Bluetooth 
> library is required). The library is definitly where it should be. 

the bluez-utils-3.0 is now using pkg-config for the library detection.

Regards

Marcel




_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] bluez-utils-3.0 cross compile broken
  2006-06-13 11:10 ` Marcel Holtmann
@ 2006-06-13 11:36   ` Peter Wippich
  2006-06-17 10:31     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Wippich @ 2006-06-13 11:36 UTC (permalink / raw)
  To: BlueZ development


Hi Marcel, 

> the bluez-utils-3.0 is now using pkg-config for the library detection.

What a pain ...... I'll stay with the older version for now ...... 
When I got some spare time I'll try to figure out how to use this stuff 
when doing cross builds. 

Thank you, 

Peter 


|       Peter Wippich                   Voice: +49 30 46776411          |
|       G&W Instruments GmbH            fax:   +49 30 46776419          |
|       Gustav-Meyer-Allee 25, Geb. 12  Email: pewi@gw-instruments.de   |
|       D-13355 Berlin  / Germany                                       |



_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] bluez-utils-3.0 cross compile broken
  2006-06-13 11:36   ` Peter Wippich
@ 2006-06-17 10:31     ` Marcel Holtmann
  2006-06-18 13:02       ` Peter Wippich
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2006-06-17 10:31 UTC (permalink / raw)
  To: BlueZ development

Hi Peter,

> > the bluez-utils-3.0 is now using pkg-config for the library detection.
> 
> What a pain ...... I'll stay with the older version for now ...... 
> When I got some spare time I'll try to figure out how to use this stuff 
> when doing cross builds. 

sorry for that, but pkg-config should actually make it easier in the
end. And a new major version is allowed to break stuff :)

Regards

Marcel




_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] bluez-utils-3.0 cross compile broken
  2006-06-17 10:31     ` Marcel Holtmann
@ 2006-06-18 13:02       ` Peter Wippich
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Wippich @ 2006-06-18 13:02 UTC (permalink / raw)
  To: BlueZ development


Hi Marcel,

> > What a pain ...... I'll stay with the older version for now ...... 
> > When I got some spare time I'll try to figure out how to use this stuff 
> > when doing cross builds. 
> 
> sorry for that, but pkg-config should actually make it easier in the
> end. And a new major version is allowed to break stuff :)

It seems to be easier then expected. Just installing pkg-config, adding 
PKG_CONFIG_PATH to the build environment for bluez utils and rebuilding 
everything seems to do the job. The build now complains about the missing  
d-bus libraries, but this is a different story..... 

Wouldn't be that bad if somebody can update the package dependencies in 
the Readme (I know, nobody gots enough free time doing such non productive 
work ;-). 

Ciao, 

Peter

|       Peter Wippich                   Voice: +49 30 46776411          |
|       G&W Instruments GmbH            fax:   +49 30 46776419          |
|       Gustav-Meyer-Allee 25, Geb. 12  Email: pewi@gw-instruments.de   |
|       D-13355 Berlin  / Germany                                       |



_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2006-06-18 13:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13  9:22 [Bluez-devel] bluez-utils-3.0 cross compile broken Peter Wippich
2006-06-13 11:10 ` Marcel Holtmann
2006-06-13 11:36   ` Peter Wippich
2006-06-17 10:31     ` Marcel Holtmann
2006-06-18 13:02       ` Peter Wippich

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