LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-17-2011, 05:11 PM   #1
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 272

Rep: Reputation: 37
Problem install Gimp 2.7.2 on Debian Squeeze


Quote:
export PATH=$PATH:/opt/gimp-devel/bin
export PKG_CONFIG_PATH=/opt/gimp-devel/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/gimp-devel/lib
Quote:
../babl-0.1.4$ ./configure --prefix=/opt/gimp-devel
sudo checkinstall
../gegl-0.1.6$ ./configure --prefix=/opt/gimp-devel --disable-gtk-doc
Quote:
Building GEGL with prefix=/opt/gimp-devel

Optional features:
GEGL docs: yes
Build workshop: no
Build website: no (asciidoc not found)
SIMD: sse:yes mmx:yes

Optional dependencies:
asciidoc: no (asciidoc not found)
enscript: no (enscript not found)
GIO: yes
GTK+: yes
Ruby: yes
Lua: no (usable lua not found)
Cairo: yes
Pango: yes
pangocairo: yes
GDKPixbuf: yes
JPEG: yes
PNG: yes
OpenEXR: no (OpenEXR library not found)
rsvg: yes
SDL: no (SDL library not found)
openraw: no (openraw library not found)
Jasper: no (jasper library not found)
graphviz: yes
avformat: yes
V4L: yes
spiro: no (usable SPIRO library not found)
EXIV: yes
umfpack: no (usable umfpack library not found)
On the 64bit release i have this error:
Quote:
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `aac_demuxer' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavformat.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [ff-load.la] Error 1
make[2]: Leaving directory `/home/.../prog/gegl-0.1.6/operations/external'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/.../prog/gegl-0.1.6/operations'
make: *** [install-recursive] Error 1
The gegl-0.1.6 is the minimum release require by gimp 2.7.2.

Note:
1) No problem when previously i installed gimp 2.7.1 (on both 32 and 64 bit editions).

2) Eventually I put later the error on the 32 bit release.
 
Old 04-18-2011, 02:20 AM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,247

Rep: Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128Reputation: 1128
It looks like you may have compiled libavformat without producing a shared library. Is there any reason you are not using libavformat-dev pacakge?

Evo2.
 
1 members found this post helpful.
Old 04-18-2011, 01:14 PM   #3
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 272

Original Poster
Rep: Reputation: 37
Mmm.
I don't remember installing this package, perhaps was some automatic dependencies.
I made a custom ffmpeg do you think could be the problem? About that package?
I have installed that package:
$ sudo apt-get install libavformat-dev
but the issue remain the same on the 64 bit system.

While on the 32 bit system i have a different error during the compilation of the gtk (that should be >= 2.24.3):
Quote:
configure: error: Package requirements (glib-2.0 >= 2.27.3 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0) were not met:

Requested 'gdk-pixbuf-2.0 >= 2.21.0' but version of GdkPixbuf is 2.20.1
Where is the gdk-pixbuf package?

Last edited by AleLinuxBSD; 04-18-2011 at 03:47 PM.
 
Old 04-18-2011, 07:23 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
You could try installing GIMP from:
# towo's repository for aptosid
# secure APT - apt-get install frickelplatz-archive-keyring frickelplatz-keyring frickelplatz-keyrings
# deb http://frickelplatz.de/debian/ sid main contrib non-free

# apt-cache policy gimp
gimp:
Installed: 2.6.11-2
Candidate: 2.7.3~git20110415
Version table:
2.7.3~git20110415 0
500 http://frickelplatz.de/debian/ sid/main i386 Packages
*** 2.6.11-2 0
500 http://mirrors.kernel.org/debian/ unstable/main i386 Packages
100 /var/lib/dpkg/status
 
Old 04-19-2011, 12:28 AM   #5
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 272

Original Poster
Rep: Reputation: 37
Mmm i don't know.
I would like put the development release of gimp on a different path for avoid stability problems using repository of a different release.
And on the same time i can use even the stable gimp release.

However, seem i was right:
Quote:
$ dpkg --search /usr/local/lib/libavformat.a
ffmpeg-custom: /usr/local/lib/libavformat.a
After the remove of the ffmpeg-custom package i was able to compile gegl.

Now i found even where is it the other package.
Index of /pub/gnome/sources/gdk-pixbuf/2.22

Quote:
gtk+-2.24.4$ ./configure --prefix=/opt/gimp-devel
gtk+-2.24.4$ sudo checkinstall
----------------------------------------------------------------------
Libraries have been installed in:
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
Then i write:
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules
but the problem remain the same:
Quote:
make install-data-hook
make[4]: Entering directory `/home/.../prog/gtk+-2.24.4/modules/input'
/bin/sh /home/.../prog/gtk+-2.24.4/install-sh -d /opt/gimp-devel/etc/gtk-2.0
../../gtk/gtk-query-immodules-2.0 > /opt/gimp-devel/etc/gtk-2.0/gtk.immodules
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-xim.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-xim.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-xim.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-xim.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-cedilla.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-viqr.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-viqr.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-viqr.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-viqr.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ti-et.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ti-et.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ti-et.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ti-et.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ipa.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ipa.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ipa.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ipa.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-ti-er.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-am-et.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-am-et.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-am-et.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-am-et.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-thai.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-thai.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-thai.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-thai.so: cannot open shared object file: No such file or directory
Cannot load module /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-multipress.so: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-multipress.so: cannot open shared object file: No such file or directory
/opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-multipress.so does not export GTK+ IM module API: /opt/gimp-devel/lib/gtk-2.0/2.10.0/immodules/im-multipress.so: cannot open shared object file: No such file or directory
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/home/.../prog/gtk+-2.24.4/modules/input'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/.../prog/gtk+-2.24.4/modules/input'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/.../prog/gtk+-2.24.4/modules/input'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/.../prog/gtk+-2.24.4/modules'
make: *** [install-recursive] Error 1

Last edited by AleLinuxBSD; 04-19-2011 at 01:52 AM.
 
Old 04-19-2011, 12:58 PM   #6
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 272

Original Poster
Rep: Reputation: 37
Even using the documentation (this time i opt for the path /opt/gtk):
Building GTK+ on UNIX-like systems
the problem remain the same.
 
Old 04-19-2011, 01:17 PM   #7
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 514

Rep: Reputation: 102Reputation: 102
Well it just worked for me.
I did a "aptitude build-dep gimp" then compiled+checkinstalled gegl version 0.1.6 and babl version 0.1.4, every one with their default path (/usr/local/lib). Then compiled+checkinstalled gimp.
I failed to compile it with the --prefix=/opt options so i left it with the default path and it worked.

The only modifications i did it was the naming of the resulting packages (from the checkinstall config menu) to gimp-2.7.2, babl-0.1.4, gegl-0.1.6.

And i had to define the (the name of the .conf is not important)

/etc/ld.so.conf.d/gimp27.conf

file with

Code:
/usr/local/lib
in it. Then issued a

Code:
ldconfig
command to include that folder in the library loading list.

Last edited by gradinaruvasile; 04-19-2011 at 03:44 PM.
 
Old 04-20-2011, 02:25 AM   #8
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 272

Original Poster
Rep: Reputation: 37
When i tried to compile gimp-2.7.2 no matter where i specified (so /opt or the default path) i obtain always the message:
checking for GTK+ - version >= 2.24.3... no
so i tried to compile gtk+2.24.4 but i have another error.
Using Lenny i haven't any problem for install gimp 2.7.1, the same using Squeeze.
On that case i compiled only babl,gegl,gimp.

 
Old 04-20-2011, 03:25 AM   #9
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 514

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by AleLinuxBSD View Post
When i tried to compile gimp-2.7.2 no matter where i specified (so /opt or the default path) i obtain always the message:
checking for GTK+ - version >= 2.24.3... no
I have:

Code:
# apt-cache policy libgtk2.0-dev
libgtk2.0-dev:
  Installed: 2.24.3-1~sid1
  Candidate: 2.24.3-1~sid1
  Version table:
     2.24.4-3 0
          1 http://ftp.debian.org/debian/ unstable/main i386 Packages
 *** 2.24.3-1~sid1 0
        500 http://ftp.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status
But i use Debian testing - maybe in Squeeze is older? Probably for gimp 2.7.2 they bumped the required gtk version.

Edit: Squeeze has 2.20.1-2, so you have to update your gtk if you can.

What is your version of libgtk2.0-dev?

Last edited by gradinaruvasile; 04-20-2011 at 03:29 AM.
 
Old 04-20-2011, 06:02 AM   #10
AleLinuxBSD
Member
 
Registered: May 2006
Location: Italy
Distribution: Ubuntu, ArchLinux, Debian, SL, OpenBSD
Posts: 272

Original Poster
Rep: Reputation: 37
$ apt-cache show libgtk2.0-dev
Package: libgtk2.0-dev
Priority: optional
Section: libdevel
Version: 2.20.1-2
 
Old 04-20-2011, 07:05 AM   #11
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 514

Rep: Reputation: 102Reputation: 102
So you have to upgrade your gtk.
Gtk from the testing repository is at the version you need, but you might run into dependency problems because gtk is depended upon by most graphical apps.
Maybe you can upgrade only the dev package.
 
  


Reply

Tags
debian, gimp-2.7.2, installation, squeeze


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian Squeeze - Can't install wine. Zaraphrax Linux - Software 59 01-27-2011 02:19 PM
Cant install fglrx on Debian Squeeze Kernel 2.6.35 nicholls15 Linux - Newbie 2 11-12-2010 02:18 AM
[SOLVED] How install Flash 64 on Debian Squeeze 64 bit? AleLinuxBSD Debian 14 12-28-2009 03:27 AM
[SOLVED] install 64bit (using 32bit) Debian squeeze. kaz2100 Debian 1 11-16-2009 07:09 PM
aren't there install cd images for Debian Testing (Squeeze)? Cage47 Debian 8 11-09-2009 12:45 AM


All times are GMT -5. The time now is 04:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration