• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Probleme mit BlueZ

Ich wusste nicht in welche Kategorie das am besten passt aber Bluetooth hat ja auch irgendwie mit drahtloser Übertragung zu tun.

In meinem Notebook Acer TravelMate 7730G ist eine Bluetooth Karte integriert und ich wollte das mal mit BlueZ testen.

http://www.bluez.org/download/

Ich hab mir dann bluez-4.25.tar.gz heruntergeladen.

Die Konsole spuckte dann folgendes aus:
stefan@linux-zsoe:~/src/bluez-4.25> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc accepts -fPIE... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for ppoll... yes
checking for dlopen in -ldl... yes
checking for DBUS... no
configure: error: D-Bus library is required
stefan@linux-zsoe:~/src/bluez-4.25>

Ich hab mal unter Yast nachgeschaut aber "dbus-1" ist bei mir instaliert. Deswegen kann ich die Fehlermeldung nicht ganz nachvollziehen.
 
open SUSE 11.1

stefan@linux-zsoe:~> rpm -qa | grep dbus
dbus-1-1.2.4-5.1
dbus-1-qt3-0.62-221.11
libdbus-1-qt3-0-0.8.1-17.72
dbus-1-python-0.82.4-49.1
dbus-1-glib-0.76-32.1
dbus-1-x11-1.2.4-5.1
 
Du willst BlueZ anscheinend compilieren, denn Du hast die Quellen runtergeladen. Die Fehlermeldungen rühren daher, dass zum Compilieren verschiedene -devel-Pakete auf dem Rechner sein müssen, aber nicht sind. BlueZ ist bei Opensuse schon länger dabei, hast Du mal ausprobiert, ob Dein Gerät vielleicht schon funktioniert? Ansonsten suchtst Du besser gezielt nach dem Bluetooth-Geräte-Namen im Netz ...

Hartmut
 
Ich hab mal den vorinstalierten Eingabe-Assistent (Bluetooth-Assistent) und Kbluelock getestet aber da hatte sich nix getan, sprich hat nicht funktioniert.

Also das bluetooth Modul ist ja bei mir schon eingebaut in mein AcerTravelMate 7730G aber ich bin da auch über google nicht wirklich fündig geworden wie das genau heist bzw. von welchem Hersteller das ist.
 
Moin,

also Bluethooth funktioniert bei mir und SuSE 11 zum erstenmal out of the box, d.h. ohne irgendwelche Dateien unter der /etc zwecks Paarung oder Passwort zu bearbeiten.

Bei dem Acer Aspire muss man aber Bluetooth an einem Schalter am Notebook nach jedem Start expliziet aktivieren, vielleicht vergessen ? :???:

habe a lot of fun
joe_eis
 
Ne ich hab den Bluetooth Schalter bei mir eingeschaltet, danach leuchtet auch so ne blaue LED auf. Trotzdem funktioniert es nicht!
 
Ich hab das jetzt nochmal mit kbtobex probiert und mein Handy findet er zumindest. Mein Handy findet aber nicht den PC.

Also ich war jetzt mal auf der Seite: http://www.freedesktop.org/wiki/Software/dbus
und hab mir dbus-1.2.12.tar.gz gezogen weil ich dachte das es womöglich an der D-Bus Version liegt.

Naja ich hab dann da auch mal ./conifgure eingegeben und dann brachte es folgendes:

Code:
stefan@linux-zsoe:~/src/dbus-1.2.12> ./configure     
checking build system type... i686-pc-linux-gnu      
checking host system type... i686-pc-linux-gnu       
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes           
checking for a thread-safe mkdir -p... /bin/mkdir -p        
checking for gawk... gawk                                   
checking whether make sets $(MAKE)... yes                   
checking how to create a ustar tar archive... gnutar        
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc                                                   
checking for C compiler default output file name... a.out                 
checking whether the C compiler works... yes                              
checking whether we are cross compiling... no                             
checking for suffix of executables...                                     
checking for suffix of object files... o                                  
checking whether we are using the GNU C compiler... yes                   
checking whether gcc accepts -g... yes                                    
checking for gcc option to accept ISO C89... none needed                  
checking for style of include used by make... GNU                         
checking dependency style of gcc... gcc3                                  
checking whether gcc and cc understand -c and -o together... yes          
checking for g++... no                                                    
checking for c++... no                                                    
checking for gpp... no                                                    
checking for aCC... no                                                    
checking for CC... no                                                     
checking for cxx... no                                                    
checking for cc++... no                                                   
checking for cl.exe... no                                                 
checking for FCC... no                                                    
checking for KCC... no                                                    
checking for RCC... no                                                    
checking for xlC_r... no                                                  
checking for xlC... no                                                    
checking whether we are using the GNU C++ compiler... no                  
checking whether g++ accepts -g... no                                     
checking dependency style of g++... none                                  
checking for library containing strerror... none required                 
checking how to run the C preprocessor... gcc -E                          
checking for grep that handles long lines and -e... /usr/bin/grep         
checking for egrep... /usr/bin/grep -E                                    
checking for ANSI C header files... yes                                   
checking for inline... inline                                             
checking for a sed that does not truncate output... /usr/bin/sed          
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld                
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes     
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B                            
checking whether ln -s works... yes                                         
checking how to recognize dependent libraries... pass_all                   
checking for sys/types.h... yes                                             
checking for sys/stat.h... yes                                              
checking for stdlib.h... yes                                                
checking for string.h... yes                                                
checking for memory.h... yes                                                
checking for strings.h... yes                                               
checking for inttypes.h... yes                                              
checking for stdint.h... yes                                                
checking for unistd.h... yes                                                
checking dlfcn.h usability... yes                                           
checking dlfcn.h presence... yes                                            
checking for dlfcn.h... yes                                                 
checking for g77... no                                                      
checking for xlf... no                                                      
checking for f77... no                                                      
checking for frt... no                                                      
checking for pgf77... no                                                    
checking for cf77... no                                                     
checking for fort77... no                                                   
checking for fl32... no                                                     
checking for af77... no                                                     
checking for xlf90... no                                                    
checking for f90... no                                                      
checking for pgf90... no                                                    
checking for pghpf... no                                                    
checking for epcf90... no                                                   
checking for gfortran... no                                                 
checking for g95... no                                                      
checking for xlf95... no                                                    
checking for f95... no                                                      
checking for fort... no                                                     
checking for ifort... no                                                    
checking for ifc... no                                                      
checking for efc... no                                                      
checking for pgf95... no                                                    
checking for lf95... no                                                     
checking for ftn... no                                                      
checking whether we are using the GNU Fortran 77 compiler... no             
checking whether  accepts -g... no                                          
checking the maximum length of command line arguments... 1572864            
checking command to parse /usr/bin/nm -B output from gcc object... ok       
checking for objdir... .libs                                                
checking for ar... ar                                                       
checking for ranlib... ranlib                                               
checking for strip... strip                                                 
checking if gcc supports -fno-rtti -fno-exceptions... no                    
checking for gcc option to produce PIC... -fPIC                             
checking if gcc PIC flag -fPIC works... yes                                 
checking if gcc static flag -static works... yes                            
checking if gcc supports -c -o file.o... yes                                
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes                                                                                            
checking whether -lc should be explicitly linked in... no                                    
checking dynamic linker characteristics... GNU/Linux ld.so                                   
checking how to hardcode library paths into programs... immediate                            
checking whether stripping libraries is possible... yes                                      
checking if libtool supports shared libraries... yes                                         
checking whether to build shared libraries... yes                                            
checking whether to build static libraries... yes                                            
configure: creating libtool                                                                  
appending configuration tag "CXX" to libtool                                                 
appending configuration tag "F77" to libtool                                                 
checking whether gcc supports "-Wfloat-equals"... no                                         
checking whether gcc supports "-Wdeclaration-after-statement"... yes                         
checking whether gcc supports "-fno-common"... yes                                           
checking whether gcc supports "-fPIC"... yes                                                 
checking whether /usr/i586-suse-linux/bin/ld supports "-z,relro"... yes                      
checking whether gcc supports "-fPIE"... yes                                                 
checking whether /usr/i586-suse-linux/bin/ld supports "-z,relro"... yes                      
checking whether /usr/i586-suse-linux/bin/ld supports "--gc-sections"... yes                 

checking size of char... 1
checking size of short... 2
checking size of long... 4 
checking size of int... 4  
checking size of void *... 4
checking size of long long... 8
checking size of __int64... 0  
checking 64-bit integer type... long long
checking 32-bit integer type... int      
checking 16-bit integer type... short    
checking whether byte ordering is bigendian... no
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking whether to use inline assembler routines for atomic integers... i486
checking for socket in -lsocket... no                                        
checking for gethostbyname... yes                                            
checking for vsnprintf... yes                                                
checking for vasprintf... yes                                                
checking for nanosleep... yes                                                
checking for usleep... yes                                                   
checking for setenv... yes                                                   
checking for clearenv... yes                                                 
checking for unsetenv... yes                                                 
checking for socketpair... yes                                               
checking for getgrouplist... yes                                             
checking for fpathconf... yes                                                
checking for setrlimit... yes                                                
checking for poll... yes                                                     
checking for broken poll... no                                               
checking for dirfd... yes                                                    
checking execinfo.h usability... yes                                         
checking execinfo.h presence... yes                                          
checking for execinfo.h... yes                                               
checking for backtrace... yes                                                
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for unistd.h... (cached) yes
checking for posix getpwnam_r... yes
checking whether socklen_t is defined... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for writev... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking for ISO C99 varargs macros in C... yes
checking for GNUC varargs macros... yes
checking for struct cmsgcred... no
checking for getpeerucred... no
checking for getpeereid... no
checking abstract socket namespace... yes
checking for XML_ParserCreate_MM in -lexpat... no
configure: error: Could not find expat.h, check config.log for failed attempts

Ich hab dann auch mal das config.log eingesehen wurde daraus aber auch nicht wirklich schlau daraus.

Aus Platzgründen musste ich es jetzt auf rapidshare hochladen.
http://rapidshare.com/files/182200892/config.log.html
 
Oben