ubuntuusers.de

./configure findet AM_PROG_LIBTOOL nicht

Status: Gelöst | Ubuntu-Version: Ubuntu 7.10 (Gutsy Gibbon)
Antworten |

wingchun

Anmeldungsdatum:
10. September 2007

Beiträge: 96

Wohnort: Lübeck

Hallo, ich möchte, um auf meinen Philips MP3-Player Lieder hochzuladen, LDMM (Linux Digital Media Manager, http://sourceforge.net/projects/ldmm) installieren. Dazu befolge ich die Installationsanweisungen und führe im ldmm-Verzeichnis die Anweisung ./configure aus. Leider erhalte ich den Fehler, dass der Befehl AM_PROG_LIBTOOL nicht gefunden wurde.

sandra@Timon:~/Downloads/ldmm/ldmm-0.1.15$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... 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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
./configure: line 2433: AM_PROG_LIBTOOL: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Wenn ich nun make aufrufe, resultiert das in weiteren Fehlern. Daher habe ich angenommen, dass der Grund dafür die o.g. Fehlermeldung ist. Somit habe ich das Paket libtool nachinstalliert, doch der Fehler tritt auch bei erneuter Eingabe von ./configure auf.

Da ich von Kommandozeilen-Installationen herzlich wenig Ahnung habe, würde ich mich sehr freuen, wenn mir irgenjemand einen Tipp geben könnte, wie sich das Problem beheben lässt.

Vielen Dank im Vorraus!

wingchun

(Themenstarter)

Anmeldungsdatum:
10. September 2007

Beiträge: 96

Wohnort: Lübeck

Und falls es hilft, hier noch etwas Information. 😐

sandra@Timon:~/Downloads/ldmm/ldmm-0.1.15$ cat config.log 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = Timon
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1298: checking for a BSD-compatible install
configure:1353: result: /usr/bin/install -c
configure:1364: checking whether build environment is sane
configure:1407: result: yes
configure:1472: checking for gawk
configure:1501: result: no
configure:1472: checking for mawk
configure:1488: found /usr/bin/mawk
configure:1498: result: mawk
configure:1508: checking whether make sets $(MAKE)
configure:1528: result: yes
configure:1755: checking for g++
configure:1771: found /usr/bin/g++
configure:1781: result: g++
configure:1797: checking for C++ compiler version
configure:1800: g++ --version </dev/null >&5
g++ (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1803: $? = 0
configure:1805: g++ -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:1808: $? = 0
configure:1810: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:1813: $? = 1
configure:1836: checking for C++ compiler default output file name
configure:1839: g++    conftest.cc  >&5
configure:1842: $? = 0
configure:1888: result: a.out
configure:1893: checking whether the C++ compiler works
configure:1899: ./a.out
configure:1902: $? = 0
configure:1919: result: yes
configure:1926: checking whether we are cross compiling
configure:1928: result: no
configure:1931: checking for suffix of executables
configure:1933: g++ -o conftest    conftest.cc  >&5
configure:1936: $? = 0
configure:1961: result: 
configure:1967: checking for suffix of object files
configure:1988: g++ -c   conftest.cc >&5
configure:1991: $? = 0
configure:2013: result: o
configure:2017: checking whether we are using the GNU C++ compiler
configure:2041: g++ -c   conftest.cc >&5
configure:2047: $? = 0
configure:2051: test -z 
                         || test ! -s conftest.err
configure:2054: $? = 0
configure:2057: test -s conftest.o
configure:2060: $? = 0
configure:2073: result: yes
configure:2079: checking whether g++ accepts -g
configure:2100: g++ -c -g  conftest.cc >&5
configure:2106: $? = 0
configure:2110: test -z 
                         || test ! -s conftest.err
configure:2113: $? = 0
configure:2116: test -s conftest.o
configure:2119: $? = 0
configure:2130: result: yes
configure:2172: g++ -c -g -O2  conftest.cc >&5
configure:2178: $? = 0
configure:2182: test -z 
                         || test ! -s conftest.err
configure:2185: $? = 0
configure:2188: test -s conftest.o
configure:2191: $? = 0
configure:2217: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:15: error: 'exit' was not declared in this scope
configure:2223: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "ldmm"
| #define VERSION "0.1.15"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:2172: g++ -c -g -O2  conftest.cc >&5
configure:2178: $? = 0
configure:2182: test -z 
                         || test ! -s conftest.err
configure:2185: $? = 0
configure:2188: test -s conftest.o
configure:2191: $? = 0
configure:2217: g++ -c -g -O2  conftest.cc >&5
configure:2223: $? = 0
configure:2227: test -z 
                         || test ! -s conftest.err
configure:2230: $? = 0
configure:2233: test -s conftest.o
configure:2236: $? = 0
configure:2270: checking for style of include used by make
configure:2298: result: GNU
configure:2326: checking dependency style of g++
configure:2416: result: gcc3
configure:2545: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on Timon

config.status:688: creating Makefile
config.status:688: creating src/Makefile
config.status:792: creating config.h
config.status:878: config.h is unchanged
config.status:1058: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CXX_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/sandra/Downloads/ldmm/ldmm-0.1.15/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/sandra/Downloads/ldmm/ldmm-0.1.15/missing --run tar'
AUTOCONF='${SHELL} /home/sandra/Downloads/ldmm/ldmm-0.1.15/missing --run autoconf'
AUTOHEADER='${SHELL} /home/sandra/Downloads/ldmm/ldmm-0.1.15/missing --run autoheader'
AUTOMAKE='${SHELL} /home/sandra/Downloads/ldmm/ldmm-0.1.15/missing --run automake-1.9'
AWK='mawk'
CPPFLAGS=''
CXX='g++'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/sandra/Downloads/ldmm/ldmm-0.1.15/missing --run makeinfo'
OBJEXT='o'
PACKAGE='ldmm'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.1.15'
ac_ct_CXX='g++'
ac_ct_STRIP=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='${prefix}'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/sandra/Downloads/ldmm/ldmm-0.1.15/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "ldmm"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.1.15"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0

FR

Anmeldungsdatum:
22. Mai 2007

Beiträge: 515

Wohnort: Jena

Hallo wingchun!

Schau dir Programme kompilieren an, damit du ungefähr weißt, was du tust und verwende statt "make install" dann wie beschrieben "checkinstall", aber das kommt erst später.

Folgendes löst dein Problem:

touch aclocal.m4
aclocal
autoconf

Der Befehl aclocal steckt im Paket automake, autoconf in *hey, Überraschung* autoconf.
Die Version von configure die mit dem Teil ausgeliefert wurde scheint fehlerhaft zu sein, die obigen drei Befehle erzeugen sie neu.
Aber auch sonst ist das nicht gerade der sauberste Code, es kommen noch viele weitere Fehler bei make. (Wäre das ganze gut gemacht, würde configure und nicht make den Fehler liefern, dieser wäre dann für Laien wesentlich verständlicher.)

An den langen Fehlern ist meist nur eine fehlende Datei schuld, also durchsuche die Ausgabe nach "No such file" und verwende dann die Ubuntu Paketsuche, wie im Wiki unter Beispiel 1 erläutert.
Die erste fehlende Datei "sqlite.h" befindet sich z.B. im Paket libsqlite0-dev

Ach ja, und für lange Ausgaben, nutze bitte den No Paste Service.

Hoffe, das hilft!
Schöne Grüße
Florian

wingchun

(Themenstarter)

Anmeldungsdatum:
10. September 2007

Beiträge: 96

Wohnort: Lübeck

Hi Florian!

So wie du's beschrieben hast funktioniert es mit etwas Handarbeit anstandslos! Vielen Dank für die tolle Erklärung und den Lösungsvorschlag ☺

Viele Grüße!

Antworten |