PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Weiteres Compilieren ...



schera
01.08.01, 08:30
Erstmals hallo an alle ...
Bin ein Linux-Neuling, denn nach längerer Windows-Erfahrung hat´s auch mich mit dem Linux-Fieber erwischt ... Gott sei Dank!
Nur leider ist aller Anfang schwer und deshalb hoff ich auf etwas Hilfe von Euch!

Mein Problem:

Nach längerem Umhergetue hab ich endlich rausgefunden wie man Programme von Dritten installieren kann ...
Nur leider funkt das nur gelegentlich ...
Einmal geht´s und dann wieder nicht .. z.B. Fehlermeldungen wie:

Keine KDE-Header Dateien gefunden obwohl ich den richtigen Pfad bei der configdatei angegeben habe .. (falsche Version oder wie?)

-lssl Recursive Error ...
dieser Fehler ist z.B. bei Quanta Plus ... denn ich bräuchte umbedingt einen "sehr" guten php-Editor .. nur leider kann ich den nicht fertig compilieren ..

was mache ich denn da falsch?
Hab somit versucht einige C-Bibliotheken von der SuSE - CD zu installieren, aber ohne Erfolg!

Achja, hab mir gerade das SuSE 7.2 professional Paket gekauft ...

Kann mir wer helfen?

Danke im voraus,

schera

McG.linux
01.08.01, 09:19
hi

Schau mal nach ob du wirklich die Devel-dateien installiert hast (hier v.a. die der kde - einfach per yast im Ordner kde2 schauen)

Was Quanta angeht.. scheint irgendwie n prob mit der ssl-library zu sein, schau mal ob da die abhängigkeiten stimmen und installier das ssl-packet neu

Gruß
McG.linux

Munick
01.08.01, 09:20
Hi!

Schau dir mal in dem Verzeichnis die config.log an. Da kann man mit etwas Erfahrung meist schon auf den ersten Blick sehen, was fehlt.
Die KDE-Header sind in den kde*-devel-Paketen drin, also müsstest du schauen, ob die installiert sind.
Zu Quanta-Plus:
-lssl Recursive Error ...
Da scheint openssl zu fehlen.

CU

schera
01.08.01, 10:08
Tja, leider hast noch immer nicht gefunkt ...
look at my config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:617: checking host system type
configure:638: checking target system type
configure:656: checking build system type
configure:715: checking for a BSD compatible install
configure:772: checking for -p flag to install
configure:795: checking whether build environment is sane
configure:833: checking whether make sets ${MAKE}
configure:879: checking for working aclocal
configure:892: checking for working autoconf
configure:905: checking for working automake
configure:918: checking for working autoheader
configure:931: checking for working makeinfo
configure:1037: checking for a C-Compiler
configure:1043: checking for gcc
configure:1149: checking whether the C compiler (gcc ) works
configure:1165: gcc -o conftest conftest.c 1>&5
configure:1191: checking whether the C compiler (gcc ) is a cross-compiler
configure:1196: checking whether we are using GNU C
configure:1308: checking how to run the C preprocessor
configure:1370: checking for a C++-Compiler
configure:1376: checking for g++
configure:1492: checking whether the C++ compiler (g++ ) works
configure:1513: rm -rf SunWS_cache; g++ -o conftest conftest.C 1>&5
configure:1539: checking whether the C++ compiler (g++ ) is a cross-compiler
configure:1544: checking whether we are using GNU C++
configure:1628: checking whether g++ supports -fno-exceptions
configure:1662: checking whether g++ supports -fno-check-new
configure:1701: checking whether g++ supports -Wno-long-long
configure:1733: checking whether g++ supports -Wnon-virtual-dtor
configure:1765: checking whether g++ supports -fno-builtin
configure:1810: checking whether g++ supports -fexceptions
configure:1845: checking whether g++ supports -frtti
configure:1934: checking how to run the C++ preprocessor
configure:2017: checking whether g++ supports -frepo
configure:2212: checking for ld used by GCC
configure:2280: checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld
configure:2297: checking for /usr/i486-suse-linux/bin/ld option to reload object files
configure:2309: checking for BSD-compatible nm
configure:2347: checking whether ln -s works
configure:2368: checking how to recognise dependant libraries
configure:2689: checking for ranlib
configure:2756: checking for strip
configure:2928: checking for Cygwin environment
configure:2961: checking for mingw32 environment
ltconfig:678:checking for gcc option to produce PIC
ltconfig:687:checking that gcc PIC flag -fPIC -DPIC works.
ltconfig:749: checking if gcc static flag -static works
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:883: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:884: gcc -c -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: gcc -c -O2 conftest.c 1>&5
ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1479: gcc -o conftest -O2 -fno-builtin -fno-rtti -fno-exceptions conftest.c conftstm.o 1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1976: checking whether a statically linked program can dlopen itself
g++ -E conftest.cc
ltconfig:678:checking for g++ option to produce PIC
ltconfig:687:checking that g++ PIC flag -fPIC -DPIC works.
ltconfig:697: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -fPIC -DPIC -DPIC conftest.cc 1>&5
ltconfig:749: checking if g++ static flag -static works
ltconfig:758: g++ -o conftest -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -static conftest.cc 1>&5
ltconfig:780: finding the maximum length of command line arguments
ltconfig:@lineno@: result: 73729
ltconfig:883: checking if g++ supports -fno-rtti -fno-exceptions
ltconfig:884: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -fno-rtti -fno-exceptions -c conftest.cc conftest.cc 1>&5
ltconfig:1423: checking if global_symbol_pipe works
ltconfig:1424: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin conftest.cc 1>&5
ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1479: g++ -o conftest -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -fno-builtin -fno-rtti -fno-exceptions conftest.cc conftstm.o 1>&5
ltconfig:1863: checking for dlfcn.h
ltconfig:1902: checking whether a program can dlopen itself
ltconfig:1976: checking whether a statically linked program can dlopen itself
configure:3108: checking for object suffix
configure:3134: checking for executable suffix
configure:3190: checking for msgfmt
configure:3224: checking for gmsgfmt
configure:3269: checking for xgettext
configure:3322: checking for main in -lcompat
configure:3359: checking for crypt in -lcrypt
configure:3453: checking for socklen_t
configure:3550: checking for dnet_ntoa in -ldnet
configure:3591: checking for dnet_ntoa in -ldnet_stub
configure:3632: checking for inet_ntoa
configure:3722: checking for connect
configure:3813: checking for remove
configure:3905: checking for shmat
configure:3995: checking for res_init
configure:4041: checking for res_init in -lresolv
configure:4087: checking for killpg in -lucb
configure:4175: checking size of int
configure:4213: checking size of long
configure:4251: checking size of char *
configure:4289: checking size of char
configure:4329: checking for dlopen in -ldl
configure:4373: checking for shl_unload in -ldld
configure:4421: checking for extra includes
configure:4452: checking for extra libs
configure:4486: checking for libz
configure:4542: checking for X
configure:4828: checking for IceConnectionNumber in -lICE
configure:4876: checking for libXext
configure:4987: checking for libpng
configure:5049: checking for libjpeg6b
configure:5110: checking for libjpeg
configure:5313: checking for Qt
configure:5530: checking if Qt compiles without flags
configure:5678: checking for moc
configure:5744: checking for uic
configure:5829: checking for rpath
configure:5858: checking for KDE
configure:6034: checking for KDE paths
configure:6520: checking for dcopidl
configure:6580: checking for dcopidl2cpp
configure:6640: checking for mcopidl
configure:6700: checking for kdb2html
configure:6760: checking for artsc-config
configure:6820: checking for kde-config
configure:7001: checking for libtiff tiff
configure:7262: checking if quanta should be compiled

Schaut eigentlich ganz gut aus aber während des Compilieren folgendes:


