Re: Error cross compiling bluez-utils 3.9 ARM S3C2410

Eugene <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
[email protected] пишет:
> Hello,
>  
> I’m having trouble cross-compiling bluez-utils 3.9 using this command 
> line:
> # ./configure –host=arm-linux –prefix=/opt/bluez_build 
> –with-bluez-libs=/opt/bluez_build /lib 
> –with-bluez-include=/opt/bluez_build /include
>  
> (I use gcc-arm-3.4.1 cross compiler and /opt/bluez_build is the 
> destination folder)
>  
> and I get this message:
>  
> checking for BLUEZ... no
> configure: error: Bluez library is required
>  
> I successfully compiled and installed bluez-libs3.9 with the following 
> command:
>  
> # ./configure –host=arm-linux –prefix=/opt/bluez_build
>  
> I also successfully compiled and installed dbus-1.0.2 in case.
>  
> My point is I tried bluez-2.5 with the same method and everything went 
> well and I was able to use my Bluetooth dongle.
>  
> I checked the mailing list and I’m not the only one facing this 
> problem, but I don’t see any replies providing the solution to my problem.
>  
> Is anybody able to get this thing to work? Please help!
>  
> Thanks
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>   
Hello,
This error shows that you have no /usr/lib/pkgconfig/bluez.pc file.
Here is a corresponding part of ./configure :
    pkg_cv_BLUEZ_CFLAGS=`$PKG_CONFIG --cflags "bluez" 2>/dev/null`

    What pkg-config does (man):
       pkg-config retrieves information about packages from  special  
metadata
       files. These files are named after the package, with the 
extension .pc.
       By default, pkg-config looks in the directory 
prefix/lib/pkgconfig  for
       these  files;  it  will  also  look in the colon-separated (on 
Windows,
       semicolon-separated) list of  directories  specified  by  the  
PKG_CON‐
       FIG_PATH environment variable.

This file is included in libbluetooth-dev package (in case of Ubuntu), 
or anyway it is
obtained when compliling and installing bluez-libs.
So check if you compiled and installed bluez-libs first.

Regards,
Eugene

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
it_had_even.vcf (text/x-vcard, 61 B)
begin:vcard
fn:Eugene
n:;Eugene
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.