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

Gtk instalations Fehler

Coolzero

Advanced Hacker
Hallo, wollte GTK +2.5.0 instalieren, bekomme jedoch bei dem Befehl ./configure folgende Fehlermeldung:
/configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for native Win32... no
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/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 dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
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 dependency style of g++... gcc3
checking how to run the C++ preprocessor... /lib/cpp
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether g77 accepts -g... yes
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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 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
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.4.0 atk >= 1.0.1 pango >= 1.4.0... Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3

configure: error: Library requirements (glib-2.0 >= 2.4.0 atk >= 1.0.1 pango >= 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Glib 2.2.3 ist instaliert,atk ist in der Version 1.4.1 instaliert und pango in 1.4.0!
Wo liegt das Problem?
 
A

Anonymous

Gast
Hast du auch die entsprechenden -devel Pakete installiert?
 
OP
Coolzero

Coolzero

Advanced Hacker
Richtig, mir fehlte ein devel Packet,aber bekomme jetzt beim make Befehl einen neuen Fehler:

&& rm -f $file && /usr/bin/msgfmt -o $file zh_TW.po
make[2]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0/po-properties'
Making all in gdk-pixbuf
make[2]: Entering directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0/gdk-pixbuf'
( cd . && glib-mkenums \
--fhead "#ifndef __GDK_PIXBUF_ENUM_TYPES_H__\n#define __GDK_PIXBUF_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void);\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
--ftail "G_END_DECLS\n\n#endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */" \
gdk-pixbuf.h gdk-pixbuf-core.h gdk-pixbuf-transform.h gdk-pixbuf-io.h gdk-pixbuf-animation.h gdk-pixbuf-loader.h ) > tmp-gdk-pixbuf-enum-types.h \
&& (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h ) \
&& rm -f tmp-gdk-pixbuf-enum-types.h \
&& echo timestamp > s-enum-types-h
/bin/sh: line 1: glib-mkenums: command not found
make[2]: *** [s-enum-types-h] Fehler 127
make[2]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0/gdk-pixbuf'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0'
make: *** [all] Fehler 2
 
A

Anonymous

Gast
Hast du glib-mkenums auf deinem System? Bei mir liegt es unter /opt/gnome/bin. Möglicherweise musst du einen Prefix bei ./configure angeben, damit es gefunden wird.

Das folgende kommt dir vielleicht rumänisch vor, aber möglicherweise bringt es dich auf die richtige Spur:

http://www.linux360.ro/forum/archive/o_t/t_4342/compile_gtk2.4.8_suse9.1_did_not_find_freetype_libraries_.html
 
OP
Coolzero

Coolzero

Advanced Hacker
Da liegt es bei mir auch, hab mit prefix noch nichts gemacht, was muss ich da angeben?
 
A

Anonymous

Gast
Gib mal ./configure --help ein, dann werden die möglichen Einstellungen aufgelistet. Welche es im Detail ist, weiss ich nicht.
 
OP
Coolzero

Coolzero

Advanced Hacker
Also hab es mitd em prefix versucht, ./configure läuftz auch richtig und zeigt keine Fehler, aber make sagt dann wieder:
make
make all-recursive
make[1]: Entering directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0'
Making all in po
make[2]: Entering directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0/po'
cd .. \
&& CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= \
/bin/sh ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing default-1 commands
./config.status: line 1529: po/Makefile: Permission denied
config.status: executing default-2 commands
config.status: executing gdk/gdkconfig.h commands
config.status: gdk/gdkconfig.h is unchanged
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0/po'
Making all in po-properties
make[2]: Entering directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0/po-properties'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0/po-properties'
Making all in gdk-pixbuf
make[2]: Entering directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0/gdk-pixbuf'
( cd . && glib-mkenums \
--fhead "#ifndef __GDK_PIXBUF_ENUM_TYPES_H__\n#define __GDK_PIXBUF_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void);\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
--ftail "G_END_DECLS\n\n#endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */" \
gdk-pixbuf.h gdk-pixbuf-core.h gdk-pixbuf-transform.h gdk-pixbuf-io.h gdk-pixbuf-animation.h gdk-pixbuf-loader.h ) > tmp-gdk-pixbuf-enum-types.h \
&& (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h ) \
&& rm -f tmp-gdk-pixbuf-enum-types.h \
&& echo timestamp > s-enum-types-h
/bin/sh: line 1: tmp-gdk-pixbuf-enum-types.h: Keine Berechtigung
make[2]: *** [s-enum-types-h] Fehler 1
make[2]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0/gdk-pixbuf'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/Coolzero/LinuxProgramme/Internet/Gaim/Libs/gtk+-2.5.0'
make: *** [all] Fehler 2
 
A

Anonymous

Gast
Mich wundert das 'Permission denied' Vielleicht solltest du mal alles löschen und die Quellen neu installieren. Hast du nach den erfolglosen make-Versuchen auch immer eine 'make clean' gemacht ? Möglicherweise liegen da noch alte Files rum, die Stress machen, bzw. mal als root kompiliert und daher können die Dateien nicht geändert werden.
 
OP
Coolzero

Coolzero

Advanced Hacker
Alos hab make clean gemacht, aber bei make immer noch der gleiche Fehler:
 
Oben