Skocz do zawartości

Fedora 7 Bluetooth


p4v3u

Rekomendowane odpowiedzi

NIe moge zainstalowac wg opisu z http://fedorasolved.org/post-install-solut...headset-config/

 

przy [root@xxx btsco]# ./configure

dostaje taki output

[root@xxx btsco]# ./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 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 for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 bluetooth/bluetooth.h usability... yes
checking bluetooth/bluetooth.h presence... yes
checking for bluetooth/bluetooth.h... yes
checking for hci_open_dev in -lbluetooth... yes
checking for sdp_connect in -lbluetooth... yes
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... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/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 recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) 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/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
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.3... found.
checking for snd_ctl_open in -lasound... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for DBUS... configure: error: Package requirements (dbus-1 >= 0.36, dbus-glib-1 >= 0.36) were not met:

No package 'dbus-glib-1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DBUS_CFLAGS
and DBUS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

[root@xxx btsco]#   

Odnośnik do komentarza
Udostępnij na innych stronach

[root@xxx kernel]# yum -y install kernel-headers
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package kernel-headers.i386 0:2.6.23.1-10.fc7 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
kernel-headers          i386       2.6.23.1-10.fc7  updates           644 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 644 k
Downloading Packages:
http://sunsite.icm.edu.pl/pub/Linux/fedora...0.fc7.i386.rpm: [Errno 14] HTTP Error 404: Date: Thu, 08 Nov 2007 10:38:09 GMT
Server: Apache/2.0.55 (Unix)
Content-Length: 357
Content-Type: text/html; charset=iso-8859-1

Trying other mirror.
(1/1): kernel-headers-2.6 100% |=========================| 644 kB    00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
 Installing: kernel-headers               ######################### [1/1]

Installed: kernel-headers.i386 0:2.6.23.1-10.fc7
Complete!
[root@xxx kernel]# make
make: *** /lib/modules/2.6.22.9-91.fc7/build: Nie ma takiego pliku ani katalogu. Stop.
make: *** [default] Błąd 2
[root@xxx kernel]#     

Odnośnik do komentarza
Udostępnij na innych stronach

[root@xxx kernel]# yum -y install kernel-headers
...
Installed: kernel-headers.i386 0:2.6.23.1-10.fc7
Complete!
[root@xxx kernel]# make
make: *** /lib/modules/2.6.22.9-91.fc7/build: Nie ma takiego pliku ani katalogu. Stop.
make: *** [default] Błąd 2

Zdecyduj sie dla jakiego jadra chcesz to kompilowac!

 

Najnowszy zainstalowany w systemie to 2.6.23.1-10 (i dla niego wlasnie yum dociagnal pliki z naglowkami) a kompilujesz nie wiedziec czemu dla 2.6.22.9-91 (uruchamiasz system na starszym jadrze?) ...

 

Zrob porzadek z kernelami (czemu nie uzywasz najnowszego?) i dopiero kompiluj...

 

Powodzenia

 

 

BTW: WalDo - kernel-devel juz mu kolega InIrudeBwoy proponowal... ;)

Odnośnik do komentarza
Udostępnij na innych stronach

[root@xxx ~]# uname -a
Linux xxx 2.6.22.9-91.fc7 #1 SMP Thu Sep 27 23:10:59 EDT 2007 i686 athlon i386 GNU/Linux
[root@xxx ~]# rpm -qa | grep kernel |sort
kernel-2.6.22.9-91.fc7
kernel-2.6.23.1-10.fc7
kernel-devel-2.6.23.1-21.fc7
kernel-headers-2.6.23.1-10.fc7
kernel-xen-2.6.20-2925.9.fc7
kernel-xen-2.6.20-2936.fc7
[root@xxx ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/mapper/pdc_cgbfcjgb
default=2
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-10.fc7)
       root (hd0,1)
       kernel /vmlinuz-2.6.23.1-10.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
       initrd /initrd-2.6.23.1-10.fc7.img
title Fedora (2.6.20-2936.fc7xen)
       root (hd0,1)
       kernel /xen.gz-2.6.20-2936.fc7
       module /vmlinuz-2.6.20-2936.fc7xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
       module /initrd-2.6.20-2936.fc7xen.img
title Fedora (2.6.22.9-91.fc7)
       root (hd0,1)
       kernel /vmlinuz-2.6.22.9-91.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
       initrd /initrd-2.6.22.9-91.fc7.img
title Fedora (2.6.20-2925.9.fc7xen)
       root (hd0,1)
       kernel /xen.gz-2.6.20-2925.9.fc7
       module /vmlinuz-2.6.20-2925.9.fc7xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
       module /initrd-2.6.20-2925.9.fc7xen.img
title winda
       rootnoverify (hd0,0)
       chainloader +1
[root@xxx ~]#     

Odnośnik do komentarza
Udostępnij na innych stronach

No dobra, wiec zacznijmy porzadki...

 

Na dzien dobry w konsoli jako root

gedit /boot/grub/grub.conf

i w linijce nr 10 (jesli sie nie pomylilem w liczeniu...)

default=2

zmien na

default=0

 

Zapisz, zrestartuj, sprawdz czy wszystko dziala, jesli tak to jedziemy dalej -

 

Teraz znow w konsoli, znow jako root

yum remove kernel-xen*

na wszelki wypadek przyjrzyj sie pakietom zaproponowanym do usuniecia bo zdarza sie, ze yum troche za szeroko rozwiazuje zaleznosci... jesli znajda sie tam tylko pakiety kernel-xen* to potwierdz usuniecie, jesli nie tylko - zaniechaj i pokaz co Ci wylistowal.

 

Zaraz bedziemy w domu ;)

Pozdro

Odnośnik do komentarza
Udostępnij na innych stronach

Teraz (stanowczo polecane)

yum update

lub, jesli nie masz czasu to

yum update kernel

Jak sie skonczy - restart, po restarcie pokaz ponownie

uname -a
rpm -qa | grep kernel | sort
cat /boot/grub/grub.conf

Pozdro

 

BTW - cos Ci sie 2 posty klepnely, zdublowany usunalem...

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...