Problemas al compilar tar.gz

He querido instalar el gimp 2.3.6 pero me da error:

fran@intel:~/Desktop/gimp-2.3.6/gimp-2.3.6$ sudo ./configure && make && make install
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 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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
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 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... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
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/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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/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/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 whether to enable maintainer-specific portions of Makefiles... no
checking for target architecture... i686-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for library containing strerror... none required
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 gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) 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 turn on debugging... no
checking whether to turn on profiling... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for difftime... yes
checking for putenv... yes
checking for mmap... yes
checking whether binary relocation support should be enabled... no
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... bg ca cs da de el en_CA en_GB es et eu fi fr ga gl gu he hu hr id it ja ko lt mk ms nb ne nl no pa pl pt pt_BR ro ru rw sk sr sr@Latn sv tr tt uk vi xh yi zh_CN zh_TW
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.8.0... yes (version 2.8.3)
checking pkg-config is at least version 0.9.0... yes
checking for GMODULE... yes
checking if GLib is version 2.9.0 or newer... no
checking for bind_textdomain_codeset... (cached) yes
checking for X... libraries /usr/X11R6/lib, headers in standard search path
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.6.0... yes (version 2.8.6)
checking if GTK+ is version 2.9.0 or newer... no
checking for GDK_PIXBUF... yes
checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource
checking for LIBART... yes
checking for FONTCONFIG... yes
checking for PANGOFT2... yes
checking if Pango is version 1.11.0 or newer... no
checking if Pango is built with a recent fontconfig... yes
checking for freetype-config... /usr/bin/freetype-config
checking for freetype libraries... -lfreetype -lz
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for extra flags to get ANSI library prototypes... none needed
checking for finite... yes
checking for extra flags for POSIX compliance... none needed
checking for rint... no
checking for rint in -lm... yes
checking for inet_ntoa... yes
checking for socket in -lsocket... no
checking whether gcc understands -mmmx... yes
checking whether we can compile MMX code... yes
checking whether gcc understands -msse... yes
checking whether we can compile SSE code... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking whether shmctl IPC_RMID allowes subsequent attaches... yes
checking for shared memory transport type... sysv
checking whether symbols are prefixed... no
checking checking for regex in glibc... yes
checking fd_set and sys/select... yes
checking for GTHREAD... yes
checking for XmuClientWindow in -lXmu... no
configure: WARNING: *** gimp-remote will not be built (XMU library not found) ***
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_save_markers in -ljpeg... yes
checking for gzsetparams in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_read_info in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_structp in png.h... yes
checking for mng_create in -lmng... no
configure: WARNING: *** MNG plug-in will not be built (MNG library not found) ***
configure: WARNING: *** MNG plug-in will not be built (MNG header file not found) ***
checking for EXIF... configure: WARNING: libexif not found!
EXIF support will not be built into the JPEG plug-in.
libexif is available from http://www.sourceforge.net/projects/libexif
checking if libexif is version 0.6.0 or newer... no
checking for aa_printf in -laa... no
configure: WARNING: *** AA plug-in will not be built (AA library not found) ***
checking for XpmReadFileToXpmImage in -lXpm... no
configure: WARNING: *** XPM plug-in will not be built (XPM library not found) ***
checking for GTKHTML2... configure: WARNING: *** Help browser plug-in will not be built (GtkHtml2 not found) ***
checking for SVG... configure: WARNING: *** SVG import plug-in will not be built (librsvg not found) ***
checking for POPPLER... configure: WARNING: *** PDF will be imported by the postscript plugin (libpoppler not found) ***
configure: WARNING: *** URI plug-in will be built without libgnomeui support (libgnomeui-2.0 not found) ***
configure: WARNING: *** URI plug-in will be built without gnome-keyring support (gnome-keyring-1 not found) ***
checking for URI... configure: WARNING: *** URI plug-in will be built without gnome-vfs support (gnome-vfs-2.0 not found) ***
checking for GNOMEPRINT... configure: WARNING: libgnomeprintui not found!
checking for gimpprint-config... /usr/bin/gimpprint-config
checking for GIMP-PRINT - version >= 4.2.0... yes
checking for libwmf-config... no
configure: WARNING: *** WMF plug-in will not be built (libwmf not found) ***
checking for cmsCreate_sRGBProfile in -llcms... no
configure: WARNING: *** color proof module will not be built (lcms not found or unusable) ***
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.0... not present.
checking for snd_ctl_open in -lasound... no
configure: WARNING: *** midi input controller will be built without alsa support (alsa not found or unuseable) ***
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking for sendmail... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for a Python interpreter with version >= 2.2.1... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for headers required to compile python extensions... found
checking for PYGTK... configure: error:
*** Could not find PyGTK.
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
fran@intel:~/Desktop/gimp-2.3.6/gimp-2.3.6$


Asi que dije bueno instalaré el python y....


fran@intel:~/Desktop/pygtk-2.8.4/pygtk-2.8.4$ sudo ./configure && make && make install
Password:
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 for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for bind_textdomain_codeset... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
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 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... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
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/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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/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/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 for a Python interpreter with version >= 2.3.5... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for headers required to compile python extensions... found
checking for python module thread... yes
checking whether to enable threading in pygtk... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.8.0... yes (version 2.8.3)
checking pkg-config is at least version 0.9.0... yes
checking for PYGOBJECT... checking for ATK... yes
checking for PANGO... yes
checking for PANGOCAIRO... checking for GTK... checking for GTK... yes
checking for LIBGLADE... checking for Numeric/arrayobject.h... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -std=c9x... yes
checking whether gcc understands -fno-strict-aliasing... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pygobject-2.0.pc
config.status: creating pygtk-2.0.pc
config.status: creating codegen/Makefile
config.status: creating gobject/Makefile
config.status: creating gtk/Makefile
config.status: creating docs/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating codegen/pygtk-codegen-2.0
config.status: creating pygtk.spec
config.status: creating PKG-INFO
config.status: creating config.h
config.status: executing depfiles commands

