Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge gimp fails, can't understand the message (solved)

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
rbalasus
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Fri Sep 24, 2004 6:23 pm

emerge gimp fails, can't understand the message (solved)

  • Quote

Post by rbalasus » Wed Jan 30, 2008 7:41 am

Hello I want to compile gimp:
emerge gimp, it works for a long time but then it breaks with the folowing message. I can't find what is going wrong. And I can't find a way to solve this.
any ideas?
below is the output
Greetings Randolf Balasus



jpegqual.o: In function `analyze_file':
jpegqual.c:(.text+0x3d7): undefined reference to `jpeg_std_error'
jpegqual.c:(.text+0x40b): undefined reference to `jpeg_destroy_decompress'
jpegqual.c:(.text+0x432): undefined reference to `jpeg_CreateDecompress'
jpegqual.c:(.text+0x440): undefined reference to `jpeg_stdio_src'
jpegqual.c:(.text+0x44a): undefined reference to `jpeg_read_header'
jpegqual.c:(.text+0x8ad): undefined reference to `jpeg_destroy_decompress'
collect2: ld returned 1 exit status
make[3]: *** [jpegqual] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*
* ERROR: media-gfx/gimp-2.4.3 failed.
* Call stack:
* ebuild.sh, line 46: Called src_compile
* environment, line 2552: Called die
* The specific snippet of code:
* emake || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-gfx/gimp-2.4.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/gimp-2.4.3/temp/environment'.
*

* Messages for package media-gfx/gimp-2.4.3:

*
* ERROR: media-gfx/gimp-2.4.3 failed.
* Call stack:
* ebuild.sh, line 46: Called src_compile
* environment, line 2552: Called die
* The specific snippet of code:
* emake || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-gfx/gimp-2.4.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/gimp-2.4.3/temp/environment'.
*
Last edited by rbalasus on Thu Jan 31, 2008 12:35 pm, edited 1 time in total.
Top
rotech
n00b
n00b
Posts: 8
Joined: Mon Jan 17, 2005 5:55 am

  • Quote

Post by rotech » Wed Jan 30, 2008 7:50 am

At first glance it appears to be a problem with media-libs/jpeg try to emerge it again.
Top
rbalasus
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Fri Sep 24, 2004 6:23 pm

  • Quote

Post by rbalasus » Wed Jan 30, 2008 8:49 am

Hello, thanks for the answer...
I have tested
emerge jpeg
and emerge --unmerge jpeg, emerge jpeg

after this shows emerge gimp the same error.

Greetings Randolf Balasus
Top
bastibasti
Guru
Guru
Posts: 590
Joined: Mon Nov 27, 2006 6:34 am

  • Quote

Post by bastibasti » Wed Jan 30, 2008 11:12 am

can you post more output?
Top
luqas
Guru
Guru
User avatar
Posts: 588
Joined: Fri Jan 02, 2004 12:15 am
Location: /US/Texas/Beaumont

  • Quote

Post by luqas » Wed Jan 30, 2008 2:38 pm

Do you have imlib2 compiled with jpeg support?
Top
rbalasus
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Fri Sep 24, 2004 6:23 pm

  • Quote

Post by rbalasus » Thu Jan 31, 2008 12:23 pm

Hello I have reemerged imlib2 with enabling jpeg!!! This was it, gimp has compiled.

Now I can start gimp , but after clicking a button it crashes. The error messages from console are below. has anybody an idea?

Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/foggify.py", line 20, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk

(gimp:21634): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/palette-offset.py", line 17, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk

(gimp:21634): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/happy-valley-relief.py", line 20, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk

(gimp:21634): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/py-slice.py", line 31, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk

(gimp:21634): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/palette-to-gradient.py", line 17, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk

(gimp:21634): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/palette-sort.py", line 17, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk

(gimp:21634): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/colorxhtml.py", line 25, in <module>
import gimp
ImportError: could not import pygtk

(gimp:21634): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/gimpcons.py", line 20, in <module>
from gimpfu import *
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 74, in <module>
import gimp
ImportError: could not import pygtk

(gimp:21634): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error

(script-fu:21643): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
Segmentation fault
Top
rbalasus
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Fri Sep 24, 2004 6:23 pm

  • Quote

Post by rbalasus » Thu Jan 31, 2008 12:38 pm

O.K. all is solved and works very well.
The first thing was the imlib2, and the second erro seems to be a gimp error.

In google I found this command:
G_SLICE=always-malloc gimp

and with this it works. I don't understand the meaning, if somebody can explain this for , this will be great.
Greetings Randolf Balasus
Top
pjv
Guru
Guru
User avatar
Posts: 353
Joined: Wed Jul 02, 2003 12:51 pm
Location: Belgium

  • Quote

Post by pjv » Tue Feb 05, 2008 12:49 pm

I had a different error on gimp startup that seems to be glibc related:

Code: Select all

$ gimp-2.4 
Traceback (most recent call last):
  File "/home/pjv/.gimp-2.4/plug-ins/stitch_0.9.6.py", line 70, in ?
    import gimp
ImportError: No module named gimp

(gimp-2.4:19581): LibGimpBase-WARNING **: gimp-2.4: gimp_wire_read(): error
*** glibc detected *** gimp-2.4: munmap_chunk(): invalid pointer: 0x091e4aa0 ***
gimp-2.4: terminated: Afgebroken
(script-fu:19585): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
It is solved by using:

Code: Select all

G_SLICE=always-malloc gimp
But like you, I don't know why. Found some other posts that also recommend this but no explanation. I am using metacity and sometimes compiz-fusion with the gtk window decorator.
Top
pjv
Guru
Guru
User avatar
Posts: 353
Joined: Wed Jul 02, 2003 12:51 pm
Location: Belgium

  • Quote

Post by pjv » Sun Nov 30, 2008 5:36 pm

https://bugs.launchpad.net/ubuntu/+sour ... bug/131564

"It looks as though this issue has come down to the use of the "small theme" in GIMP. "
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic