KBear kompilieren, libz fehlt??

Vom einfachen Programm zum fertigen Debian-Paket, Fragen rund um Programmiersprachen, Scripting und Lizenzierung.
Antworten
donfaustino
Beiträge: 114
Registriert: 31.03.2004 22:05:31

KBear kompilieren, libz fehlt??

Beitrag von donfaustino » 07.04.2004 21:45:47

hi,

Wer weiß was hier noch fehlt? Habe schon libzc installiert, das wars aber nicht ...

Code: Alles auswählen

checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for the third argument of getsockname... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for killpg in -lucb... no
checking size of int... 4
checking size of long... 4
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for bool... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... configure: error: not found. Check your installation and look into config.log
workstation:/usr/local/src/kbear-1.2.1#
das config log sagt am Ende folgendes:
finde ja leider keinen backport zu kbear für kde 3.2.0

Code: Alles auswählen

configure:4047: gcc -o conftest -O2   conftest.c  1>&5
configure:4066: checking size of char *
configure:4085: gcc -o conftest -O2   conftest.c  1>&5
configure:4106: checking for dlopen in -ldl
configure:4150: checking for shl_unload in -ldld
configure:4169: gcc -o conftest -O2   conftest.c -ldld   1>&5
/usr/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure: failed program was:
#line 4158 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shl_unload();

int main() {
shl_unload()
; return 0; }
configure:4197: checking for bool
configure:4221: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -W
write-strings -Wno-long-long -fno-builtin  conftest.C 1>&5
configure: In function `int main()':
configure:4217: warning: unused variable `bool aBool'
configure:4252: checking for extra includes
configure:4283: checking for extra libs
configure:4317: checking for libz
configure:4343: gcc -o conftest -O2     conftest.c   -lz  1>&5
configure:4336: zlib.h: No such file or directory
configure: failed program was:
#line 4334 "configure"
#include "confdefs.h"

#include<zlib.h>

int main() {
return (zlibVersion() == ZLIB_VERSION);
; return 0; }
(END)
Installiert ist folgende zlibc

Code: Alles auswählen

workstation:/usr/local/src/kbear-1.2.1# dpkg -l | grep zlibc
ii  zlibc          0.9j-3         Uncompressing C Library
workstation:/usr/local/src/kbear-1.2.1#
wer weiß rat?
tobias
Mein VideoDiskRecorder (VDR) und andere Kleinigkeiten
http://privat.traffic-eye.de

Benutzeravatar
spiffi
Beiträge: 1128
Registriert: 09.08.2003 19:02:27

Beitrag von spiffi » 07.04.2004 23:00:25

Code: Alles auswählen

apt-get install zlib1g-dev
No language can express every thought unambiguously, least of all this one. -- D. R. Hofstadter

donfaustino
Beiträge: 114
Registriert: 31.03.2004 22:05:31

Beitrag von donfaustino » 09.04.2004 16:12:16

danke, das wars. Nachdem ich noch die kompletten QT und KDE devel Pakete installieren musste lief auch endlich configure durch.
Jetzt hänge ich jedoch beim maken, und ich habe wieder einmal keinen Plan was er von mir will!

Code: Alles auswählen

depmode=gcc /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kbear/lib/interfaces -I/usr/include/kde -I/usr/include/qt3/ -I/usr/X11R6/include/   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  -c -o kbearcopyjob.lo `test -f 'kbearcopyjob.cpp' || echo './'`kbearcopyjob.cpp
kbearcopyjob.cpp:700: warning: ANSI C does not allow `#warning'
kbearcopyjob.cpp:700: warning: #warning TODO : change permissions once all is finished
kbearcopyjob.cpp: In method `void KBearCopyJob::copyNextFile()':
kbearcopyjob.cpp:1086: no matching function for call to `KBearFileCopyJob::setSourceSize64 (filesize_t &)'
make[4]: *** [kbearcopyjob.lo] Error 1
make[4]: Leaving directory `/usr/local/src/kbear-3.0alpha1b/kbear/lib/jobclasses'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/kbear-3.0alpha1b/kbear/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/kbear-3.0alpha1b/kbear'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/kbear-3.0alpha1b'
make: *** [all] Error 2
workstation:/usr/local/src/kbear-3.0alpha1b#
Wer weiß hier weiter??

Tobias
Mein VideoDiskRecorder (VDR) und andere Kleinigkeiten
http://privat.traffic-eye.de

Antworten