View previous topic :: View next topic |
Author |
Message |
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Sat Mar 13, 2004 11:46 am Post subject: some one got media-gfx/imgseek to work ? (solved) |
|
|
As in the subject, I'm trying to emerge imgseek-0.8.2
I unmasked this emerge and some dependencies.
But when compiling dev-python/Imaging-1.1.4
I get this error :
Code: | copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.3
copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.3
copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.3
copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.3
copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.3
running build_ext
building '_imaging' extension
creating build/temp.linux-x86_64-2.3
gcc -fno-strict-aliasing -DNDEBUG -pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math -fPIC -IlibImaging -I/usr/include/python2.3 -c _imaging.c -o build/temp.linux-x86_64-2.3/_imaging.o
gcc -fno-strict-aliasing -DNDEBUG -pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math -fPIC -IlibImaging -I/usr/include/python2.3 -c display.c -o build/temp.linux-x86_64-2.3/display.o
gcc -fno-strict-aliasing -DNDEBUG -pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math -fPIC -IlibImaging -I/usr/include/python2.3 -c path.c -o build/temp.linux-x86_64-2.3/path.o
In file included from /usr/include/python2.3/Python.h:8,
from path.c:30:
/usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/math.h:27,
from path.c:28:
/usr/include/features.h:171:1: warning: this is the location of the previous definition
gcc -fno-strict-aliasing -DNDEBUG -pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math -fPIC -IlibImaging -I/usr/include/python2.3 -c outline.c -o build/temp.linux-x86_64-2.3/outline.o
gcc -fno-strict-aliasing -DNDEBUG -pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math -fPIC -IlibImaging -I/usr/include/python2.3 -c map.c -o build/temp.linux-x86_64-2.3/map.o
gcc -fno-strict-aliasing -DNDEBUG -pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math -fPIC -IlibImaging -I/usr/include/python2.3 -c encode.c -o build/temp.linux-x86_64-2.3/encode.o
gcc -fno-strict-aliasing -DNDEBUG -pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math -fPIC -IlibImaging -I/usr/include/python2.3 -c decode.c -o build/temp.linux-x86_64-2.3/decode.o
gcc -pthread -shared -pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math build/temp.linux-x86_64-2.3/_imaging.o build/temp.linux-x86_64-2.3/decode.o build/temp.linux-x86_64-2.3/encode.o build/temp.linux-x86_64-2.3/map.o build/temp.linux-x86_64-2.3/display.o build/temp.linux-x86_64-2.3/outline.o build/temp.linux-x86_64-2.3/path.o -LlibImaging -lImaging -ljpeg -lz -o build/lib.linux-x86_64-2.3/_imaging.so
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: libImaging/libImaging.a(Storage.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
libImaging/libImaging.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
!!! ERROR: dev-python/Imaging-1.1.4 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed |
and here my emerge --info
Code: | Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 x86_64 5
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -fomit-frame-pointer -mfpmath=sse,387 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://gentoo.linux.no/pub/gentoo ftp://ftp.easynet.nl/mirror/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo ftp://sunsite.cnlab-switch.ch/mirror/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://www.ibiblio.org/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/mesdocs/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi cdr crypt cups curl doc dv dvd dvdr encode esd ext-png ext-zlib fbcon foomaticdb gdbm gif gimpprint gpm gps gtk gtk2 imlib java jpeg kde libg++ libwww motif mpeg multilib ncurses nls oggvorbis opengl oss pam pdflib perl pic png python qt quicktime radeon readline sdl spell ssl tcpd tiff transcode truetype usb wmf xml2 xmms xv xvid zlib"
|
Any idea about that issue ?
Thanks.
Martin
Last edited by Martin LORANG on Sun Mar 14, 2004 8:01 am; edited 1 time in total |
|
Back to top |
|
|
Chin Yee n00b
Joined: 31 Jul 2003 Posts: 48
|
Posted: Sat Mar 13, 2004 1:36 pm Post subject: imgSeek |
|
|
If you are using QT 3.3.0. Upgrade it to 3.3.1. Re-emerge PyQt that's all you need to get imgSeek running again. |
|
Back to top |
|
|
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Sun Mar 14, 2004 7:33 am Post subject: |
|
|
I have already qt-3.1.1-r1
I reemerged PyQt, but I have still the same error on Imaging-1.1.4
Martin |
|
Back to top |
|
|
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Sun Mar 14, 2004 8:05 am Post subject: |
|
|
I added -fPIC to my CFLAGS in the make.conf file to compile Imaging-1.1.4 and now it works.
Is there a bug report to fill for this issue ?
Martin |
|
Back to top |
|
|
|
|
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
|
|