document.o: In function `Document: :Document(int, KWriteDoc *, QWidget *, char co
nst *)':
document.o(.text+0x82): undefined reference to `Document: :DCOPObject virtual tab
le'
document.o(.text+0x8f): undefined reference to `Document::KWriteIface virtual ta
ble'
document.o(.text+0x96): undefined reference to `Document::QPaintDevice virtual t
able'
document.o(.text+0x9d): undefined reference to `Document::KXMLGUIClient virtual
table'
document.o(.text+0xa4): undefined reference to `Document virtual table'
document.o: In function `Document::~Document(void)':
document.o(.text+0x12f): undefined reference to `Document::QPaintDevice virtual
table'
document.o(.text+0x136): undefined reference to `Document::KXMLGUIClient virtual
table'
document.o(.text+0x143): undefined reference to `Document virtual table'
document.o(.text+0x14c): undefined reference to `Document: :DCOPObject virtual ta
ble'
document.o(.text+0x159): undefined reference to `Document::KWriteIface virtual t
able'
quanta_init.o: In function `QuantaApp::QuantaApp(int)':
quanta_init.o(.text+0x4a): undefined reference to `QuantaApp::KXMLGUIClient virt
ual table'
quanta_init.o(.text+0x51): undefined reference to `QuantaApp::QPaintDevice virtu
al table'
quanta_init.o(.text+0x58): undefined reference to `QuantaApp::KXMLGUIBuilder vir
tual table'
quanta_init.o(.text+0x5f): undefined reference to `QuantaApp virtual table'
quanta_init.o: In function `QuantaApp::~QuantaApp(void)':
quanta_init.o(.text+0x5ee): undefined reference to `QuantaApp::QPaintDevice virt
ual table'
quanta_init.o(.text+0x5f5): undefined reference to `QuantaApp::KXMLGUIBuilder vi
rtual table'
quanta_init.o(.text+0x5fc): undefined reference to `QuantaApp virtual table'
quanta_init.o(.text+0x609): undefined reference to `QuantaApp::KXMLGUIClient vir
tual table'
quantadoc.o: In function `QuantaDoc::QuantaDoc(QuantaApp *, QWidget *, char cons
t *)':
quantadoc.o(.text+0x22): undefined reference to `QuantaDoc virtual table'
quantadoc.o: In function `QuantaDoc::~QuantaDoc(void)':
quantadoc.o(.text+0x7f): undefined reference to `QuantaDoc virtual table'
quantadoc.o: In function `QuantaDoc: :openDocument(KURL const &)':
quantadoc.o(.text+0x819): undefined reference to `QuantaDoc::title(QString)'
quantadoc.o: In function `QuantaDoc::finishLoadURL(KWrite *)':
quantadoc.o(.text+0x994): undefined reference to `QuantaDoc::newStatus(void)'
quantadoc.o: In function `QuantaDoc::saveDocument(KURL const &)':
quantadoc.o(.text+0xb7c): undefined reference to `QuantaDoc::title(QString)'
quantaview_init.o: In function `QuantaView::QuantaView(QuantaApp *, QWidget *, c
har const *)':
quantaview_init.o(.text+0x22): undefined reference to `QuantaView::QPaintDevice
virtual table'
quantaview_init.o(.text+0x29): undefined reference to `QuantaView virtual table'
quantaview_init.o: In function `QuantaView::~QuantaView(void)':
quantaview_init.o(.text+0x21d): undefined reference to `QuantaView::QPaintDevice
virtual table'
quantaview_init.o(.text+0x22a): undefined reference to `QuantaView virtual table
'
quantaview_slots.o: In function `QuantaView::slotNewCurPos(void)':
quantaview_slots.o(.text+0x423e): undefined reference to `QuantaView::newCurPos(
void)'
collect2: ld returned 1 exit status
make[3]: *** [quanta] Error 1
make[3]: Leaving directory `/usr/Programme/quanta/quanta'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/Programme/quanta/quanta'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/Programme/quanta'
make: *** [all-recursive-am] Error 2
linux:/usr/Programme/quanta #


Also ich blick da nicht wirklich durch ...

mit den openssl hattest du recht .. die fehlten und weiters auch einige KDE-Devel dateien ...

Könnt ihr mit dieser Fehlermeldung etwas anfangen?

thx,

schera

McG.linux
01.08.01, 12:29
hast du mittlerweile in seinem quanta ordner schon mal

make clean
und
rm config.cache (falls vorhanden)

ausgefürt?

Gruß
McG.linux

schera
01.08.01, 12:40
Hab ich gerade probiert ...
danach ein Neuversuch das besch.. Prog nochmals zu installieren ... leider noch immer der gleiche Fehler ...
Kanns vielleicht am Programm selbst liegen?
Allerdings kann ich mir das nicht vorstellen, da andere es ebenso verwenden können!

Weißt du noch weiter?

thx,

schera

McG.linux
09.08.01, 10:29
hm..

hast du die packete mit yast deinstalliert?

Also eine möglichkeit wäre nochmal:

ldconfig
make clean
rm config.cache
./configure
make
make install

Wenn es nicht klappt, dann zieh dir doch einfach die rpm-file vom suse-ftp-server

Oder du kommst mal in den #tux - channel und lässt dir da direkt helfen..

Gruß
McG.linux