Archiv verlassen und diese Seite im Standarddesign anzeigen : ./configure fehler
oberstkhan
07.08.05, 14:53
servus,
bei mir läuft fedora core 2 , versuche verzweifelt den xmms-volume-normalizer zu compilieren, erhalte aber folgende fehlermeldung:
[oberstkhan@localhost volnorm-0.8.1]$ ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-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 executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... 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 whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 49153
checking command to parse /usr/bin/nm -B output from gcc object... failed
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... 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/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
-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) no
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 gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking for xmms... /usr/bin/xmms
checking XMMS plugin dir... /usr/lib/xmms
checking XMMS Effect plugin dir... /usr/lib/xmms/Effect
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.6... yes
checking for gtk-config... no
checking for GTK - version >= 1.2.6... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: *** GTK+ >= 1.2.6 not installed - please install first ***
GTK+-1.2.10-29.1.1 IST installiert!
wäre für jede hilfe dankbar!
Russel-Athletic
07.08.05, 14:56
Guck mal wo gtk-config ist.
Dann kannstes den Ordner höstwahrscheinlich in deinen $PATH setzen
oberstkhan
07.08.05, 15:01
Guck mal wo gtk-config ist.
Dann kannstes den Ordner höstwahrscheinlich in deinen $PATH setzen
wie kann ich das gucken??
iced-zephyr
07.08.05, 15:16
wie kann ich das gucken??
`whereis gtk-config'
oberstkhan
07.08.05, 15:18
[root@localhost oberstkhan]# whereis gtk-config
gtk-config:
[root@localhost oberstkhan]#
????????????????
Installier gtk+-devel dann geht das
oberstkhan
07.08.05, 15:28
ja dann sind wir beim nächsten problem
[root@localhost FC2rpms]# rpm -i gtk+-devel-1.2.10-29.1.1.i386.rpm
Fehler: Failed dependencies:
XFree86-devel is needed by gtk+-devel-1.2.10-29.1.1
[root@localhost FC2rpms]#
XFree86-devel find ich aber nur für fedora core 1 ?!
Russel-Athletic
07.08.05, 15:28
gtk-devel brauchst du. Wenn du das schon installiert hast, dann als root updatedb und dann locate gtk-config.
Solltest du das nicht haben, dann installier das und guck ob ./configure durchläuft.
ja dann sind wir beim nächsten problem
[root@localhost FC2rpms]# rpm -i gtk+-devel-1.2.10-29.1.1.i386.rpm
Fehler: Failed dependencies:
XFree86-devel is needed by gtk+-devel-1.2.10-29.1.1
[root@localhost FC2rpms]#
XFree86-devel find ich aber nur für fedora core 1 ?!
Installiere die Pakete über YUM und nicht von Hand.
yum update
yum install gtk+-devel
oberstkhan
07.08.05, 15:55
alles klar danke hat geklappt! :) :)
oberstkhan
07.08.05, 22:34
moin,
hab schon wieder fast das gleiche problem, weiß echt nicht weiter. beim versuch smpeg-xmms zu kompilieren krieg ich folgende tolle ausgabe:
[root@localhost smpeg-xmms-0.3.5.orig]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) 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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.2... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.2... yes
checking for xmms-config... /usr/bin/xmms-config
checking for mawk... no
checking for gawk... gawk
checking for XMMS - version >= 1.2.4... yes
checking for sdl-config... no
checking for SDL - version >= 1.2.1... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL >= 1.2.1 not installed - please install first ***
[root@localhost smpeg-xmms-0.3.5.orig]#
yum sagt mir dass SDL in der neuesten version installiert ist, allerdings gibt "whereis SDL" nichts aus?!
kann mir jemand weiterhelfen?? :confused:
Russel-Athletic
07.08.05, 22:47
Kannst du das alles nicht über yum installieren?
Ich würd darauf tippen, dass die sdl-devel Packete nicht da sind.
oberstkhan
07.08.05, 22:57
ja die sdl-devel pakete warns, jetzt hängts aber an smpeg un das hab ich komplett drauf (auch devel pakete)
[root@localhost smpeg-xmms-0.3.5.orig]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) 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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.2... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.2... yes
checking for xmms-config... /usr/bin/xmms-config
checking for mawk... no
checking for gawk... gawk
checking for XMMS - version >= 1.2.4... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.1... yes
checking for smpeg-config... /usr/bin/smpeg-config
checking for SMPEG - version >= 0.4.4... no
*** Could not run SMPEG test program, checking why...
*** The test program compiled, but did not run. This
usually means
*** that the run-time linker is not finding SMPEG or
finding the wrong
*** version of SMPEG. If it is not finding SMPEG, you'll
need to set your
*** LD_LIBRARY_PATH environment variable, or edit
/etc/ld.so.conf to point
*** to the installed location Also, make sure you have run
ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to
remove it, although
*** you may also be able to get things to work by modifying
LD_LIBRARY_PATH
configure: error: *** SMPEG >= 0.4.4 not installed - please install first ***
[root@localhost smpeg-xmms-0.3.5.orig]#
hat irgendjemand ne idee?
Russel-Athletic
07.08.05, 23:20
to the installed location Also, make sure you have run
ldconfig if that
*** is required on your system
Nochmal meine Frage: Kannst du das Programm nicht über deinen Packetmanager installieren?
christophwth
07.08.05, 23:20
HI
smpeg-devel installieren
gruss
christoph
oberstkhan
07.08.05, 23:36
Nochmal meine Frage: Kannst du das Programm nicht über deinen Packetmanager installieren?
nein, geht leider nicht.
smpeg-devel war auch schon installiert :confused:
christophwth
08.08.05, 01:14
HI
ich habe es daraufhin es auch mal versucht zu kompilieren(unter debian sid) : und hatte das selbe problem
es scheint wenn das alte autoconf irgendwas anders gemacht hat und deshalb fehler von configure
gemeldet werden.
ich habe daraufhin die brutal-methode versucht :
configure gelöscht
autoconf
half nicht !
dann
ltconfig ltmain.sh gelöscht
und mit den hilfsprogrammen :
/usr/share/libtool/ltmain.sh ins verzeichnis smpeg-xmms-0.3.5.orig kopiert
/usr/bin/autoconf
/usr/bin/autoheader
/usr/bin/autoreconf
/usr/bin/ifnames
/usr/bin/autoscan
/usr/bin/autoupdate
ein neues
configure erstellt :
das neue configure läuft , und auch das make scheint zu gehen:
das mit checkinstall erstellte pakte scheint auch alles zu beinhalten:
/usr/lib/xmms
/usr/lib/xmms/Input
/usr/lib/xmms/Input/libsmpeg_xmms.la
/usr/lib/xmms/Input/libsmpeg_xmms.so
/usr/share/doc/smpeg-xmms-0.3.5.orig
/usr/share/doc/smpeg-xmms-0.3.5.orig/AUTHORS
/usr/share/doc/smpeg-xmms-0.3.5.orig/ChangeLog
/usr/share/doc/smpeg-xmms-0.3.5.orig/COPYING
/usr/share/doc/smpeg-xmms-0.3.5.orig/INSTALL
/usr/share/doc/smpeg-xmms-0.3.5.orig/NEWS
/usr/share/doc/smpeg-xmms-0.3.5.orig/README
/usr/share/doc/smpeg-xmms-0.3.5.orig/TODO
gruss
christoph
oberstkhan
08.08.05, 09:09
danke dass du dir so de riss gegeben hast :)
bei mir hauts aber immernoch net ganz hin, ich hab ltconfig und ltmain.sh gelöscht und /usr/share/libtool/ltmain.sh ins verzeichnis smpeg-xmms-0.3.5.orig kopiert.
autoconf und autoheader laufen ohne probleme durch wie ich das seh, autoreconf bringt mir aber eine fehlermeldung:
[root@localhost smpeg-xmms-0.3.5.orig]# autoreconf
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
configure.in:15: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.in:15: AC_CANONICAL_TARGET is required by...
/usr/share/aclocal/sdl.m4:180: AM_PATH_SDL is expanded from...
configure.in:15: the top level
configure.in:15: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.in:15: AC_CANONICAL_TARGET is required by...
aclocal.m4:6510: AM_PATH_SDL is expanded from...
configure.in:15: the top level
configure.in:15: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.in:15: AC_CANONICAL_TARGET is required by...
aclocal.m4:6510: AM_PATH_SDL is expanded from...
configure.in:15: the top level
configure.in:15: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.in:15: AC_CANONICAL_TARGET is required by...
aclocal.m4:6510: AM_PATH_SDL is expanded from...
configure.in:15: the top level
configure.in:15: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
autoconf/general.m4:1657: AC_CANONICAL_TARGET is expanded from...
configure.in:15: AC_CANONICAL_TARGET is required by...
aclocal.m4:6510: AM_PATH_SDL is expanded from...
configure.in:15: the top level
src/Makefile.am:7: INCLUDES must be set with `=' before using `+='
src/Makefile.am:8: libsmpeg_xmms_la_LIBADD must be set with `=' before using `+='
src/Makefile.am: required file `./depcomp' not found
autoreconf: automake failed with exit status: 1
[root@localhost smpeg-xmms-0.3.5.orig]#
hast noch ne idee?
christophwth
08.08.05, 10:54
Hi
scheint ein automake problem zu sein :
einige warnings hatte ich auch, aber das decomp problem ist mir neu
welche automake version ?
bei mir :
sh-3.00$ automake --version
automake (GNU automake) 1.4-p6
kann sein dass du nochmal aclocal vorher ausführen musst
gruss
christoph
oberstkhan
08.08.05, 11:15
servus automake version bei mir:
[root@localhost oberstkhan]# automake --version
automake (GNU automake) 1.8.3
Written by Tom Tromey <tromey@redhat.com>.
allerdings hab ich irgendwie mehrere versionen:
[root@localhost smpeg-xmms-0.3.5.orig]# automake
automake automake-1.5 automake-1.7
automake-1.4 automake-1.6 automake-1.8
ich sag schonmal danke für die hilfe im vorraus :)
christophwth
08.08.05, 12:58
Hi
bei debian kann das über /usr/bin/automake -> /etc/alternatives/automake
eingestellt werden
existiert bei dir vielleicht ein direkter link auf
die verwendete automake version ?
falls ja versuch den mal auf automake-1.4 zu setzen.
(alten link merken falls es nachher probleme gib andere programme zu kompilieren)
gruss
christoph
oberstkhan
08.08.05, 14:41
hab keine ahnung wie ich die automake version umstellen kann habs mittels update-alternatives versucht aber den befehl raff ich irgendwie net :D
dann hab ich einfach /usr/bin/automake-1.4 in automake umbenannt, is aber auch nur sch**** bei raus gekommen :D
ich brauch hilfe *heul*
also die letzten paar zeilen von autoreconf sehen jetzt so aus:
configure.in: 4: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
configure.in: 4: required file `./[config.h].in' not found
autoreconf: automake failed with exit status: 1
[root@localhost smpeg-xmms-0.3.5.orig]#
christophwth
08.08.05, 15:20
Hi
die config.h.in sollte mit autoheader erstellt werden
sollte eine alte config.h.in existieren kann du die alte vorher löschen um sicherzugehen,
dass die datei wirklich erstellt wird.
gruss
christoph
oberstkhan
10.08.05, 16:13
hi danke für eure hilfe aber hab es doch vieeeeeeeeeeeeeeeeeeel einfacher gelöst. Hab einfach die normale configure mit ./configure --disable-smpegtest ausgeführt. Das plugin läuft ohne probleme obwohl configure smpeg nicht finden wollte. versteh ich zwar net so ganz aber egal :D
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.