port cimg build problem
Nilton Jose Rizzo
rizzo at i805.com.br
Wed Oct 2 14:29:06 UTC 2013
When I try to install the cimg ports I get this errors
root at valfenda:/usr/ports/graphics/cimg # make install clean
===> Building for cimg-1.5.6_1,3
gmake[1]: Entrando no diretório
`/usr/ports/graphics/cimg/work/CImg-1.5.6/examples'
gmake[2]: Entrando no diretório
`/usr/ports/graphics/cimg/work/CImg-1.5.6/examples'
** Compiling 'CImg_demo (1.5.6)' with 'g++46'
g++46 -o CImg_demo CImg_demo.cpp -I.. -Wall -W -O2 -pipe
-Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -fno-tree-pre
-Dcimg_use_vt100 -I/usr/local/include -Dcimg_use_xrandr -Dcimg_use_tiff
-Dcimg_use_openexr -I//usr/local/include/OpenEXR -Dcimg_use_png
-Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_opencv -I/usr/local/include/opencv
-Dcimg_use_magick -I/usr/local/include/GraphicsMagick -O2 -pipe
-DPNG_DEPSTRUCT= -fno-strict-aliasing -Dcimg_use_lapack -Dcimg_use_fftw3
-pthread -Wl,-rpath=/usr/local/lib/gcc46 -lm -lm -L/usr/local/lib -lX11
-lXrandr -ltiff -lIlmImf -lHalf -lpng -lz -ljpeg -lz -lopencv_legacy
-lopencv_highgui -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib -lGraphicsMagick++ -lGraphicsMagick -ljbig -llcms -ltiff
-lfreetype -ljasper -ljpeg -lpng -lfpx -lwmflite -lXext -lSM -lICE -lX11 -lbz2
-lxml2 -lz -lm -L/usr/local/lib -llapack -lblas -lfftw3
** Compiling 'captcha (1.5.6)' with 'g++46'
g++46 -o captcha captcha.cpp -I.. -Wall -W -O2 -pipe
-Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -fno-tree-pre
-Dcimg_use_vt100 -I/usr/local/include -Dcimg_use_xrandr -Dcimg_use_tiff
-Dcimg_use_openexr -I//usr/local/include/OpenEXR -Dcimg_use_png
-Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_opencv -I/usr/local/include/opencv
-Dcimg_use_magick -I/usr/local/include/GraphicsMagick -O2 -pipe
-DPNG_DEPSTRUCT= -fno-strict-aliasing -Dcimg_use_lapack -Dcimg_use_fftw3
-pthread -Wl,-rpath=/usr/local/lib/gcc46 -lm -lm -L/usr/local/lib -lX11
-lXrandr -ltiff -lIlmImf -lHalf -lpng -lz -ljpeg -lz -lopencv_legacy
-lopencv_highgui -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib -lGraphicsMagick++ -lGraphicsMagick -ljbig -llcms -ltiff
-lfreetype -ljasper -ljpeg -lpng -lfpx -lwmflite -lXext -lSM -lICE -lX11 -lbz2
-lxml2 -lz -lm -L/usr/local/lib -llapack -lblas -lfftw3
/tmp//ccda87Cc.o: In function `cimg_library::CImg<unsigned
char>::save_magick(char const*, unsigned int) const':
captcha.cpp:(.text._ZNK12cimg_library4CImgIhE11save_magickEPKcj[cimg_library::CImg<unsigned
char>::save_magick(char const*, unsigned int) const]+0x29b): undefined
reference to `Magick::Image::write(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
collect2: ld returned 1 exit status
gmake[2]: ** [captcha] Erro 1
gmake[2]: *** Esperando que os outros processos terminem....
/tmp//ccFOT8wN.o: In function `cimg_library::CImg<unsigned
char>::save_magick(char const*, unsigned int) const':
CImg_demo.cpp:(.text._ZNK12cimg_library4CImgIhE11save_magickEPKcj[cimg_library::CImg<unsigned
char>::save_magick(char const*, unsigned int) const]+0x27b): undefined
reference to `Magick::Image::write(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
collect2: ld returned 1 exit status
gmake[2]: ** [CImg_demo] Erro 1
gmake[2]: Saindo do diretório `/usr/ports/graphics/cimg/work/CImg-1.5.6/examples'
gmake[1]: ** [Mlinux] Erro 2
gmake[1]: Saindo do diretório `/usr/ports/graphics/cimg/work/CImg-1.5.6/examples'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/cimg
root at valfenda:/usr/ports/graphics/cimg #
More information about the freebsd-current
mailing list