PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Ich und Kompilieren


Duke
06.12.02, 19:05
Also in kompilieren bin ich ja voll der Anfänger also ich habe mir nen CVS von kxicq runtergeladen, Readme gelesen und einige Abhängigkeiten festgestellt aber irgendwie habe ich die Packet schätze ich zum einen nicht und zum anderen kann ich sie nicht in der Packet datenbank finden aufalle Fälle kommt das raus:

duke:/home/duke/kxicq2-0.7.6 # ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
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 whether make sets ${MAKE}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

geronet
06.12.02, 19:17
Du hast keinen Compiler installiert, vorzugsweise den gcc.

Duke
06.12.02, 19:20
Ja das habe ich mir auch gedacht nur beim ersten mal habe ich es nicht in der Packetdatenbank gefudnen warum auch imemr ich installiere es jetzt erstmal

Und da stehe ich nun:
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build 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 whether make sets ${MAKE}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc ) works... no
configure: error: installation or configuration problem: C++ compiler cannot cre ate executables.

LKH
06.12.02, 20:33
Hi,

schau mal ob es ein Paket gpp gibt und wenn ja, installiere es nach.

Hoffe es hilft,

Duke
06.12.02, 21:42
Jo das hat mich schonmal weitergebracht er kommt jetzt schon nen ganzes Stück weiter jetzt hängt es an einer anderen Stelle:

loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build 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 whether make sets ${MAKE}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking whether c++ supports -fno-exceptions... yes
checking whether c++ supports -fno-check-new... yes
checking whether c++ supports -fexceptions... yes
checking how to run the C++ preprocessor... c++ -E
checking whether c++ supports -frepo... yes
checking for ld used by GCC... /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-suse-linux/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 dependant libraries... pass_all
checking for ranlib... ranlib
checking for strip... strip
checking for Cygwin environment... no
checking for mingw32 environment... no
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... yes
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
finding the maximum length of command line arguments... 73729
checking if gcc supports -c -o file.o... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared librar
ies... 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 command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
creating libtool
updating cache ./config.cache
loading cache ./config.cache
loading cache ./config.cache within ltconfig
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes
checking for objdir... .libs
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
finding the maximum length of command line arguments... (cached) 73729
checking if c++ supports -c -o file.o... (cached) yes
checking if c++ supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared librar
ies... 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 command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) no
appending configuration tag "CXX" to libtool
checking for object suffix... o
checking for executable suffix... no
checking for msgfmt... msgfmt
checking for gmsgfmt... msgfmt
found msgfmt program is not GNU msgfmt; ignore it
checking for xgettext... :
checking how to run the C preprocessor... gcc -E
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 size of int... 4
checking size of long... 4
checking size of char *... 4
checking size of char... 1
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for X... configure: error: Can't find X includes. Please check your ins tallation and add the correct paths!

oenone
06.12.02, 22:11
installier das X-devel paket... (oder XFree86-devel)

auf bald
oenone

Duke
06.12.02, 22:15
Also ich habe das Packet: xf86glx-devel installiert hat aber leider nichts gebracht

Jasper
06.12.02, 22:33
Original geschrieben von Duke
Also ich habe das Packet: xf86glx-devel installiert hat aber leider nichts gebracht

du solltest ja auch das devel-paket von XFree86 installieren und nicht von OpenGL.
wie das genau heisst ist distributionsabhängig und da du nicht angegeben hast, welche distribution...

-j

Duke
06.12.02, 22:36
du nicht angegeben hast, welche distribution...
Wenn man es genau nimmt habe ich es ja angegeben in meiner Signatur aber egal ich habe ne Suse 8.0 im Moment drauf wie heisst denn da das Packet ?

oenone
06.12.02, 22:57
bei SuSE 8.0 heißt das Paket "xdevel" und befindet sich im verzeichnis suse/x2/ auf der DVD bzw. auf der entsprechenden CD.

auf bald
oenone

Jasper
06.12.02, 23:00
Original geschrieben von Duke
Wenn man es genau nimmt habe ich es ja angegeben in meiner Signatur aber egal ich habe ne Suse 8.0 im Moment drauf wie heisst denn da das Packet ?

es gibt leute, ich zum beispiel, die haben sigs abgeschaltet :)

verwende zwar kein suse, aber versuchs mal mit xdevel.

-j

Duke
06.12.02, 23:04
Also xdevel war richtig und danach musste ich noch das qt-devel installieren und jetzt stehe ich hier nur mal die meiner Meinung nach entscheidenden Zeilen:

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

oenone
06.12.02, 23:38
probiers mal mit kdelibs3-devel oder kdebase3-devel

Duke
07.12.02, 08:50
Ich habe deine 2 und noch 1 weiteres KDE devel dings installiert hat aber alles nichts genüutzt ich hänge immernoch an der Stelle fest

Thomas Mitzkat
07.12.02, 09:08
installier dir doch alle -devel-pakete und noch automake und autoconf dazu.

Duke
07.12.02, 09:11
Also automake und autonconf sind sowieso shcon installiert und alle devels zu installieren wäre vielleicht nen bisschen viel ich meine da sind viele Dabei wo ich sofort sagen würde, dass die mit diesem Problem nichts zu tun haben können

LKH
07.12.02, 13:08
Hi,

dann gibt es da noch das Paket kdesdk3-devel und kdegraphics3-devel, vielleicht sind die es ja, die dir fehlen. Was wolltest du noch mal kompilieren? ;)

Duke
07.12.02, 13:11
Ich wollte kxicq kompelieren ich habe das problem mit dem kde hiermit gelöst:

./configure --prefix=/opt/kde3

gfc
07.12.02, 13:20
Original geschrieben von Duke
Ich wollte kxicq kompelieren ich habe das problem mit dem kde hiermit gelöst:

./configure --prefix=/opt/kde3

den prefix kannst du übrigens unter Suse immer anwenden.