Solved

Linux script help

Posted on 2015-02-23
27
237 Views
Last Modified: 2015-04-04
Hello,

i am trying to follow some steps for a debian install on the intell edison

i am doing the following steps and i run into an error on make install

$ apt-get install libusb-dev libdbus-1-dev libglib2.0-dev automake libudev-dev libical-dev libreadline-dev rfkill
$ wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.24.tar.xz
$ tar xf bluez-5.24.tar.xz
$ cd bluez-5.24
$ ./configure –disable-systemd
$ make -j 2
$ make install



this line gives me an error
$ make -j 2
0
Comment
Question by:Chris Jones
  • 14
  • 5
  • 4
  • +1
27 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 40627486
What is the error you get?
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40627490
the error is no target specified and no make file found
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 40627497
Do you see any makefile in your current dir?

The configure script / command should create makefile file.

Why you specify -j 2 ?
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40627531
Hello,

i was just following a tutorial i do not see a file after this command /configure –disable-systemd attached is a screen shot of that directory
make-file.PNG
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 40627558
can you run following

make clean

touch myfile

./configure –disable-systemd

find . -newer myfile

and see if yiu get makefile
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40628050
it gives me an error no rule toi make file clean
0
 
LVL 27

Expert Comment

by:serialband
ID: 40629131
When you ran ./configure, was a Makefile created?  Was there an error?  The configure is used to create a Makefile for your environment.
0
 
LVL 61

Expert Comment

by:gheist
ID: 40629239
Can you post config.log as apparently ./configure DID NOT GENERATE a Makefile?
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40629396
hello,

where will that config log be located in the  same folder as the attempted make file ?
0
 
LVL 27

Expert Comment

by:serialband
ID: 40629453
There should be a file named config.log in the folder that you ran ./configure.

cat config.log


If you can't find that file, you can also copy the text the scrolled up when you ran ./configure.  It should at least show some errors there.
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40629492
any ideal how i can get this log file off the server FTP is not on teh system and i am using putty to get in i tried the scp  command but it said there was no rout to host
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40629496
Alo i ran cat config.log and looked over the log its big but did not see any errors
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40629511
## --------- ##
## Platform. ##
## --------- ##

hostname = ubilinux
uname -m = i686
uname -r = 3.10.17-poky-edison-ww42+
uname -s = Linux
uname -v = #4 SMP PREEMPT Wed Oct 29 12:41:25 GMT 2014

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2399: checking for a BSD-compatible install
configure:2467: result: /usr/bin/install -c
configure:2478: checking whether build environment is sane
configure:2528: result: yes
configure:2669: checking for a thread-safe mkdir -p
configure:2708: result: /bin/mkdir -p
configure:2721: checking for gawk
configure:2751: result: no
configure:2721: checking for mawk
configure:2737: found /usr/bin/mawk
configure:2748: result: mawk
configure:2759: checking whether make sets $(MAKE)
configure:2781: result: yes
configure:2810: checking whether make supports nested variables
configure:2827: result: yes
configure:2895: checking how to create a pax tar archive
configure:2908: tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:2911: $? = 0
configure:2951: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
configure:2954: $? = 0
configure:2958: tar -xf - <conftest.tar
configure:2961: $? = 0
configure:2974: result: gnutar
configure:2995: checking for style of include used by make
configure:3023: result: GNU
configure:3094: checking for gcc
configure:3110: found /usr/bin/gcc
configure:3121: result: gcc
configure:3350: checking for C compiler version
configure:3359: gcc --version >&5
gcc (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3370: $? = 0
configure:3359: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.7/lto-wrapper
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5)
configure:3370: $? = 0
configure:3359: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3370: $? = 4
configure:3359: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3370: $? = 4
configure:3390: checking whether the C compiler works
configure:3412: gcc    conftest.c  >&5
configure:3416: $? = 0
configure:3464: result: yes
configure:3467: checking for C compiler default output file name
configure:3469: result: a.out
configure:3475: checking for suffix of executables
configure:3482: gcc -o conftest    conftest.c  >&5
configure:3486: $? = 0
configure:3508: result:
configure:3530: checking whether we are cross compiling
configure:3538: gcc -o conftest    conftest.c  >&5
configure:3542: $? = 0
configure:3549: ./conftest
configure:3553: $? = 0
configure:3568: result: no
configure:3573: checking for suffix of object files
configure:3595: gcc -c   conftest.c >&5
configure:3599: $? = 0
configure:3620: result: o
configure:3624: checking whether we are using the GNU C compiler
configure:3643: gcc -c   conftest.c >&5
configure:3643: $? = 0
configure:3652: result: yes
configure:3661: checking whether gcc accepts -g
configure:3681: gcc -c -g  conftest.c >&5
configure:3681: $? = 0
configure:3722: result: yes
configure:3739: checking for gcc option to accept ISO C89
configure:3802: gcc  -c -g -O2  conftest.c >&5
configure:3802: $? = 0
configure:3815: result: none needed
configure:3837: checking dependency style of gcc
configure:3948: result: gcc3
configure:3969: checking how to run the C preprocessor
configure:4000: gcc -E  conftest.c
configure:4000: $? = 0
configure:4014: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4014: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "bluez"
| #define PACKAGE_TARNAME "bluez"
| #define PACKAGE_VERSION "5.24"
| #define PACKAGE_STRING "bluez 5.24"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "bluez"
| #define VERSION "5.24"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4039: result: gcc -E
configure:4059: gcc -E  conftest.c
configure:4059: $? = 0
configure:4073: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4073: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "bluez"
| #define PACKAGE_TARNAME "bluez"
| #define PACKAGE_VERSION "5.24"
| #define PACKAGE_STRING "bluez 5.24"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "bluez"
| #define VERSION "5.24"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4102: checking for grep that handles long lines and -e
configure:4160: result: /bin/grep
configure:4165: checking for egrep
configure:4227: result: /bin/grep -E
configure:4232: checking for ANSI C header files
configure:4252: gcc -c -g -O2  conftest.c >&5
configure:4252: $? = 0
configure:4325: gcc -o conftest -g -O2   conftest.c  >&5
configure:4325: $? = 0
configure:4325: ./conftest
configure:4325: $? = 0
configure:4336: result: yes
configure:4349: checking for sys/types.h
configure:4349: gcc -c -g -O2  conftest.c >&5
configure:4349: $? = 0
configure:4349: result: yes
configure:4349: checking for sys/stat.h
configure:4349: gcc -c -g -O2  conftest.c >&5
configure:4349: $? = 0
configure:4349: result: yes
configure:4349: checking for stdlib.h
configure:4349: gcc -c -g -O2  conftest.c >&5
configure:4349: $? = 0
configure:4349: result: yes
configure:4349: checking for string.h
configure:4349: gcc -c -g -O2  conftest.c >&5
configure:4349: $? = 0
configure:4349: result: yes
configure:4349: checking for memory.h
configure:4349: gcc -c -g -O2  conftest.c >&5
configure:4349: $? = 0
configure:4349: result: yes
configure:4349: checking for strings.h
configure:4349: gcc -c -g -O2  conftest.c >&5
configure:4349: $? = 0
configure:4349: result: yes
configure:4349: checking for inttypes.h
configure:4349: gcc -c -g -O2  conftest.c >&5
configure:4349: $? = 0
configure:4349: result: yes
configure:4349: checking for stdint.h
configure:4349: gcc -c -g -O2  conftest.c >&5
configure:4349: $? = 0
configure:4349: result: yes
configure:4349: checking for unistd.h
configure:4349: gcc -c -g -O2  conftest.c >&5
configure:4349: $? = 0
configure:4349: result: yes
configure:4362: checking minix/config.h usability
configure:4362: gcc -c -g -O2  conftest.c >&5
conftest.c:54:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:4362: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "bluez"
| #define PACKAGE_TARNAME "bluez"
| #define PACKAGE_VERSION "5.24"
| #define PACKAGE_STRING "bluez 5.24"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "bluez"
| #define VERSION "5.24"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4362: result: no
configure:4362: checking minix/config.h presence
configure:4362: gcc -E  conftest.c
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:4362: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "bluez"
| #define PACKAGE_TARNAME "bluez"
| #define PACKAGE_VERSION "5.24"
| #define PACKAGE_STRING "bluez 5.24"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "bluez"
| #define VERSION "5.24"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:4362: result: no
configure:4362: checking for minix/config.h
configure:4362: result: no
configure:4383: checking whether it is safe to define __EXTENSIONS__
configure:4401: gcc -c -g -O2  conftest.c >&5
configure:4401: $? = 0
configure:4408: result: yes
configure:4434: checking whether make supports nested variables
configure:4451: result: yes
configure:4464: checking whether to enable maintainer-specific portions of Makefiles
configure:4473: result: no
configure:4543: checking for pkg-config
configure:4576: result: no
configure:4635: checking for C/C++ restrict keyword
configure:4660: gcc -c -g -O2  conftest.c >&5
configure:4660: $? = 0
configure:4668: result: __restrict
configure:4730: checking for gcc
configure:4757: result: gcc
configure:4986: checking for C compiler version
configure:4995: gcc --version >&5
gcc (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:5006: $? = 0
configure:4995: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.7/lto-wrapper
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5)
configure:5006: $? = 0
configure:4995: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:5006: $? = 4
configure:4995: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:5006: $? = 4
configure:5010: checking whether we are using the GNU C compiler
configure:5038: result: yes
configure:5047: checking whether gcc accepts -g
configure:5108: result: yes
configure:5125: checking for gcc option to accept ISO C89
configure:5201: result: none needed
configure:5223: checking dependency style of gcc
configure:5334: result: gcc3
configure:5350: checking whether gcc and cc understand -c and -o together
configure:5381: gcc -c conftest.c -o conftest2.o >&5
configure:5385: $? = 0
configure:5391: gcc -c conftest.c -o conftest2.o >&5
configure:5395: $? = 0
configure:5406: cc -c conftest.c >&5
configure:5410: $? = 0
configure:5418: cc -c conftest.c -o conftest2.o >&5
configure:5422: $? = 0
configure:5428: cc -c conftest.c -o conftest2.o >&5
configure:5432: $? = 0
configure:5450: result: yes
configure:5476: checking whether gcc accepts -fPIE
configure:5491: result: yes
configure:5560: checking build system type
configure:5574: result: i686-pc-linux-gnu
configure:5594: checking host system type
configure:5607: result: i686-pc-linux-gnu
configure:5648: checking how to print strings
configure:5675: result: printf
configure:5696: checking for a sed that does not truncate output
configure:5760: result: /bin/sed
configure:5778: checking for fgrep
configure:5840: result: /bin/grep -F
configure:5875: checking for ld used by gcc
configure:5942: result: /usr/bin/ld
configure:5949: checking if the linker (/usr/bin/ld) is GNU ld
configure:5964: result: yes
configure:5976: checking for BSD- or MS-compatible name lister (nm)
configure:6025: result: /usr/bin/nm -B
configure:6155: checking the name lister (/usr/bin/nm -B) interface
configure:6162: gcc -c -g -O2  conftest.c >&5
configure:6165: /usr/bin/nm -B "conftest.o"
configure:6168: output
00000000 B some_variable
configure:6175: result: BSD nm
configure:6178: checking whether ln -s works
configure:6182: result: yes
configure:6190: checking the maximum length of command line arguments
configure:6320: result: 1572864
configure:6337: checking whether the shell understands some XSI constructs
configure:6347: result: yes
configure:6351: checking whether the shell understands "+="
configure:6357: result: yes
configure:6392: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
configure:6432: result: func_convert_file_noop
configure:6439: checking how to convert i686-pc-linux-gnu file names to toolchain format
configure:6459: result: func_convert_file_noop
configure:6466: checking for /usr/bin/ld option to reload object files
configure:6473: result: -r
configure:6547: checking for objdump
configure:6563: found /usr/bin/objdump
configure:6574: result: objdump
configure:6606: checking how to recognize dependent libraries
configure:6804: result: pass_all
configure:6889: checking for dlltool
configure:6919: result: no
configure:6949: checking how to associate runtime and link libraries
configure:6976: result: printf %s\n
configure:7036: checking for ar
configure:7052: found /usr/bin/ar
configure:7063: result: ar
configure:7100: checking for archiver @FILE support
configure:7117: gcc -c -g -O2  conftest.c >&5
configure:7117: $? = 0
configure:7120: ar cru libconftest.a @conftest.lst >&5
configure:7123: $? = 0
configure:7128: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:7131: $? = 1
configure:7143: result: @
configure:7201: checking for strip
configure:7217: found /usr/bin/strip
configure:7228: result: strip
configure:7300: checking for ranlib
configure:7316: found /usr/bin/ranlib
configure:7327: result: ranlib
configure:7429: checking command to parse /usr/bin/nm -B output from gcc object
configure:7549: gcc -c -g -O2  conftest.c >&5
configure:7552: $? = 0
configure:7556: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7559: $? = 0
configure:7625: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:7628: $? = 0
configure:7666: result: ok
configure:7703: checking for sysroot
configure:7733: result: no
configure:7989: checking for mt
configure:8005: found /bin/mt
configure:8016: result: mt
configure:8039: checking if mt is a manifest tool
configure:8045: mt '-?'
configure:8053: result: no
configure:8692: checking for dlfcn.h
configure:8692: gcc -c -g -O2  conftest.c >&5
configure:8692: $? = 0
configure:8692: result: yes
configure:8868: checking for objdir
configure:8883: result: .libs
configure:9150: checking if gcc supports -fno-rtti -fno-exceptions
configure:9168: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:9172: $? = 0
configure:9185: result: no
configure:9512: checking for gcc option to produce PIC
configure:9519: result: -fPIC -DPIC
configure:9527: checking if gcc PIC flag -fPIC -DPIC works
configure:9545: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:9549: $? = 0
configure:9562: result: yes
configure:9591: checking if gcc static flag -static works
configure:9619: result: yes
configure:9634: checking if gcc supports -c -o file.o
configure:9655: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:9659: $? = 0
configure:9681: result: yes
configure:9689: checking if gcc supports -c -o file.o
configure:9736: result: yes
configure:9769: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:10926: result: yes
configure:10963: checking whether -lc should be explicitly linked in
configure:10971: gcc -c -g -O2  conftest.c >&5
configure:10974: $? = 0
configure:10989: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:10992: $? = 0
configure:11006: result: no
configure:11166: checking dynamic linker characteristics
configure:11666: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:11666: $? = 0
configure:11900: result: GNU/Linux ld.so
configure:12007: checking how to hardcode library paths into programs
configure:12032: result: immediate
configure:12572: checking whether stripping libraries is possible
configure:12577: result: yes
configure:12612: checking if libtool supports shared libraries
configure:12614: result: yes
configure:12617: checking whether to build shared libraries
configure:12638: result: yes
configure:12641: checking whether to build static libraries
configure:12645: result: no
configure:12728: checking for signalfd
configure:12728: gcc -o conftest -g -O2   conftest.c  >&5
configure:12728: $? = 0
configure:12728: result: yes
configure:12736: checking for clock_gettime in -lrt
configure:12761: gcc -o conftest -g -O2   conftest.c -lrt   >&5
configure:12761: $? = 0
configure:12770: result: yes
configure:12779: checking for pthread_create in -lpthread
configure:12804: gcc -o conftest -g -O2   conftest.c -lpthread   >&5
configure:12804: $? = 0
configure:12813: result: yes
configure:12822: checking for dlopen in -ldl
configure:12847: gcc -o conftest -g -O2   conftest.c -ldl   >&5
configure:12847: $? = 0
configure:12856: result: yes
configure:12867: checking for GLIB
configure:12926: result: no
configure:12928: error: GLib >= 2.28 is required

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_restrict=__restrict
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_DBUS_CFLAGS_set=
ac_cv_env_DBUS_CFLAGS_value=
ac_cv_env_DBUS_LIBS_set=
ac_cv_env_DBUS_LIBS_value=
ac_cv_env_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_GTHREAD_CFLAGS_set=
ac_cv_env_GTHREAD_CFLAGS_value=
ac_cv_env_GTHREAD_LIBS_set=
ac_cv_env_GTHREAD_LIBS_value=
ac_cv_env_ICAL_CFLAGS_set=
ac_cv_env_ICAL_CFLAGS_value=
ac_cv_env_ICAL_LIBS_set=
ac_cv_env_ICAL_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SBC_CFLAGS_set=
ac_cv_env_SBC_CFLAGS_value=
ac_cv_env_SBC_LIBS_set=
ac_cv_env_SBC_LIBS_value=
ac_cv_env_SPEEXDSP_CFLAGS_set=
ac_cv_env_SPEEXDSP_CFLAGS_value=
ac_cv_env_SPEEXDSP_LIBS_set=
ac_cv_env_SPEEXDSP_LIBS_value=
ac_cv_env_UDEV_CFLAGS_set=
ac_cv_env_UDEV_CFLAGS_value=
ac_cv_env_UDEV_LIBS_set=
ac_cv_env_UDEV_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_signalfd=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_pthread_pthread_create=yes
ac_cv_lib_rt_clock_gettime=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_cc_pie=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_pax=gnutar
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/sbin/bluez-5.24/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
ANDROID_FALSE=''
ANDROID_TRUE=''
AR='ar'
AUTOCONF='${SHELL} /usr/sbin/bluez-5.24/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/sbin/bluez-5.24/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/sbin/bluez-5.24/missing --run automake-1.11'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CLIENT_FALSE=''
CLIENT_TRUE=''
CONFIGDIR=''
CPP='gcc -E'
CPPFLAGS=''
CUPS_FALSE=''
CUPS_TRUE=''
CYGPATH_W='echo'
DATAFILES_FALSE=''
DATAFILES_TRUE=''
DBUS_CFLAGS=''
DBUS_CONFDIR=''
DBUS_LIBS=''
DBUS_SESSIONBUSDIR=''
DBUS_SYSTEMBUSDIR=''
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
EXPERIMENTAL_FALSE=''
EXPERIMENTAL_TRUE=''
FGREP='/bin/grep -F'
GLIB_CFLAGS=''
GLIB_LIBS=''
GREP='/bin/grep'
GTHREAD_CFLAGS=''
GTHREAD_LIBS=''
HID2HCI_FALSE=''
HID2HCI_TRUE=''
ICAL_CFLAGS=''
ICAL_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBRARY_FALSE=''
LIBRARY_TRUE=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/sbin/bluez-5.24/missing --run makeinfo'
MANIFEST_TOOL=':'
MANPAGES_FALSE=''
MANPAGES_TRUE=''
MISC_CFLAGS=''
MISC_LDFLAGS=''
MKDIR_P='/bin/mkdir -p'
MONITOR_FALSE=''
MONITOR_TRUE=''
NM='/usr/bin/nm -B'
NMEDIT=''
OBEX_FALSE=''
OBEX_TRUE=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='bluez'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='bluez'
PACKAGE_STRING='bluez 5.24'
PACKAGE_TARNAME='bluez'
PACKAGE_URL=''
PACKAGE_VERSION='5.24'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB='ranlib'
READLINE_FALSE=''
READLINE_TRUE=''
SBC_CFLAGS=''
SBC_LIBS=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
SIXAXIS_FALSE=''
SIXAXIS_TRUE=''
SPEEXDSP_CFLAGS=''
SPEEXDSP_LIBS=''
STRIP='strip'
SYSTEMD_FALSE=''
SYSTEMD_SYSTEMUNITDIR=''
SYSTEMD_TRUE=''
SYSTEMD_USERUNITDIR=''
TEST_FALSE=''
TEST_TRUE=''
TOOLS_FALSE=''
TOOLS_TRUE=''
UDEV_CFLAGS=''
UDEV_DIR=''
UDEV_FALSE=''
UDEV_LIBS=''
UDEV_TRUE=''
VERSION='5.24'
WARNING_CFLAGS=''
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=posix -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /usr/sbin/bluez-5.24/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "bluez"
#define PACKAGE_TARNAME "bluez"
#define PACKAGE_VERSION "5.24"
#define PACKAGE_STRING "bluez 5.24"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "bluez"
#define VERSION "5.24"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define restrict __restrict
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"

configure: exit 1
root@ubilinux:/usr/sbin/bluez-5.24# [62173.854141] dwc3-device dwc3-device.1: request f5f93900 was not queued to ep6in-bulk
[62173.854245] dwc3-device dwc3-device.1: request f5f93ae0 was not queued to ep6in-bulk
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 27

Expert Comment

by:serialband
ID: 40629585
You have several fatal errors in the configure proccess.  It seems you're still missing some libraries.  The first 2 I've included is likely a version check, but the header files may be important.

.
.
.
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
.
.
.
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
.
.
.
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4014: $? = 1
configure: failed program was:
| /* confdefs.h */
.
.
.
configure:4362: checking minix/config.h presence
configure:4362: gcc -E  conftest.c
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:4362: $? = 1
configure: failed program was:
| /* confdefs.h */
.
.
.

Open in new window

0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40629628
any ideal how i can add the library that are missing below is the tutorial i am following

$ apt-get install libusb-dev libdbus-1-dev libglib2.0-dev automake libudev-dev libical-dev libreadline-dev rfkill
$ wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.24.tar.xz
$ tar xf bluez-5.24.tar.xz
$ cd bluez-5.24
$ ./configure –disable-systemd
$ make -j 2
$ make install

Then from the original image (I have downloaded on my laptop and mounted the ext4 file locally) you should copy the following folder and files to your Edison ubilinux filesystem:
 
/etc/bluetooth/
/usr/sbin/bluetooth_rfkill_event
/usr/sbin/brcm_patchram_plus
 
As the original files from the Yocto image are looking for the bluetooth firmware in the etc folder (instead that from the /lib/firmware) from your Edison ubilinux run:
 
$ mkdir /etc/firmware
$ cp /lib/firmware/bcm43341.* /etc/firmware/
 
now from your Edison ubilinux run the bluetooth_rfkill_event in background:
$ bluetooth_rfkill_event &
$ rfkill unblock bluetooth
 
now you should see the BT device
$ hciconfig dev
 
and scan for other devices
$ hcitool scan

Open in new window

0
 
LVL 40

Expert Comment

by:omarfarid
ID: 40629951
From logs you shared some header files are missing. If these are compiler header files, then check if you have the right version of the compile, you may also try to install latest compiler.

Other reason for errors for header files is that they are not on your dir or referred to wrongly (path issue).
0
 
LVL 61

Expert Comment

by:gheist
ID: 40631091
configure:12867: checking for GLIB
configure:12926: result: no
configure:12928: error: GLib >= 2.28 is required

Thats it...
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40631113
Hello All,

i figured out what was wrong this is so noobiish of me
./configure –disable-systemd

is wrong it should be with two dashes my script changed from my copy paste job to linux

./configure --disable-systemd
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40631119
also you all may be right before ii ran the script i did a apt-get upgrade then a apt-get update
0
 
LVL 61

Expert Comment

by:gheist
ID: 40631274
It does not matter.
Your glib2-dev is too old for BuleZ you are installing.
run ./configure --help
to see if you can disable building GUI components and go ahead.
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40631294
oh ok so i run that command and what would you like me to check ?
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40631300
this is what i get

`configure' configures bluez 5.24 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking ...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/bluez]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-silent-rules          less verbose build output (undo: `make V=1')
  --disable-silent-rules         verbose build output (undo: `make V=0')
  --disable-dependency-tracking  speeds up one-time build
  --enable-dependency-tracking   do not reject slow dependency extractors
  --enable-maintainer-mode  enable make rules and dependencies not useful
                          (and sometimes confusing) to the casual installer
  --enable-static[=PKGS]  build static libraries [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-fast-install[=PKGS]
                          optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --disable-optimization  disable code optimization through compiler
  --enable-debug          enable compiling with debugging information
  --enable-pie            enable position independent executables flag
  --enable-threads        enable threading support
  --enable-library        install Bluetooth library
  --enable-test           enable test/example scripts
  --disable-tools         disable Bluetooth tools
  --disable-monitor       disable Bluetooth monitor
  --disable-udev          disable udev device support
  --disable-cups          disable CUPS printer support
  --disable-obex          disable OBEX profile support
  --disable-client        disable command line client
  --disable-systemd       disable systemd integration
  --disable-datafiles     do not install configuration and data files
  --enable-manpages       enable building of manual pages
  --enable-experimental   enable experimental plugins (SAP, NFC, ...)
  --enable-sixaxis        enable sixaxis plugin
  --enable-android        enable BlueZ for Android

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                          both]
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --with-sysroot=DIR Search for dependent libraries within DIR
                        (or the compiler's sysroot if not specified).
  --with-dbusconfdir=DIR  path to D-Bus configuration directory
  --with-dbussystembusdir=DIR
                          path to D-Bus system bus services directory
  --with-dbussessionbusdir=DIR
                          path to D-Bus session bus services directory
  --with-udevdir=DIR      path to udev directory
  --with-systemdsystemunitdir=DIR
                          path to systemd system unit directory
  --with-systemduserunitdir=DIR
                          path to systemd user unit directory

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CPP         C preprocessor
  PKG_CONFIG  path to pkg-config utility
  PKG_CONFIG_PATH
              directories to add to pkg-config's search path
  PKG_CONFIG_LIBDIR
              path overriding pkg-config's built-in search path
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  GTHREAD_CFLAGS
              C compiler flags for GTHREAD, overriding pkg-config
  GTHREAD_LIBS
              linker flags for GTHREAD, overriding pkg-config
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
  UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
  UDEV_LIBS   linker flags for UDEV, overriding pkg-config
  ICAL_CFLAGS C compiler flags for ICAL, overriding pkg-config
  ICAL_LIBS   linker flags for ICAL, overriding pkg-config
  SBC_CFLAGS  C compiler flags for SBC, overriding pkg-config
  SBC_LIBS    linker flags for SBC, overriding pkg-config
  SPEEXDSP_CFLAGS
              C compiler flags for SPEEXDSP, overriding pkg-config
  SPEEXDSP_LIBS
              linker flags for SPEEXDSP, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to the package provider.

Open in new window

0
 
LVL 61

Expert Comment

by:gheist
ID: 40631322
Sorry, your glib is too old.
You can try backports (will not hurt as you already have horrible kernel)

Can you post USB/PCI IDs od BT device? I will look in kernel changelogs - maybe it goes fine out of the box with some backport kernel and backport proprietary firmware?
0
 
LVL 1

Author Comment

by:Chris Jones
ID: 40653812
I've requested that this question be deleted for the following reason:

This as been resolved there was an issue with the command that was used that cased the error
0
 
LVL 61

Expert Comment

by:gheist
ID: 40653813
Where is the "correct" command that allows building with aged glib?
0
 
LVL 1

Accepted Solution

by:
Chris Jones earned 0 total points
ID: 40680938
the correct command was using the "--" instead of one long "-"

$ ./configure –disable-systemd

Open in new window


should be

$ ./configure --disable-systemd

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now