Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED :-) problems with gimp emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gm7uac
n00b
n00b


Joined: 17 Apr 2004
Posts: 57
Location: Glasgow

PostPosted: Mon Dec 17, 2007 1:00 am    Post subject: SOLVED :-) problems with gimp emerge Reply with quote

Help, trying to emerge gimp, keeps complaining about jpeg plugins.

Making all in jpeg
make[3]: Entering directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2/plug-ins/jpeg'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -O2 -march=i686 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -MT jpeg-quality.o -MD -MP -MF ".deps/jpeg-quality.Tpo" -c -o jpeg-quality.o jpeg-quality.c; \
then mv -f ".deps/jpeg-quality.Tpo" ".deps/jpeg-quality.Po"; else rm -f ".deps/jpeg-quality.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -O2 -march=i686 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -MT jpegqual.o -MD -MP -MF ".deps/jpegqual.Tpo" -c -o jpegqual.o jpegqual.c; \
then mv -f ".deps/jpegqual.Tpo" ".deps/jpegqual.Po"; else rm -f ".deps/jpegqual.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -o jpegqual jpeg-quality.o jpegqual.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0
mkdir .libs
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -o jpegqual jpeg-quality.o jpegqual.o -pthread /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so
jpegqual.o: In function `analyze_file':
jpegqual.c:(.text+0x4bd): undefined reference to `jpeg_std_error'
jpegqual.c:(.text+0x4ff): undefined reference to `jpeg_CreateDecompress'
jpegqual.c:(.text+0x511): undefined reference to `jpeg_stdio_src'
jpegqual.c:(.text+0x522): undefined reference to `jpeg_read_header'
jpegqual.c:(.text+0x5c1): undefined reference to `jpeg_destroy_decompress'
jpegqual.c:(.text+0x5ed): undefined reference to `jpeg_destroy_decompress'
collect2: ld returned 1 exit status
make[3]: *** [jpegqual] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2/plug-ins/jpeg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2'
make: *** [all] Error 2
*
* ERROR: media-gfx/gimp-2.4.2 failed.
* Call stack:
* ebuild.sh, line 46: Called src_compile
* environment, line 2536: 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.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/gimp-2.4.2/temp/environment'.
*
system...

Linux localhost 2.6.23-gentoo-r4 #1 SMP PREEMPT Sun Dec 16 20:18:36 GMT 2007 i686 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz GenuineIntel GNU/Linux

make.conf

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=i686 -pipe"
#CFLAGS="-02 -march=native -pipe "
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing. You
# should probably be using a different stage, instead.
CHOST="i686-pc-linux-gnu"
VIDEO_CARDS="ati radeon"
MAKEOPTS="-j8"
USE='codecs a52 mmx sse sse2 sse3 dvd mysql opengl nptl nptlonly 3dnow vorbis alsa ogg mp3 mad ppds hal cairo X pdf v4l v4l2 threads jpg dbus WxWidgets java dvb gtk'
ACCEPT_KEYWORDS="~x86"
#CCACHE_SIZE="1G"
#CLEAN_DELAY="0"
#FEATURES="ccache parallel-fetch"
source /usr/portage/local/layman/make.conf

GENTOO_MIRRORS="http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ "
_________________
If all else fails RTFM.


Last edited by gm7uac on Mon Dec 17, 2007 1:37 am; edited 1 time in total
Back to top
View user's profile Send private message
mjf55
Guru
Guru


Joined: 25 Aug 2007
Posts: 372

PostPosted: Mon Dec 17, 2007 1:20 am    Post subject: Reply with quote

Your USE Flags:
Quote:
USE='codecs a52 mmx sse sse2 sse3 dvd mysql opengl nptl nptlonly 3dnow vorbis alsa ogg mp3 mad ppds hal cairo X pdf v4l v4l2 threads jpg dbus WxWidgets java dvb gtk'
The correct use flag is jpeg and jpeg2k. Do a:
Code:
grep -i "jpeg" /usr/portage/profiles/use.desc
and see the output.

Make your changes in '/etc/make.conf' and try again. Let us know.

Edit:PS to use wxWidgets / wxGTK the USE flag is wxwindows, at least according to /usr/portage/profiles/use.desc.
See this online link for USE flag descriptions: http://gentoo-portage.com/USE
_________________
Mark
No longer a n00b, but still a 'Kool Kid' wannabe
Back to top
View user's profile Send private message
gm7uac
n00b
n00b


Joined: 17 Apr 2004
Posts: 57
Location: Glasgow

PostPosted: Mon Dec 17, 2007 1:36 am    Post subject: Solved :-) Reply with quote

Thanks Mark, that worked, sausage fingers at work!!!! again!
_________________
If all else fails RTFM.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum