vermutlich fehlt das entsprechende Devel-Paket.
Hallo zusammen,
habe ein Problem und zwar:
Ich benutze als Fenstermanager Blackbox und würde nun gerne bbkeys-0.9.1 installieren.
Da ich kein fertiges Paket für meine Distro habe müsste ich kompilieren.
Also Quellcode runtergeladen und los.
Ausgabe:
Tja, allerdings habe ich die 'libbt' in /usr/lib da diese ja essentiell für Blackbox ist.Code:checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for sed... sed 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 g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking for gawk... (cached) gawk checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for perl5... no checking for perl... /usr/bin/perl checking for minimum required perl version >= 5.004... 5.018002 checking for full perl installation... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes 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/wait.h that is POSIX.1 compatible... 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 ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for strings.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking process.h usability... no checking process.h presence... no checking for process.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for unistd.h... (cached) yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for sys/wait.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for setlocale... yes checking for sigaction... yes checking for strftime... yes checking for gettimeofday... yes checking for memset... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strncasecmp... yes checking for select... yes checking for strstr... yes checking for XOpenDisplay in -lX11... yes checking for XMissingExtension in -lXext... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBBT... configure: error: Package requirements (libbt) were not met: No package 'libbt' 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 LIBBT_CFLAGS and LIBBT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
Variablen sind auch gesetzt...
Vor allem ist es schon deshalb komisch da sich bbkeys-0.8.6 problemlos kompilieren lässt.
Hat irgendjemand eine Idee an was das liegen könnte?
dd if=/dev/null of=/dev/brain bs=512 skip=1 && sync :-)
vermutlich fehlt das entsprechende Devel-Paket.
Ich bin root - ich darf das.
So, hab jetzt nach langer Suche doch noch ein Binary-Package zum installieren gefunden. Jetzt funktioniert es, allerdings würde mich trotzdem noch interessieren an was es gelegen hat...Also falls jemand was weiß...immer gerne.
Danke.
dd if=/dev/null of=/dev/brain bs=512 skip=1 && sync :-)
Die lib genügt beim Kompilieren nicht. Da fehlen die sogenannten Header-Files aus dem entsprechenden Devel-Paket. Die werden in den Quelltexten der Programme per #include eingebunden und vom Compiler an diversen Stellen gesucht, aber nicht gefunden, weil die bei der Installation der Lib selber erst mal nicht dabei sind sonderm im entsprechende -Devel-Paket. Das wurde getrennt, denn wer nicht kompiliert, braucht die auch nicht.
Moin,
Bisschen mehr Text zum fehler findet man ueblicherweise im file config.log (leider ueblicherweise irgendwo weder direkt am Anfang noch am Ende). Da koennte dann z.B. sowas stehen:
Also hat pkg-config das file libbt.pc nicht gefunden und daraus messerscharf gefolgert; dass das so nicht gehoert...Code:configure:7273: result: /usr/bin/pkg-config configure:7298: checking pkg-config is at least version 0.9.0 configure:7301: result: yes configure:7312: checking for LIBBT configure:7319: $PKG_CONFIG --exists --print-errors "libbt" Package libbt was not found in the pkg-config search path. Perhaps you should add the directory containing `libbt.pc' to the PKG_CONFIG_PATH environment variable No package 'libbt' found
Soweit, zu checken ob die library oder headerfiles vorhanden und benutzbar sind, kam das configure script garnicht.
Wo jetzt der jeweilige Paketpacker der Distribution das .pc file gestopft hat wird er selber wissen. Wenn man die libbt selber gebaut hat, sollte das .pc file dort liegen, wo man's per configure-optionen hinbestellt hat. Also ohne --prefix bei configure anzugeben, wohl unter /usr/local/lib/pkgconfig/
Gruss
WK
Das ist aber zu viel zum Lesen und ich will, dass er einfach kompeliert!
Ah ok, ich verstehe...
Danke das hat mir sehr geholfen.
VG
dd if=/dev/null of=/dev/brain bs=512 skip=1 && sync :-)
Lesezeichen