Kompilieren von ed2k_gui (was: Re: Suche nach File-Sharing-Programm)
On Sunday 27 October 2002 14:44, Henrik Evers wrote:
Am Sonntag, 27. Oktober 2002 00:30 schrieb Ingo Janzer:
Nun habe ich folgendes Problem: Ich habe bis jetzt immer nur binaries installiert und muss jetzt selbst kompilieren, womit ich fast keine Erfahrung habe. Configure meldet u.a., dass es Gtk+ nicht findet. Wo bekomme ich das her? (Ich hätte gedacht, das ist sowieso drauf [SuSE 8.1].)
Fehlt das devel-Paket. gtk-devel oder so, mit yast nachinstallieren. Dann funzts.
Leider auch nicht :-( Das Paket ist installiert. Ich erhalte folgende Fehlermeldung (am Schluss): ---8<---- [...] checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.8... no *** Could not run GTK test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK was incorrectly installed *** or that you have moved GTK since it was installed. In the latter case, you *** may want to edit the gtk-config script: /usr/bin/gtk-config configure: error: Cannot find Gtk+: Is gtk-config in path? --->8----- Kann mir da jemand helfen? Ingo -- Diese Nachricht wurde mit einer Taschenlampe in das offen liegende Ende eines Glasfaserkabels gemorst.
Ingo Janzer
checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.8... no *** Could not run GTK test program, checking why...
Kann mir da jemand helfen?
Schau doch mal in config.log, denn dort solltest genauere Angaben darüber finden, was denn schief ging. Entweder das gibt dir schon die Erleuchtung oder du postest den betreffenden Teil von config.log. Philipp -- Philipp Thomas Arbeit: pthomas@suse.de Entwicklung, SuSE Linux AG Privat: pth@t-link.de
Am Sonntag, 27. Oktober 2002 22:14 schrieb Philipp Thomas:
Ingo Janzer
[27 Okt 2002 15:23:31 +0100]: checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.8... no *** Could not run GTK test program, checking why...
Kann mir da jemand helfen?
Schau doch mal in config.log, denn dort solltest genauere Angaben darüber finden, was denn schief ging. Entweder das gibt dir schon die Erleuchtung oder du postest den betreffenden Teil von config.log.
Philipp
ich hab ein rpm für suse 8.0 von der ed2k_gui auf ftp://ftp.eregion.de/pub/ bye, MH -- Die unaufgeforderte Zusendung einer Werbemail an Privatleute verstößt gegen §1 UWG und §823 I BGB (Beschluß des LG Berlin vom 2.8.1998 Az: 16 O 201/98). Jede kommerzielle Nutzung der übermittelten persönlichen Daten sowie deren Weitergabe an Dritte ist ausdrücklich untersagt!
On Sunday 27 October 2002 22:14, Philipp Thomas wrote:
Ingo Janzer
[27 Okt 2002 15:23:31 +0100]: checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.8... no *** Could not run GTK test program, checking why...
Kann mir da jemand helfen?
Schau doch mal in config.log, denn dort solltest genauere Angaben
Die Idee hatte ich auch schon. Nur kann ich damit nix anfangen (wie gesagt: Anfänger im Kompilieren).
darüber finden, was denn schief ging. Entweder das gibt dir schon die Erleuchtung oder du postest den betreffenden Teil von config.log.
Was ist der betreffende Teil? Ich poste einfach mal alles, ich hoffe es
strapaziert die Liste nicht allzusehr.
-----8<-----
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:626: checking host system type
configure:647: checking target system type
configure:665: checking build system type
configure:728: checking for a BSD compatible install
configure:785: checking for -p flag to install
configure:808: checking whether build environment is sane
configure:860: checking for mawk
configure:890: checking whether make sets ${MAKE}
configure:1051: checking for style of include used by make
configure:1138: checking for gcc
configure:1251: checking whether the C compiler (gcc ) works
configure:1267: gcc -o conftest conftest.c 1>&5
configure:1293: checking whether the C compiler (gcc ) is a cross-compiler
configure:1298: checking whether we are using GNU C
configure:1326: checking whether gcc accepts -g
configure:1360: checking dependency style of gcc
configure:1524: checking how to run the C preprocessor
configure:1640: checking whether supports -frepo
configure:1667: rm -rf SunWS_cache; g++ -o conftest -frepo conftest.C 1>&5
./configure: line 1: g++: command not found
configure: failed program was:
#line 1660 "configure"
#include "confdefs.h"
int main() {
return 0;
; return 0; }
configure:1703: checking whether supports -instances=explicit
configure:1730: rm -rf SunWS_cache; g++ -o conftest -instances=explicit
conftest.C 1>&5
./configure: line 1: g++: command not found
configure: failed program was:
#line 1723 "configure"
#include "confdefs.h"
int main() {
return 0;
; return 0; }
configure:1896: checking for ld used by GCC
configure:1964: checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld
configure:1981: checking for /usr/i486-suse-linux/bin/ld option to reload
object files
configure:1993: checking for BSD-compatible nm
configure:2031: checking whether ln -s works
configure:2052: checking how to recognise dependant libraries
configure:2373: checking for ranlib
configure:2440: checking for strip
configure:2612: checking for Cygwin environment
configure:2645: 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
configure:2770: checking for object suffix
configure:2776: gcc -c -O2 conftest.c 1>&5
configure:2796: checking for executable suffix
configure:2806: gcc -o conftest -O2 conftest.c 1>&5
configure:2979: checking for ranlib
configure:3046: checking for strip
configure:3226: checking for extra includes
configure:3257: checking for extra libs
configure:3352: checking for gtk-config
configure:3387: checking for GTK - version >= 1.2.8
configure:3488: gcc -o conftest -O2 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
conftest.c
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi
-lXext -lX11 -lm 1>&5
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld:
cannot find -lXi
collect2: ld returned 1 exit status
configure: failed program was:
#line 3410 "configure"
#include "confdefs.h"
#include
Ingo Janzer
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lXi ^^^^^^^^^^^^^^^^
Das ist die entscheidende Meldung, denn da sagt der Linker, dass er die Datei libXi.so nicht findet. Ich vermute mal, das Paket xdevel ist nicht installiert. Denke daran, dass du auch immer die entsprechenden -devel Pakete brauchst (z.B. gtk-devel). Diese beinhalten sowohl die Header als auch die *.so Symlinks, die der Linker benötigt. Philipp -- Philipp Thomas Arbeit: pthomas@suse.de Entwicklung, SuSE Linux AG Privat: pth@t-link.de
On Sunday 27 October 2002 23:27, Philipp Thomas wrote:
Ingo Janzer
[27 Okt 2002 22:37:02 +0100]: /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lXi
^^^^^^^^^^^^^^^^
Das ist die entscheidende Meldung, denn da sagt der Linker, dass er die Datei libXi.so nicht findet. Ich vermute mal, das Paket xdevel ist nicht installiert. Denke daran, dass du auch immer die entsprechenden -devel Pakete brauchst (z.B. gtk-devel). Diese beinhalten sowohl die Header als auch die *.so Symlinks, die der Linker benötigt.
Ok, soweit verstanden. Tatsächlich war das fehlende xdevel Paket die Ursache für _diese_ Fehlermeldung (gtk-devel war bereits installiert). Leider lässt es sich immer noch nicht kompilieren: ----snipp---- checking for gnet-config... no checking for GNET - version >= 1.1.3... no *** The gnet-config script installed by GNet could not be found *** If GNet was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GNET_CONFIG environment variable to the *** full path to gnet-config. configure: error: Cannot find GNet: Is gnet-config in path? ----snapp---- Wo bekomme ich das jetzt wieder her? Habe alle Paketbeschreibungen durchsucht, ein 'GNET' oder 'libgnet' konnte ich nirgends finden. Ich hoffe, ich werde nicht lästig, aber ich würde das jetzt gerne durchziehen (auch wenn ich mittlerweile einen Hinweise auf ein kompiliertes rpm habe). Danke schonmal, Ingo -- Diese Nachricht wurde mit einer Taschenlampe in das offen liegende Ende eines Glasfaserkabels gemorst.
Hallo Ingo Janzer ... On Mon, 28 Oct 2002, ingo@spaetaufsteher.de wrote:
*** full path to gnet-config. configure: error: Cannot find GNet: Is gnet-config in path? ----snapp----
Wo bekomme ich das jetzt wieder her? Habe alle Paketbeschreibungen durchsucht, ein 'GNET' oder 'libgnet' konnte ich nirgends finden.
Schau hier mal nach http://www.gnetlibrary.org/ Könnte das gesuchte sein bzw. das hat ein "gnet-config". Bye, Michael
On Monday 28 October 2002 22:50, Michael Strauss wrote:
On Mon, 28 Oct 2002, ingo@spaetaufsteher.de wrote:
*** full path to gnet-config. configure: error: Cannot find GNet: Is gnet-config in path? ----snapp----
Wo bekomme ich das jetzt wieder her? Habe alle Paketbeschreibungen durchsucht, ein 'GNET' oder 'libgnet' konnte ich nirgends finden.
Schau hier mal nach
Könnte das gesuchte sein bzw. das hat ein "gnet-config".
Das wars. Vielen Dank. Allerdings frage ich mich, warum SuSE das nicht gleich mitbeipackt. Ist das so eine ungewöhnliche Bibliothek? Danke an alle für die Hilfe. Gruß, Ingo -- Diese Nachricht wurde mit einer Taschenlampe in das offen liegende Ende eines Glasfaserkabels gemorst.
Ingo Janzer wrote:
Ok, soweit verstanden. Tatsächlich war das fehlende xdevel Paket die Ursache für _diese_ Fehlermeldung (gtk-devel war bereits installiert).
Leider lässt es sich immer noch nicht kompilieren: ----snipp---- checking for gnet-config... no checking for GNET - version >= 1.1.3... no *** The gnet-config script installed by GNet could not be found *** If GNet was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GNET_CONFIG environment variable to the *** full path to gnet-config. configure: error: Cannot find GNet: Is gnet-config in path? ----snapp----
Wo bekomme ich das jetzt wieder her? Habe alle Paketbeschreibungen durchsucht, ein 'GNET' oder 'libgnet' konnte ich nirgends finden.
participants (5)
-
Ingo Janzer
-
Mathias Homann
-
Michael Meyer
-
Nightshade@sheol.net
-
Philipp Thomas