PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ./configure



DaGrrr
23.08.02, 21:20
Hallo,

ich möchte gerne ein Paket kompilieren.

Wenn ich den Befehl ./configure eingebe erscheint folgende Meldung:

bash: ./configure: No such file or directory

nur so nebenbei...
wenn ich mein Firewallscript starten möchte:
./fw kommt die gleiche Meldung

Habe ich ein Paket nicht installiert ? Wenn ja welches fehlt mir ?

Ich nutze Debin 3.0

Danke für Eure Hilfe

Grüße
DaGrrr

Spike05
23.08.02, 21:24
Les mal das README oder die INSTALL Anweisung die bei den meisten Programmen dabei ist, manchmal sind da auch andere Befehle einzugeben!

Hast Du dein Script ausführbar gemacht???

varg
23.08.02, 21:26
Ist es überhaupt vorhanden?

ls | grep configure

Wenn ja ausführbar machen

chmod a+x configure

cu

patrick

DaGrrr
23.08.02, 21:36
Hm,

Earth:~# ls | grep configure
Earth:~#
Earth:~# apt-get install configure
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package configure
Earth:~# chmod a+x configure
chmod: failed to get attributes of `configure': No such file or directory

was kann ich nun tun ?

@Spike05
Ja, das script ist ausführbar.
Laut install soll ich ./confure eingeben

Grüße
DaGrrr

Spike05
23.08.02, 21:45
Du mußt schon in den Ordner gehen in dem sich die Datei befindet und dann kannst du sie ausführbar machen!

Poste doch mal die DIR von deinen Programm! Um was für ein Programm handelt es sich denn?

3qualizer
23.08.02, 22:18
Um welches Prog haldelt es sich denn?
Bei CVS-Versionen z.B. müssen oft Skripte ausgeführt werden, die das configure überhaupt erstellen.
Aber wie Spike05 schon gesagt hat... README/INSTALL sollte das sagen...

Eric

DaGrrr
23.08.02, 23:24
Hallo,

ich möchte teax installieren unter KDE 2.2.2.

Dies ist ein style um transparenz im Menü zu erzeugen.
Laut Install soll ich ./configure --prefix=/usr eingeben.

Aber es geht einfach nicht.
configure scheint einfach nicht vorhanden zu sein :(
ich kann es einfach nicht starten !!

Grüße
DaGrrr

Spike05
23.08.02, 23:44
Wo hast du das Paket her?? Zeig uns mal den Inhalt des entpackten Files!

DaGrrr
23.08.02, 23:52
Das Paket habe ich von www.kde-look.org

unter KDE2.2 highest rate ganz oben.
file:/root/teax-0.2.1/admin
file:/root/teax-0.2.1/color-schemes
file:/root/teax-0.2.1/kcmteaxtrans
file:/root/teax-0.2.1/widget-engine
file:/root/teax-0.2.1/acinclude.m4
file:/root/teax-0.2.1/aclocal.m4
file:/root/teax-0.2.1/Changelog
file:/root/teax-0.2.1/config.h.bot
file:/root/teax-0.2.1/configure.files
file:/root/teax-0.2.1/configure.in.in
file:/root/teax-0.2.1/COPYING.BSD
file:/root/teax-0.2.1/COPYING.QPL
file:/root/teax-0.2.1/INSTALL
file:/root/teax-0.2.1/libtool
file:/root/teax-0.2.1/Makefile.am
file:/root/teax-0.2.1/Makefile.cvs
file:/root/teax-0.2.1/TODO

in der install steht:
Installation:
---------------------------------------

1. Change to the directory containing TeaX source, then do:
make -f Makefile.cvs

2. Next run the configure script.
./configure
If you're using Mandrake, Slackware or Debian do:
./configure --prefix=/usr
If you're using Suse you must run:
./configure --prefix=/opt/kde2

3. Then compile
make

4. Then as root/superuser do the following:
make install


Grüße
DaGrrr

3qualizer
24.08.02, 00:23
AFAIK sollte das configure-skript nach dieser Zeile erstellt werden:

make -f Makefile.cvs

Ich schau mir das dingens mal an (wenns für kde3 geht)

Eric

DaGrrr
24.08.02, 00:44
Hallo,

ja wer lesen kann ist im Vorteil.

DANKE !

habe nun mit ./configure es durchlaufen lassen:
----------------------------------------------------------
Don't forget to run ./configure
If you haven't done so in a while, run ./configure --help
Press any key to continue...Earth:~/teax-0.2.1# ./configure
creating 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}... 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... 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/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 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/bin/ld) supports shared libraries... 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/bin/ld) supports shared libraries... 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... configure: error: not found. Check your installation and look into config.log
------------------------------------------------------

Was für Files fehlen nun ? *Grummel*

Im Ordner teax habe ich nun folgende files:

file:/root/teax-0.2.1/admin
file:/root/teax-0.2.1/color-schemes
file:/root/teax-0.2.1/kcmteaxtrans
file:/root/teax-0.2.1/widget-engine
file:/root/teax-0.2.1/acinclude.m4
file:/root/teax-0.2.1/aclocal.m4
file:/root/teax-0.2.1/Changelog
file:/root/teax-0.2.1/confdefs.h
file:/root/teax-0.2.1/config.cache
file:/root/teax-0.2.1/config.h.bot
file:/root/teax-0.2.1/config.h.in
file:/root/teax-0.2.1/config.log
file:/root/teax-0.2.1/configure
file:/root/teax-0.2.1/configure.files
file:/root/teax-0.2.1/configure.in
file:/root/teax-0.2.1/configure.in.in
file:/root/teax-0.2.1/COPYING.BSD
file:/root/teax-0.2.1/COPYING.QPL
file:/root/teax-0.2.1/INSTALL
file:/root/teax-0.2.1/libtool
file:/root/teax-0.2.1/Makefile.am
file:/root/teax-0.2.1/Makefile.cvs
file:/root/teax-0.2.1/Makefile.in
file:/root/teax-0.2.1/stamp-h.in
file:/root/teax-0.2.1/subdirs
file:/root/teax-0.2.1/TODO

Wenn mir jemand sagt wie es weitergeht...da wäre ich dankbar.

Grüße
DaGrrr

3qualizer
24.08.02, 02:11
Ich nehm an, dass das Paket zlib fehlt (bei mir heisst es afaik so):
checking for libz... configure: error: not found

Eric

Woolf
24.08.02, 07:57
jap, jap, jap

autoconf bzw. automake gibz auch noch,
ned vergessn:cool: :D