The following modules will be built:

gobject
atk
pango
gtk (without cairo)

The following modules will NOT be built:

pangocairo
gtk.glade
make all-recursive
make[1]: Entering directory `/home/fran/Desktop/pygtk-2.8.4/pygtk-2.8.4'
Making all in codegen
make[2]: Entering directory `/home/fran/Desktop/pygtk-2.8.4/pygtk-2.8.4/codegen'
make[2]: No se hace nada para `all'.
make[2]: Leaving directory `/home/fran/Desktop/pygtk-2.8.4/pygtk-2.8.4/codegen'
Making all in gobject
make[2]: Entering directory `/home/fran/Desktop/pygtk-2.8.4/pygtk-2.8.4/gobject'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -std=c9x -fno-strict-aliasing -MT gobject_la-gobjectmodule.lo -MD -MP -MF ".deps/gobject_la-gobjectmodule.Tpo" -c -o gobject_la-gobjectmodule.lo `test -f 'gobjectmodule.c' || echo './'`gobjectmodule.c; \
then mv -f ".deps/gobject_la-gobjectmodule.Tpo" ".deps/gobject_la-gobjectmodule.Plo"; else rm -f ".deps/gobject_la-gobjectmodule.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -std=c9x -fno-strict-aliasing -MT gobject_la-gobjectmodule.lo -MD -MP -MF .deps/gobject_la-gobjectmodule.Tpo -c gobjectmodule.c -fPIC -DPIC -o .libs/gobject_la-gobjectmodule.o
gobjectmodule.c:2928: fatal error: opening dependency file .deps/gobject_la-gobjectmodule.Tpo: Permission denied
compilation terminated.
make[2]: *** [gobject_la-gobjectmodule.lo] Error 1
make[2]: Leaving directory `/home/fran/Desktop/pygtk-2.8.4/pygtk-2.8.4/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fran/Desktop/pygtk-2.8.4/pygtk-2.8.4'
make: *** [all] Error 2
fran@intel:~/Desktop/pygtk-2.8.4/pygtk-2.8.4$

Así que ya no se que hacer estoy algo liado.

A ver si me podeis echar una mano.
si haces un sudo sobre una cadena && solo se aplicará el sudo al primer comando. Tu lo que quieres es './configure && make && sudo make install'

Saludos.Ferdy
¿has probado a usar apt-get, urpmi o similar?
Ferdy escribió:si haces un sudo sobre una cadena && solo se aplicará el sudo al primer comando. Tu lo que quieres es './configure && make && sudo make install'

Saludos.Ferdy



Pues hize eso pero de nuevo otro error:

(cd .libs && rm -f libgimpconfig-2.0.so.0 && ln -s libgimpconfig-2.0.so.0.306.0 libgimpconfig-2.0.so.0)
(cd .libs && rm -f libgimpconfig-2.0.so && ln -s libgimpconfig-2.0.so.0.306.0 libgimpconfig-2.0.so)
creating libgimpconfig-2.0.la
/bin/sed: can't read carpeta/gimp-2.3.6/gimp-2.3.6/libgimpbase/libgimpbase-2.0.la: No such file or directory
libtool: link: `carpeta/gimp-2.3.6/gimp-2.3.6/libgimpbase/libgimpbase-2.0.la' is not a valid libtool archive
make[2]: *** [libgimpconfig-2.0.la] Error 1
make[2]: Leaving directory `/home/fran/Desktop/Nueva carpeta/gimp-2.3.6/gimp-2.3.6/libgimpconfig'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fran/Desktop/Nueva carpeta/gimp-2.3.6/gimp-2.3.6'
make: *** [all] Error 2
fran@intel:~/Desktop/Nueva carpeta/gimp-2.3.6/gimp-2.3.6$

No lo copio entero porque no puedo xD.
Obviamente tienes que cargarte el DIRECTORIO (en Linux no hay carpetas) y empezar de cero. Si es que no lo habías hecho vaya

Saludos.Ferdy
Si de verdad quieres compilar adelante, pero la mayoría de las veces alguien ya lo ha hecho por tí, una búsqueda rápida de "gimp 2.3.6 ubuntu" en google lleva en uno de los resultados a esta página donde alguien ha empaquetado esta versión en deb para ubuntu.

Si esta versión no te gusta o te da problemas pues la desinstalas y ya está, sin complicaciones de ningún tipo.
Ese fallo parece que viene por usar un espacio en blanco en el nombre del directorio, supongo que será un bug en el makefile, no? (Aparte de una mala elección del usuario (y un mal hábito).

Un saludo.
El torrent no va por lo visto el servidor ha caido, he desinstalado el gimp desde el adept y he eliminado las carpetas de gimp de /home y de /usr/lib pero aun asi me sigue diciendo lo mismo.
El autor ha dejado el deb en rapidshare, pillalo de aqui, yo lo acabo de bajar y funciona:

http://rapidshare.de/files/10635040/gimp_2.3.6-1_i386.deb.html
8 respuestas