PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem bei make



tomachter
14.09.03, 19:22
Hallo Leutz
Ich hab ein Problem bei ./configure und make, welches weiss ich nicht genau, vielleicht könnt ihr mir ja sagen woran es liegt :( Danke schonmal!

[tom@localhost tom]$ cd /home/tom/lineakd-0.6.1
[tom@localhost lineakd-0.6.1]$ ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
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-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[tom@localhost lineakd-0.6.1]$ which gcc
which: no gcc in (/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/tom/bin:/usr/local/j2re1.4.2/bin)
[tom@localhost lineakd-0.6.1]$ find / -name gcc
find: /etc/skel/tmp: Permission denied
find: /etc/default: Permission denied
find: /etc/webmin: Permission denied
find: /etc/shorewall: Permission denied
find: /mnt/floppy: Input/output error
find: /mnt/cdrom: Input/output error
find: /tmp/ksocket-root: Permission denied
find: /tmp/kde-root: Permission denied
find: /tmp/mcop-root: Permission denied
find: /var/lib/xdm: Permission denied
find: /var/lib/nfs/statd: Permission denied
find: /var/lib/slocate: Permission denied
find: /var/lib/gdm: Permission denied
find: /var/run/sudo: Permission denied
find: /var/run/webmin: Permission denied
find: /var/spool/cron: Permission denied
find: /var/spool/at: Permission denied
find: /root: Permission denied
find: /proc/1/fd: Permission denied
find: /proc/2/fd: Permission denied
find: /proc/3/fd: Permission denied
find: /proc/4/fd: Permission denied
find: /proc/5/fd: Permission denied
find: /proc/6/fd: Permission denied
find: /proc/7/fd: Permission denied
find: /proc/8/fd: Permission denied
find: /proc/12/fd: Permission denied
find: /proc/83/fd: Permission denied
find: /proc/178/fd: Permission denied
find: /proc/328/fd: Permission denied
find: /proc/748/fd: Permission denied
find: /proc/814/fd: Permission denied
find: /proc/830/fd: Permission denied
find: /proc/838/fd: Permission denied
find: /proc/885/fd: Permission denied
find: /proc/1121/fd: Permission denied
find: /proc/1473/fd: Permission denied
find: /proc/1521/fd: Permission denied
find: /proc/1523/fd: Permission denied
find: /proc/1540/fd: Permission denied
find: /proc/1568/fd: Permission denied
find: /proc/1573/fd: Permission denied
find: /proc/1713/fd: Permission denied
find: /proc/1752/fd: Permission denied
find: /proc/1772/fd: Permission denied
find: /proc/2036/fd: Permission denied
find: /proc/2075/fd: Permission denied
find: /proc/2207/fd: Permission denied
find: /proc/2208/fd: Permission denied
find: /proc/2209/fd: Permission denied
find: /proc/2210/fd: Permission denied
find: /proc/2211/fd: Permission denied
find: /proc/2212/fd: Permission denied
find: /proc/2224/fd: Permission denied
find: /proc/2240/fd: Permission denied
find: /proc/2610/fd: Permission denied
find: /proc/2781/fd: Permission denied
find: /proc/3095/fd: Permission denied
find: /proc/4126/fd: Permission denied
find: /proc/4130/fd: Permission denied
find: /proc/4133/fd: Permission denied
find: /.gconfd: Permission denied
[tom@localhost lineakd-0.6.1]$ /.configure
bash: /.configure: No such file or directory
[tom@localhost lineakd-0.6.1]$ ./configure
loading 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-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
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 how to run the C preprocessor... gcc -E
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... no
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... yes
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... no
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) yes
appending configuration tag "CXX" to libtool
checking for object suffix... o
checking for executable suffix... no
checking for extra includes... no
checking for extra libs... no
checking for getopt.h... yes
checking if XOSD is going to be used... checking for xosd.h... no
checking for xosd-config... none
no
checking for X... no
configure: error: You must have X installed
[tom@localhost lineakd-0.6.1]$ make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
[tom@localhost lineakd-0.6.1]$

kane32
14.09.03, 19:47
Wer lesen kann ist im Vorteil:

checking for X... no
configure: error: You must have X installed

Ist X installiert?
Sind die XFree86-devel pakete installiert?

tomachter
14.09.03, 19:56
Ja X ist jetzt komplett installiert. Es felhe ein Xfree86-devel und danach hat sich das schon ein wenig geändert. Tut mir leid, ich versteh die koinsolensprache nicht wirklich und hab sonst immer passende rpms gekriegt, aber für lineak find ich keins das funzt. Kann mir jemand sagen was hier falsch ist?

[tom@localhost tom]$ cd /home/tom/lineakd-0.6.1
[tom@localhost lineakd-0.6.1]$ ./configure
loading 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... (cached) /usr//bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
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 how to run the C preprocessor... (cached) gcc -E
checking for c++... (cached) 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++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking whether c++ supports -fno-exceptions... (cached) yes
checking whether c++ supports -fno-check-new... (cached) yes
checking whether c++ supports -fexceptions... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking whether c++ supports -frepo... (cached) yes
checking for ld used by GCC... (cached) /usr//bin/ld
checking if the linker (/usr//bin/ld) is GNU ld... (cached) yes
checking for /usr//bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr//bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... (cached) yes
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... (cached) yes
checking if gcc static flag works... (cached) no
finding the maximum length of command line arguments... (cached) 73729
checking if gcc supports -c -o file.o... (cached) 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 dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
creating libtool
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... no
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) yes
appending configuration tag "CXX" to libtool
checking for object suffix... o
checking for executable suffix... no
checking for extra includes... no
checking for extra libs... no
checking for getopt.h... yes
checking if XOSD is going to be used... checking for xosd.h... no
checking for xosd-config... none
no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if lineakd should be compiled... yes
updating cache ./config.cache
creating ./config.status
fast creating ./Makefile
fast creating lineakd/Makefile
fast creating lineakd/docs/Makefile
can't open ./lineakd/docs/Makefile.in: No such file or directory
fast creating lineakd/docs/en/Makefile
can't open ./lineakd/docs/en/Makefile.in: No such file or directory
creating config.h
[tom@localhost lineakd-0.6.1]$ make
make all-recursive
make[1]: Entering directory `/home/tom/lineakd-0.6.1'
Making all in lineakd
make[2]: Entering directory `/home/tom/lineakd-0.6.1/lineakd'
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c lockctrl.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c lkey.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c msgpasser.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c xosdctrl.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c cdromctrl.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c soundctrl.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c cmdprefs.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c xmgr.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c eakprocs.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c lconfigdata.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c saver.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c ldef.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c defloader.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c loader.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c functions.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c lconfig.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c lkbd.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c configloader.cpp
c++ -DHAVE_CONFIG_H -DCONFDIR=\"/usr/local/etc\" -O2 -fno-exceptions -fno-check-new -c main.cpp
/bin/sh ../libtool --mode=link --tag=CXX c++ -O2 -fno-exceptions -fno-check-new -o lineakd -L/usr/X11R6/lib -lSM -lICE lockctrl.o lkey.o msgpasser.o xosdctrl.o cdromctrl.o soundctrl.o cmdprefs.o xmgr.o eakprocs.o lconfigdata.o saver.o ldef.o defloader.o loader.o functions.o lconfig.o lkbd.o configloader.o main.o -lpthread -lXss -lXext -lX11
mkdir .libs
c++ -O2 -fno-exceptions -fno-check-new -o lineakd lockctrl.o lkey.o msgpasser.o xosdctrl.o cdromctrl.o soundctrl.o cmdprefs.o xmgr.o eakprocs.o lconfigdata.o saver.o ldef.o defloader.o loader.o functions.o lconfig.o lkbd.o configloader.o main.o -L/usr/X11R6/lib -lSM -lICE -lpthread -lXss -lXext -lX11
make[2]: Leaving directory `/home/tom/lineakd-0.6.1/lineakd'
make[2]: Entering directory `/home/tom/lineakd-0.6.1'
make[2]: Leaving directory `/home/tom/lineakd-0.6.1'
make[1]: Leaving directory `/home/tom/lineakd-0.6.1'
[tom@localhost lineakd-0.6.1]$ su
Password:
[root@localhost lineakd-0.6.1]# make install
Making install in lineakd
make[1]: Entering directory `/home/tom/lineakd-0.6.1/lineakd'
make[2]: Entering directory `/home/tom/lineakd-0.6.1/lineakd'
/bin/sh ../admin/mkinstalldirs /usr/local/bin
/bin/sh ../libtool --mode=install /usr//bin/install -c -p lineakd /usr/local/bin/lineakd
/usr//bin/install -c -p lineakd /usr/local/bin/lineakd
/bin/sh ../admin/mkinstalldirs /usr/local/etc/
/usr//bin/install -c -p -m 644 ./lineakkb.def /usr/local/etc/lineakkb.def
make[2]: Leaving directory `/home/tom/lineakd-0.6.1/lineakd'
make[1]: Leaving directory `/home/tom/lineakd-0.6.1/lineakd'
make[1]: Entering directory `/home/tom/lineakd-0.6.1'
make[2]: Entering directory `/home/tom/lineakd-0.6.1'
make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
make[2]: Leaving directory `/home/tom/lineakd-0.6.1'
make[1]: Leaving directory `/home/tom/lineakd-0.6.1'
[root@localhost lineakd-0.6.1]#

kane32
14.09.03, 20:00
garnix
Das Programm ist installiert, und jetzt musst du es nur noch starten.

tomachter
14.09.03, 20:00
*froi* Danke! :)

viruz
14.09.03, 20:09
:ugly: