Re: GraphicsMagick *and* ImageMagick fail to compile

2016-07-23 Thread Kevin Oberman
And here are my ImageMagick options:
===> The following configuration options are available for
ImageMagick-6.9.4.3,1:
 16BIT_PIXEL=on: 16bit pixel support
 BZIP2=on: bzip2 compression support
 DJVU=off: DJVU format support (needs THREADS)
 DOCS=on: Build and/or install documentation
 FFTW=on: Discrete Fourier Transform support
 FONTCONFIG=on: X11 font configuration support
 FPX=on: FlashPix image format support
 FREETYPE=on: TrueType font rendering support
 GRAPHVIZ=off: Graphviz graph drawing support
 GSLIB=off: libgs (Postscript SHLIB) support
 HDRI=off: High dynamic range images support
 JBIG=on: JBIG image format support
 JPEG=on: JPEG image format support
 JPEG2000=on: OpenJPEG 2000 support via openjpeg
 LCMS2=on: Little CMS 2.x support
 LQR=on: Liquid Rescale support
 LZMA=on: LZMA compression support
 MODULES=on: Modules support
 OPENEXR=off: HDR image format support via OpenEXR
 OPENMP=off: Parallel processing support via OpenMP
 PANGO=off: Pango rendering library support
 PDF=on: PDF document support
 PERL=on: Perl scripting language support
 PNG=on: PNG image format support
 SVG=on: SVG vector image format support (via librsvg)
 TESTS=on: Run bundled self-tests after build
 THREADS=on: Threading support
 TIFF=on: TIFF image format support
 WEBP=on: WebP image format support
 WMF=on: Windows Metafile image format support
 X11=on: X11 (graphics) support


Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

On Sat, Jul 23, 2016 at 1:02 AM, Dewayne Geraghty  wrote:

> I can echo Kevin's experience.
> Successfully built on 10.3-STABLE FreeBSD 10.3-STABLE #0 r303088M: Thu Jul
> 21, using ccache on both i386 and amd64.
> -rw-r--r--  1 root  wheel   6.8M Jul 23 01:34
> ImageMagick-nox11-6.9.4.3,1.txz
>
> #  cd /usr/ports/graphics/ImageMagick-nox11 && make showconfig | grep =off
>  DJVU=off: DJVU format support (needs THREADS)
>  GRAPHVIZ=off: Graphviz graph drawing support
>  GSLIB=off: libgs (Postscript SHLIB) support
>  HDRI=off: High dynamic range images support
>  OPENEXR=off: HDR image format support via OpenEXR
>  OPENMP=off: Parallel processing support via OpenMP
>  TESTS=off: Run bundled self-tests after build
>
>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: GraphicsMagick *and* ImageMagick fail to compile

2016-07-23 Thread Dewayne Geraghty
I can echo Kevin's experience.
Successfully built on 10.3-STABLE FreeBSD 10.3-STABLE #0 r303088M: Thu Jul
21, using ccache on both i386 and amd64.
-rw-r--r--  1 root  wheel   6.8M Jul 23 01:34
ImageMagick-nox11-6.9.4.3,1.txz

#  cd /usr/ports/graphics/ImageMagick-nox11 && make showconfig | grep =off
 DJVU=off: DJVU format support (needs THREADS)
 GRAPHVIZ=off: Graphviz graph drawing support
 GSLIB=off: libgs (Postscript SHLIB) support
 HDRI=off: High dynamic range images support
 OPENEXR=off: HDR image format support via OpenEXR
 OPENMP=off: Parallel processing support via OpenMP
 TESTS=off: Run bundled self-tests after build
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: GraphicsMagick *and* ImageMagick fail to compile

2016-07-23 Thread Kevin Oberman
On Fri, Jul 22, 2016 at 11:46 PM, Walter Schwarzenfeld <
w.schwarzenf...@utanet.at> wrote:

> First:
> what is in /etc/make.conf ?
> -
> try compile it with GCC
> either
> withe GCC=4.8+
> in the Makefile
> or
> with CC=gcc48 CXX=g++48  CPP=cpp48
> (you can use gcc48 or gcc49 or gcc5)
> --
> I had a similar error with irc/hexchat
> (it compiled only with GCC not with clang).
> add to the Makefile
>
> MAKE_ARGS=LDFLAGS="${LDFLAGS}"
>
> solved my problem.
>

FWIW, I just built ImageMagick wiht clang and had no problems. clang 3.4.1,
the default on 10.3. Do you use ccache?
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: GraphicsMagick *and* ImageMagick fail to compile

2016-07-23 Thread Walter Schwarzenfeld

First:
what is in /etc/make.conf ?
-
try compile it with GCC
either
withe GCC=4.8+
in the Makefile
or
with CC=gcc48 CXX=g++48  CPP=cpp48
(you can use gcc48 or gcc49 or gcc5)
--
I had a similar error with irc/hexchat
(it compiled only with GCC not with clang).
add to the Makefile

MAKE_ARGS=LDFLAGS="${LDFLAGS}"

