Bug#603299: cimg: FTBFS with binutils-gold because of missing libX11 when linking the examples
Andreas Tille
andreas at an3as.eu
Wed Nov 17 16:13:06 UTC 2010
On Wed, Nov 17, 2010 at 04:21:23PM +0100, david.tschumperle at gmail.com wrote:
> Well, honestly, I don't know. I use the packages provided with the latest
> Ubuntu (10.10), but I'm using mainly GraphicsMagick instead of ImageMagick.
> I will have a try with ImageMagick headers instead to see if it is working
> nicely.
I replaced imagemagick by graphicsmagick (version 1.3.12) now and was
running in the same error:
** Compiling 'CImg_demo (1.4.5)' with 'gcc version 4.4.5 (Debian 4.4.5-8) '
g++ -o CImg_demo CImg_demo.cpp -I.. -Wall -W -lm -lpthread -lHalf -O3 -fno-tree-pre -Dcimg_use_vt100 -I/usr/X11R6/include -Dcimg_use_xshm -Dcimg_use_xrandr -Dcimg_use_tiff -Dcimg_use_openexr -I/usr/include/OpenEXR -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_opencv -I/usr/include/opencv -Dcimg_use_magick -I/usr/include/GraphicsMagick -Wall -g -fno-strict-aliasing -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -O2 -pthread -Dcimg_use_fftw3 -L/usr/X11R6/lib -lpthread -lX11 -lXext -lXrandr -ltiff -lIlmImf -lpng -lz -ljpeg -lz -lcv -lhighgui -L/usr/lib -fPIE -pie -Wl,-z,relro -Wl,-z,now -L/usr/lib/X11 -L/usr/lib -L/usr/lib -lGraphicsMagick++ -lGraphicsMagick -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lwmflite -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lgomp -lpthread -lltdl -lfftw3
In file included from CImg_demo.cpp:48:
../CImg.h: In destructor 'cimg_library::cimg::Magick_info::~Magick_info()':
../CImg.h:2411: error: 'DestroyMagick' is not a member of 'Magick'
make[3]: *** [CImg_demo] Error 1
So this problem seems to be consistent between ImageMagick and
GraphicsMagic. BTW, how did you builded the Debian packages. If you
would use the building stuff I'm providing you would most probably run
into this problem. This lets me come back to the remark from
yesterday I would like to repeat:
-------------------------------------------------------------------
Date: Tue, 16 Nov 2010 23:06:26 +0100
From: Andreas Tille <andreas at an3as.eu>
To: david.tschumperle at gmail.com
...
According to the Debian files I honestly think that they do not really
solve problems but might create some. It is not a good idea if you,
Debian (and probably other derived distros) are competing in providing
different packages featuring the same name. Moreover you are not
providing source packages (for instance the source package would have
answered my question above whether you used a patch or a new upstream
version).
Instead of providing your own Debian packages at SF I would rather
suggest to ping me and I would try to keep up with releasing the Debian
packages officially.
--------------------------------------------------------------------
I would really apreciate if we could coordinate the effort of building
Debian packages somehow.
Kind regards
Andreas.
--
http://fam-tille.de
More information about the debian-science-maintainers
mailing list