• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Configure/Make

Zaphkiel

Newbie
Hallo!

Wenn ich MAKE eingebe, erhalte ich folgende Meldung.

thelema:/tmp/xmms-scrobbler-0.3.6 # make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.

Bei einem anderen User wurde das Problem durch Installtion vom Kernelsource behoben, den finde ich aber in meiner Softwarelist im Yast nicht. Und alle Programme, die mit dem Kernel zusammenhängen, wurden installiert.

Ich dachte mir, dass es vielleicht an fehlenden Modulen liegen könnte, da ./configure u.a. folgende Meldungen ausspuckt.

checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
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 ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
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/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
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 for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/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/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking whether byte ordering is bigendian... no
checking for long... yes
checking size of long... 4
checking if XMMS plugin is to be built... yes
checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: WARNING: *** GLIB >= 1.2.2 not installed - please install first ***
checking for xmms-config... no
checking for XMMS - version >= 1.2.4... no
*** The xmms-config script installed by XMMS could not be found.
*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XMMS_CONFIG environment variable to the
*** full path to xmms-config.
configure: WARNING: *** XMMS >= 1.2.4 not installed - please install first ***
checking if BMP plugin is to be built... yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.4.0 gtk+-2.0 >= 2.4.0... yes
checking GTK_CFLAGS... -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0
checking GTK_LIBS... -L/usr/X11R6/lib -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz -lm
checking for bmp >= 0.9.7... configure: WARNING: *** BMP >= 0.9.7rc2 not installed - please install first ***
configure: error: No media player specified, or none found. Cannot build.

Hat jemand eine Idee? Der XMMS Player ist installiert und läuft.
Gibt es vielleicht eine Dokumentation, die sich mit Fehlern, Problemen, Hinweise von configure auseinandersetzt und diese beschreibt?

Gruss
Z.
 

Grothesk

Ultimate Guru
configure: WARNING: *** GLIB >= 1.2.2 not installed - please install first ***

configure: WARNING: *** XMMS >= 1.2.4 not installed - please install first ***

Da wirst du wohl entsprechende *-devel Pakete für glibc und xmms benötigen.
 
OP
Z

Zaphkiel

Newbie
Danke für die schnellen Reaktionen. Langsam steige ich hinter das modulare System von Linux.

Habe mir die entsprechenden Module gezogen und wollte sie installieren. Für GLIB brauchte ich noch GTK+, das ich ebenfalls gezogen und installiert habe. Bei GLIB habe ich nun das Problem, dass es von XMMS nicht gefunden wird. Glib: ./configure/make/make install hat er allerdings problemlos ausgeführt, trotzdem erhalte ich die Meldung, dass Glib nicht installiert wäre. Google hat leider auch kein Ergebnis gebracht, ob man noch irgendwas zusätzlich einstellen muss.
 
:roll:

Fängst Du jetzt an, das komplette Betriebssystem nach und nach selbst zu kompilieren?

Lies die Tipps nochmal: Du sollst xmms und glib nicht selbst kompilieren, sondern die entsprechenden *-devel-Pakete mit dem Paketmanager nachinstallieren, also

xmms-devel
glib-devel

Wenn Du jetzt nach und nach all diese Bibliotheken selbst kompilierst, wirst Du nie fertig und erreichst bloß ein unsauberes System.
 
OP
Z

Zaphkiel

Newbie
xmms-devel und glib-devel waren installiert.

DaS Problem ist, dass das Plugin, das ich für Xmms installieren möchte, eine neuere XMMS-Version benötigte als bei meinem SuSE dabei war. Diese neue Version wiederum benötigte eine neuere Version von Glib, diese wiederum eine neue von DTK.

Ich habe nicht vor, Linux nach und nach selbst zu kompilieren, sondern lediglich die neueren Pakete, die nicht bei 10.1 dabei waren. Und da führt offensichtlich kein Weg dran vorbei?

Wenn es andere Möglichkeiten gibt, dann hab ich dafür natürlich ein Ohr.
 
Sag nicht "eine neuere", "eine neuere" und "eine neuere", sondern kopier bitte die Original-Fehlermeldungen.

Eine neuere glib-Version als die von SUSE 10.1 mitgelieferte gibt es nicht, weil die glib schon seit mehreren Jahren nicht weiterentwickelt wird.

Die von SUSE 10.1 mitgelieferte glib-1.2.10 ist übrigens eindeutig aktuell genug, das Skript verlangt nämlich 1.2.2, was älter als 1.2.10 ist.

Und xmms ist auch aktuell genug. Da gilt genau dasselbe, 1.2.10 ist nämlich neuer als 1.2.4. Lern mal die Versionsnummern richtig zu lesen...

Diese Fehlermeldungen kommen nicht daher, dass die Versionen zu alt sind, sondern daher, dass die *-devel-Pakete nicht installiert sind.
 
OP
Z

Zaphkiel

Newbie
traffic schrieb:
Sag nicht "eine neuere", "eine neuere" und "eine neuere", sondern kopier bitte die Original-Fehlermeldungen.

Eine neuere glib-Version als die von SUSE 10.1 mitgelieferte gibt es nicht, weil die glib schon seit mehreren Jahren nicht weiterentwickelt wird.

Die von SUSE 10.1 mitgelieferte glib-1.2.10 ist übrigens eindeutig aktuell genug, das Skript verlangt nämlich 1.2.2, was älter als 1.2.10 ist.

Und xmms ist auch aktuell genug. Da gilt genau dasselbe, 1.2.10 ist nämlich neuer als 1.2.4. Lern mal die Versionsnummern richtig zu lesen...

Diese Fehlermeldungen kommen nicht daher, dass die Versionen zu alt sind, sondern daher, dass die *-devel-Pakete nicht installiert sind.

Hmm, ok.

Merkwürdigerweise die *-devel Pakete laut YAST installiert, aber ok, ich werd Deine Infos im Hinterkopf behalten und mir das die nächsten Tage nochmal ansehen.
 
Es kann auch an Bugs im autoconf-Skript liegen.

Überprüf mal bitte folgendermaßen die Installation:
Code:
rpmverify glib-devel
rpmverify xmms-devel
ls -l `which glib-config`
ls -l `which xmms-config`
Und evtl. noch die config.log des fehlgeschlagenen Installationsversuchs irgendwo hochladen.
 
OP
Z

Zaphkiel

Newbie
Ich habe nun die ganzen im Netz gezogenen und installierten Pakete wieder deinstalliert und die originalen von der SuSE CD installiert. Erstaunlicherweise hat es funktioniert, allerdings erhalte ich bei MAKE INSTALL von XMMS Scrobbler folgende Ausgabe:

Code:
In file included from gtkstuff.c:2:
/usr/include/xmms/util.h:3:21: error: gtk/gtk.h: No such file or directory
In file included from gtkstuff.c:2:
/usr/include/xmms/util.h:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/xmms/util.h:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xmms_check_realtime_priority'
/usr/include/xmms/util.h:11: error: expected ')' before 'usec'
gtkstuff.c:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkstuff.c: In function 'about_show':
gtkstuff.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkstuff.c:24: error: 'aboutbox' undeclared (first use in this function)
gtkstuff.c:24: error: (Each undeclared identifier is reported only once
gtkstuff.c:24: error: for each function it appears in.)
gtkstuff.c:29: error: 'tmp' undeclared (first use in this function)
gtkstuff.c:32: warning: implicit declaration of function 'xmms_show_message'
gtkstuff.c:47: warning: implicit declaration of function 'gtk_signal_connect'
gtkstuff.c:47: warning: implicit declaration of function 'GTK_OBJECT'
gtkstuff.c:48: warning: implicit declaration of function 'GTK_SIGNAL_FUNC'
gtkstuff.c:48: error: 'gtk_widget_destroyed' undeclared (first use in this function)
gtkstuff.c: At top level:
gtkstuff.c:51: error: expected ')' before '*' token
gtkstuff.c: In function 'errorbox_show':
gtkstuff.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkstuff.c:69: error: 'errorbox' undeclared (first use in this function)
gtkstuff.c:75: error: 'tmp' undeclared (first use in this function)
gtkstuff.c:92: error: 'set_errorbox_done' undeclared (first use in this function)
gtkstuff.c: At top level:
gtkstuff.c:112: error: expected ')' before '*' token
gtkstuff.c: In function 'configure_dialog':
gtkstuff.c:143: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkstuff.c:143: error: 'cnfdlg' undeclared (first use in this function)
gtkstuff.c:144: error: 'GtkWidget' undeclared (first use in this function)
gtkstuff.c:159: warning: implicit declaration of function 'gtk_window_new'
gtkstuff.c:159: error: 'GTK_WINDOW_DIALOG' undeclared (first use in this function)
gtkstuff.c:160: warning: implicit declaration of function 'gtk_window_set_title'
gtkstuff.c:160: warning: implicit declaration of function 'GTK_WINDOW'
gtkstuff.c:171: error: 'gtk_widget_destroyed' undeclared (first use in this function)
gtkstuff.c:173: error: 'vbox' undeclared (first use in this function)
gtkstuff.c:173: warning: implicit declaration of function 'gtk_vbox_new'
gtkstuff.c:175: error: 'unhbox' undeclared (first use in this function)
gtkstuff.c:175: warning: implicit declaration of function 'gtk_hbox_new'
gtkstuff.c:176: error: 'eduname' undeclared (first use in this function)
gtkstuff.c:176: warning: implicit declaration of function 'gtk_entry_new'
gtkstuff.c:177: error: 'lblun' undeclared (first use in this function)
gtkstuff.c:177: warning: implicit declaration of function 'gtk_label_new'
gtkstuff.c:178: warning: implicit declaration of function 'gtk_box_pack_start'
gtkstuff.c:178: warning: implicit declaration of function 'GTK_BOX'
gtkstuff.c:181: error: 'pwhbox' undeclared (first use in this function)
gtkstuff.c:182: error: 'edpwd' undeclared (first use in this function)
gtkstuff.c:183: error: 'lblpw' undeclared (first use in this function)
gtkstuff.c:184: warning: implicit declaration of function 'gtk_entry_set_visibility'
gtkstuff.c:184: warning: implicit declaration of function 'GTK_ENTRY'
gtkstuff.c:191: error: 'hbox' undeclared (first use in this function)
gtkstuff.c:193: error: 'btnok' undeclared (first use in this function)
gtkstuff.c:193: warning: implicit declaration of function 'gtk_button_new_with_label'
gtkstuff.c:195: error: 'saveconfig' undeclared (first use in this function)
gtkstuff.c:197: error: 'btncancel' undeclared (first use in this function)
gtkstuff.c:198: warning: implicit declaration of function 'gtk_signal_connect_object'
gtkstuff.c:199: error: 'gtk_widget_destroy' undeclared (first use in this function)
gtkstuff.c:205: error: 'frame' undeclared (first use in this function)
gtkstuff.c:205: warning: implicit declaration of function 'gtk_frame_new'
gtkstuff.c:206: warning: implicit declaration of function 'gtk_container_add'
gtkstuff.c:206: warning: implicit declaration of function 'GTK_CONTAINER'
gtkstuff.c:213: warning: implicit declaration of function 'gtk_entry_set_text'
gtkstuff.c:219: warning: implicit declaration of function 'gtk_widget_show_all'
make: *** [libxmms_scrobbler_la-gtkstuff.lo] Fehler 1
 
OP
Z

Zaphkiel

Newbie
oc2pus schrieb:
/usr/include/xmms/util.h:3:21: error: gtk/gtk.h: No such file or directory

gtk-devel installieren ...

Super. Hat geklappt. Worauf man nicht alles achten muss :roll:

Kann jemand ein gutes Buch empfehlen, das sich speziell mit der Shell von Linux auseinandersetzt?

Wenn ich aus den Problemen und der Lösung resümiere, bin ich jetzt zu folgenden Erkenntnisssen gekommen:

- Bei Fehlern, sofern die nicht gefundenen Module installiert sind, immer nach den jeweiligen -devel-Dateien suchen und installieren.

- Abhängigkeiten beachten.

Hat jemand noch allgemeine Hinweise in dieser Richtung?
 

oc2pus

Ultimate Guru
Zaphkiel schrieb:
... Bei Fehlern, sofern die nicht gefundenen Module installiert sind, immer nach den jeweiligen -devel-Dateien suchen und installieren.

zuerst die README lesen welche Pakete gebraucht werden
dann ./configure --help um zu checken welche Optionen es gibt
und dann IMMER die *-devel installieren zum compilieren,
zum Programm starten braucht man die devel-Pakete i.d.R. nicht mehr
 
Oben