Configure couldn't find Bluez library

Help
2004-06-22
2013-03-22
  • Hi,

    It doesn't seem that too many people use this forum, but here goes ...

    I am trying to compile bluephone on fedora core1. I have the following packages installed:

    bluez-sdp-1.5-1
    bluez-utils-2.3-14
    bluez-libs-2.4-2
    bluez-pan-1.1-2

    However, when I run configure in the source directory for bluephone, I get the following error:

    checking for main in -lbluetooth... no
    configure: error: Couldn't find the BlueZ library. try downloading the source from http://www.bluez.org/

    If anyone is reading this and can help me, I would be pleased to hear from you.

    Thanks

    Spag

     
    • Hi,

         You have to install the -dev packages which contains .h files required for compilation.

      Olivier

       
    • andmer
      andmer
      2005-12-02

      Hi there,
      I'm trying to install Bluephone but when I run, from bluephone dir, the command ./configure i receive the following:

      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for gawk... gawk
      checking whether make sets $(MAKE)... yes
      checking whether to enable maintainer-specific portions of Makefiles... no
      checking for style of include used by make... GNU
      checking for gcc... no
      checking for cc... no
      checking for cc... no
      checking for cl... no
      configure: error: no acceptable C compiler found in $PATH
      See `config.log' for more details.

      What should I do?
      Do u have any advice?

      ciao

      Andrea

       
      • Hi Andrea,

           you have to install the gcc (GNU C Compiler) package, either with;

        apt-get install gcc (for Debian system)
        yum install gcc (for Redhat based system)
        urpmi install gcc (for Mandrake based system)

           then, re-run ./configure and gcc should be found.

        Olivier

         
    • andmer
      andmer
      2005-12-02

      Hi, thank u for you answer.

      Iìve tried your solution (I installed gcc) but I got this messege:

      andrea@kalifornia:~/tmp$ cd bluephone-0.2
      andrea@kalifornia:~/tmp/bluephone-0.2$ ./configure
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for gawk... gawk
      checking whether make sets $(MAKE)... yes
      checking whether to enable maintainer-specific portions of Makefiles... no
      checking for style of include used by make... GNU
      checking for gcc... gcc
      checking for C compiler default output file name... configure: error: C compiler  cannot create executables
      See `config.log' for more details.
      andrea@kalifornia:~/tmp/bluephone-0.2$ config log
      bash: config: command not found

      Can you help?
      thank u

       
    • Glenn J. Mason
      Glenn J. Mason
      2006-02-13

      Hi Andmer,

      When the configure stage fails and instructs you to "See 'config.log' for more details", it means that a text log file has been created.  Use 'cat config.log | more' or 'less config.log' (or even open with a Text Editor such as Gedit or VIM) to read it.

      The error message "C compiler cannot create executables" means you don't have a full "toolchain" -- all the individual libraries and apps you need to compile software on your PC.  Try installing "binutils" or derivations thereof, or read the descriptions in your favourite package manager until you find one that mentions the "basic development toolchain".

      Hope that helps.  Happy hacking!