PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : sim und qt


dragon's might
15.03.03, 20:42
OK, ich habe gesucht micht abgerackert und es hat nix geklappt :(

Vo einigen Tagen hatte ich mein Debian geschrottet, auf diesem konnte ich sim auf Anhieb
installieren und habe über die die sim nicht kompilieren nur gelächelt ...
und jetzt hat's auch micht getroffen obwohl ich die gleichen sourcen installiert habe (kde 3.1 etc.) .

Egal ob tar.gz oder cvs :

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking KDE version... 3.1
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking dependency style of gcc... gcc
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++... gcc
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
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 for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 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 ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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 how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) yes
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... 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 res_init... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for pthread_create in -lpthread... yes
Setting Linux pthread compilation options
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.


Das müsste bedeuten das ich alte qt-bibliotheken installieren müsste, aber 3.0 gibt es mit apt gar nicht ?!
Und wieso sollte es nicht mit aktuelleren funktionieren ?

Vielen Dank!
(Hab mir auch schon unter Anderem Sensemann's Thread angeschaut, wurde nicht schlauer)

Jinto
15.03.03, 20:55
qt-dev wird auch benötigt.

dragon's might
15.03.03, 21:11
Original geschrieben von Jinto
qt-dev wird auch benötigt.
Geht nicht :(
Die Abhängigkeiten drehen sich im Kreis - fehlt das wird's installiert aber was anderes entfernt.
Will er "headers and libraries" bekommt er sie - doch dann wil er "qt-mt" und ich installiere sie, aber dann will er wieder "headers an libraries"....
... ich lande in der Gummizelle ! :(

bernie
16.03.03, 00:37
Hi,

In sid brauchst du das Paket libqt3-compat-headers. kdebase-dev hast du ja oder?
Ahja, flex brauchst du dann beim kompilieren auch noch, bison vielleicht, ich installiers immer vorsichtshalber mit flex mit.

Ciao, Bernie

Jinto
16.03.03, 02:33
also du benötigst:
libqt-mt-dev (wenn du libqt-mt installiert hast)
oder
libqt-dev (weiss nicht welche qt Version das verwendet)

Normalerweise müsste es libqt-mt-dev.

HTH

dragon's might
16.03.03, 10:50
Original geschrieben von Jinto
also du benötigst:
libqt-mt-dev (wenn du libqt-mt installiert hast)
oder
libqt-dev (weiss nicht welche qt Version das verwendet)

Normalerweise müsste es libqt-mt-dev.

HTH
Ich hab nochmal Alles versucht, doch es funktioniert nicht ...:(

Edit: Es ist wirklich zum Ausrasten, dieses Programm ! :ugly:

dragon's might
16.03.03, 11:03
Zur Zusammenfassung:
- kdebase-dev ist installiert
- Alles was ich zum eigentlichen Kompilieren brauche auch (flex etc.)
- libqt3-mt-dev
- libqt3-mt

Nicht installiert:

Die zwei folgenden deinstallieren mir dann die "mt"-libs:
- libqt3-dev
- libqt3

Auch nicht installiert weil sie mir auch die "mt"-libs deinstallieren:
libqt3-emb
libqt3-emb-dev

Jinto
16.03.03, 13:23
Das sind verschiedene qt Versionen, die qt-mt´s sind AFAIK die richtigen. Die anderen brauchst du nicht nachzuinstallieren.

Ich kann nur nicht glauben, dass der Fehler immer noch der gleiche ist. Was sagt denn apt-get showpkg libqt-mt-dev?

bernie
16.03.03, 14:07
Hi,

nur zur Info, die -mt Libs sind die muti-threaded Version, da sie sonst gleich sind deinstallieren sie natürlich die anderen Libs, steht sicher im "conflicts:"

poste mal deine ganzen Fehlermeldungen.

Ciao, Bernie

dragon's might
16.03.03, 21:07
tonguc@gnu:~/Quellen/sim$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /usr/bin/kde-config
checking KDE version... 3.1
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking dependency style of gcc... gcc
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++... gcc
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
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 for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 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 ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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 how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) yes
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... 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 res_init... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for pthread_create in -lpthread... yes
Setting Linux pthread compilation options
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.


Da ist es ... :(

dragon's might
16.03.03, 21:11
Alles ist installiert:

gnu:/home/tonguc/Quellen/sim# apt-get install libqt3-mt
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, libqt3-mt is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 147 not upgraded.
gnu:/home/tonguc/Quellen/sim# apt-get install libqt3-mt-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, libqt3-mt-dev is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 147 not upgraded.
gnu:/home/tonguc/Quellen/sim# apt-get install kdebase
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, kdebase is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 147 not upgraded.
gnu:/home/tonguc/Quellen/sim# apt-get install kdebase-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, kdebase-dev is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 147 not upgraded.

soenke
16.03.03, 21:42
Hei,

ist vielleicht eine blöde Idee, aber was sagt denn

echo $QTDIR ?

Alternativ kann man glaube ich das qt-verzeichnis bei configure mit angeben.

Beste Grüße
Sönke

ra1der
16.03.03, 21:45
export $QTDIR=/pfad/zu/qt/lib & /sbin/ldconfig
+ eintrag in /etc/ld.so.conf überprüfen
+ sim mit ./configure --parametern genau sagen, wo er suchen soll.

dragon's might
17.03.03, 21:57
hmmm - ich geb auf
geht nicht :(

christophwth
18.03.03, 02:07
HI

wenn du noch alles installiert hast was du oben
gepostet hast dann gehts mit :

configure --prefix=/usr --sysconfdir=/etc \
--with-qt-dir=/usr/bin \
--with-qt-includes=/usr/include/qt3 \
--with-qt-libs=/usr/lib/qt3


genrell brauchen alle configures ,solange die qt-tools nicht zur
aktuellen qt-mt-dev version passen ,diese qt angaben .
das prefix und das sysconfdir sind optionale angaben.

gruss
christoph

Demo6_66/
18.03.03, 16:08
oder der hase liegt hier begraben :



./configure --with-qt-dir=/usr/share/qt3

Choby
19.03.03, 12:06
Also bei mir geht es mit den 0.8-1 Sourcen von sim mittels
/configure --with-qt-dir=/usr/share/qt3/lib/ --with-qt-includes=/usr/share/qt3/include --with-qt-libs=/usr/share/qt3/

wunderbar.

Ich verwende Debian woody mit KDE 3.1 aus den Nolden Paketen.

Und installiert ist libqt3-mt-dev kdelibs4-dev, nicht aufgeben :)

Choby

dragon's might
19.03.03, 12:47
Hab ich alles probiert und Vielen Dank für die Hilfe an Alle hier im Thread, aber das hat nicht funktioniert!
Dann hab ich statt den Nolden Packeten die von kde.org genommen und : Es ging !!! :D

Thx!

Choby
24.03.03, 12:37
Hmm

jetzt geht sim bei mir auch nicht mehr.


Werde mal dem Maintaner der nolden pakete mailen.
Ich habe es mit zwei cva versionen (aktuelle und mitte januar) und mit der 0.8.1 versucht.
Sim stürzt nach dem Start immer sofort ab.

@ dragon's might:
Welche KDE Pakete hast du denn ?
welche sim version funktioniert bei dir?
Insbesondere hast du die libqt3mt oder die libqt3 installiert?
Hast du woody bzw. welche libc6 ?


Vielen Dank Choby

PS.: Mal sehen an was es liegt ob KDE oder sim ...

Die Fehlermeldung bei mir sieht wie folgt aus:

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 1024 (LWP 1861)]
[New Thread 2049 (LWP 1871)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x40feba59 in wait4 () from /lib/libc.so.6
#0 0x40feba59 in wait4 () from /lib/libc.so.6
#1 0x41062e48 in __check_rhosts_file () from /lib/libc.so.6
#2 0x40de5453 in waitpid () from /lib/libpthread.so.0
#3 0x405dcaaa in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#4 0x40de2f54 in pthread_sighandler () from /lib/libpthread.so.0
#5 0x40f746b8 in sigaction () from /lib/libc.so.6
#6 0x40b9bd69 in QSocket::qt_invoke () from /usr/lib/libqt-mt.so.3
#7 0x4091aab9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#8 0x4091ac34 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#9 0x40b6e03b in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#10 0x40931aec in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#11 0x408c84da in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#12 0x408c82e4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#13 0x4057d3aa in KApplication::notify () from /usr/lib/libkdecore.so.4
#14 0x408ab083 in QEventLoop::activateSocketNotifiers ()
from /usr/lib/libqt-mt.so.3
#15 0x4088cd6a in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#16 0x408d9dae in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#17 0x408d9d0b in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#18 0x408c8632 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#19 0x080ac634 in simMessageOutput ()
#20 0x40f6414f in __libc_start_main () from /lib/libc.so.6

ra1der
24.03.03, 15:55
gibt es da keine --nodebug funktion?

Choby
24.03.03, 18:40
Was sollte mir eine -nodebug option bringen ??
Das verursacht doch den Fehler nicht.

Oder sollte ich die debug Funktion komplett einschalten ?
Wo ?

Danke Choby

toku
25.03.03, 14:08
@Choby:

Den selben Fehler bekomme ich auch. Auf der Mailingliste von sim war zu finden das es wahrscheinlich an QT 3.1.2 liegt.

Choby
25.03.03, 21:38
@ toku:

Habe ich gestern auch schon gelesen.
Trotzdem danke.
Dann heißt es wohl warten :ugly:

MfG Choby

yalu
04.04.03, 23:05
hi ich compile auch dieses file bei mir kommt als meldung aber folgendes :

checking for Qt... libraries /usr/lib/qt3/lib, headers /usr/lib/qt3/include using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/lib/qt3/bin/moc
checking for uic... /usr/lib/qt3/bin/uic
checking if Qt needs -ljpeg... no
checking for Qt... (cached) libraries /usr/lib/qt3/lib, headers /usr/lib/qt3/include using -mt
checking if Qt compiles without flags... (cached) no
checking for moc... /usr/lib/qt3/bin/moc
checking for uic... /usr/lib/qt3/bin/uic
checking if Qt needs -ljpeg... (cached) no
checking for KDE... checking for rpath... yes
configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!


was kann ich machen ?

mfg Simon

Jinto
05.04.03, 14:45
@yalu
Bitte verwende für eigene Fragen einen eigenen Thread (in dem Falle gehts, aber wenn der erste Fragesteller noch keine Problemlösung gefunden hat ist es extrem übel die Informationen unterschiedlicher Fragesteller korrekt auseinander zu halten).

Ohne Zusatzinformationen, kann man dir schlecht helfen z. B. Distribution, was du bisher gemacht hast, etc.

Das zu lesen wäre auch nicht schlecht: http://www.catb.org/~esr/faqs/smart-questions.html

Laut meiner Glaskugel fehlen dir vermutlich die *-dev Pakete der KDE, leider arbeitet sie nicht akkurat so dass ich mich auf Raten beschränken musste.