solved my problem.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


GraphicsMagick *and* ImageMagick fail to compile

2016-07-22 Thread Patrick M. Hausen
Hi, all,

I need some help here.

Poudriere, 2016Q3 quarterly ports branch, 10.2-RELEASE-p19 build jail.

Both ports fail with very similar error messages.

GrahicsMagick:

[...]
---Begin OPTIONS List---
===> The following configuration options are available for 
GraphicsMagick-1.3.24,1:
 DOCS=on: Build and/or install documentation
 DPS=off: Display Ghostscript support
 FPX=off: FlashPix image format support
 FREETYPE=on: TrueType font rendering support
 JASPER=on: JPEG 2000 support via JasPer
 JBIG=on: JBIG image format support
 JPEG=on: JPEG image format support
 LCMS2=on: Little CMS 2.x support
 OPENMP=on: Parallel processing support via OpenMP
 PNG=on: PNG image format support
 Q8BIT=off: Use 8-bit pixels (speed) instead of 16-bit (quality)
 SSE=off: Use SSE optimized routines
 TEST=off: Run bundled self-tests after build
 TIFF=on: TIFF image format support
 WEBP=on: WebP image format support
 WMF=on: Windows Metafile image format support
 X11=off: X11 (graphics) support
 XML=on: XML format or parser support
===> Use 'make config' to modify these settings
---End OPTIONS List---
[...]
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Geometry.o 
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Image.o 
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-ImageRef.o 
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Montage.o 
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Options.o 
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Pixels.o 
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-STL.o 
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Thread.o 
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-TypeMetric.o
-Wl,-rpath 
-Wl,/wrkdirs/usr/ports/graphics/GraphicsMagick/work/GraphicsMagick-1.3.24/magick/.libs
 -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib 
-L/usr/local/lib/gcc48 magick/.libs/libGraphicsMagick.so -ljbig -lwebp -llcms2 
-ltiff -lfreetype /usr/local/lib/libjasper.so -ljpeg -lpng16 -lwmflite -llzma 
-lbz2 -lxml2 -lz -lgomp -lpthread -L/usr/lib -lc++ -lm -lc -lgcc -lgcc_s 
/usr/lib/crtendS.o /usr/lib/crtn.o  -O2 -fstack-protector 
-Wl,-rpath=/usr/local/lib/gcc48 -Wl,-rpath=/usr/local/lib/gcc48 
-fstack-protector -Wl,-rpath=/usr/local/lib/gcc48   -fopenmp -Wl,-soname 
-Wl,libGraphicsMagick++.so.12 -o 
Magick++/lib/.libs/libGraphicsMagick++.so.12.1.0
/usr/bin/ld: Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Blob.o: 
relocation R_X86_64_32S against `_ZTVN6Magick4BlobE' can not be used when 
making a shared object; recompile with -fPIC
Magick++/lib/.libs/Magick___lib_libGraphicsMagick___la-Blob.o: could not read 
symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[2]: stopped in 
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/GraphicsMagick-1.3.24
*** Error code 1

Stop.
make[1]: stopped in 
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/GraphicsMagick-1.3.24
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/GraphicsMagick



ImageMagick:

[...]
---Begin OPTIONS List---
===> The following configuration options are available for 
ImageMagick-nox11-6.9.4.3,1:
 16BIT_PIXEL=on: 16bit pixel support
 BZIP2=on: bzip2 compression support
 DJVU=off: DJVU format support (needs THREADS)
 DOCS=on: Build and/or install documentation
 FFTW=on: Discrete Fourier Transform support
 FONTCONFIG=on: X11 font configuration support
 FPX=on: FlashPix image format support
 FREETYPE=on: TrueType font rendering support
 GRAPHVIZ=off: Graphviz graph drawing support
 GSLIB=off: libgs (Postscript SHLIB) support
 HDRI=off: High dynamic range images support
 JBIG=on: JBIG image format support
 JPEG=on: JPEG image format support
 JPEG2000=on: OpenJPEG 2000 support via openjpeg
 LCMS2=on: Little CMS 2.x support
 LQR=on: Liquid Rescale support
 LZMA=on: LZMA compression support
 MODULES=on: Modules support
 OPENEXR=off: HDR image format support via OpenEXR
 OPENMP=off: Parallel processing support via OpenMP
 PDF=on: PDF document support
 PERL=on: Perl scripting language support
 PNG=on: PNG image format support
 TESTS=off: Run bundled self-tests after build
 THREADS=on: Threading support
 TIFF=on: TIFF image format support
 WEBP=on: WebP image format support
 WMF=on: Windows Metafile image format support
===> Use 'make config' to modify these settings
---End OPTIONS List---
[...]
#warning "this file includes  which is deprecated"
 ^
1 warning generated.
  CCLD coders/tiff.la
  CC   coders/coders_webp_la-webp.lo
In file included from coders/webp.c:42:
In file included from ./magick/studio.h:176:
/usr/include/sys/timeb.h:42:2: warning: "this file includes  which 
is