[GEM-dev] ./configure build on apple dies with imagemagick errors

Hans-Christoph Steiner hans at eds.org
Thu Sep 14 20:15:48 CEST 2006


On the Mac OS X 10.4.7 auto-build server, it has imagemagick  
6.1.8-1003 installed via fink.  Here's the transcript:


pd at pd-macosx104-powerpc.idmi.poly.edu:src > ./configure --with-pd=/ 
home/pd/auto-build/pd-extended/pd && make
checking for Base/configDarwin.h.in... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for a BSD-compatible install... /sw/bin/install -c
checking whether ln -s works... yes
checking for sin in -lm... yes
checking for main in -lz... yes
checking for dlopen in -ldl... yes
checking how to run the C preprocessor... cc -E
checking for X... disabled
checking for glInitNames in -lGL... yes
checking for gluLookAt in -lGLU... yes
checking for "OpenGL"-framework... yes
checking for "AGL"-framework... yes
checking for "Carbon"-framework... yes
checking for "QuickTime"-framework... yes
checking for pkg-config... /sw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PKG_IMAGEMAGICK___CFLAGS... -I/sw/include
checking for PKG_IMAGEMAGICK___LIBS... -L/sw/lib -L/usr/X11R6/lib - 
llcms -ltiff -lfreetype -ljpeg -lpng -lXext -lXt -lSM -lICE -lX11 - 
lbz2 -lxml2 -lz -lm -lpthread -lMagick++ -lMagick
checking for PKG_TIFF_CFLAGS...
checking for PKG_TIFF_LIBS...
Package tiff was not found in the pkg-config search path.
Perhaps you should add the directory containing `tiff.pc'
to the PKG_CONFIG_PATH environment variable
No package 'tiff' found
checking for tiff-config... no
checking for TIFFOpen in -ltiff... yes
checking for PKG_JPEG_CFLAGS...
checking for PKG_JPEG_LIBS...
Package jpeg was not found in the pkg-config search path.
Perhaps you should add the directory containing `jpeg.pc'
to the PKG_CONFIG_PATH environment variable
No package 'jpeg' found
checking for jpeg-config... no
checking for jpeg_read_header in -ljpeg... yes
checking for PKG_LIBQUICKTIME_CFLAGS...
checking for PKG_LIBQUICKTIME_LIBS...
Package libquicktime was not found in the pkg-config search path.
Perhaps you should add the directory containing `libquicktime.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libquicktime' found
checking for libquicktime-config... no
checking for quicktime_init in -lquicktime... no
checking for PKG_LQT_CFLAGS...
checking for PKG_LQT_LIBS...
Package lqt was not found in the pkg-config search path.
Perhaps you should add the directory containing `lqt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lqt' found
checking for lqt-config... no
checking for quicktime_init in -lquicktime... no
checking for PKG_MPEG3_CFLAGS...
checking for PKG_MPEG3_LIBS...
Package mpeg3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `mpeg3.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mpeg3' found
checking for mpeg3-config... no
checking for mpeg3_check_sig in -lmpeg3... no
checking for PKG_MPEG_CFLAGS...
checking for PKG_MPEG_LIBS...
Package mpeg was not found in the pkg-config search path.
Perhaps you should add the directory containing `mpeg.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mpeg' found
checking for mpeg-config... no
checking for OpenMPEG in -lmpeg... yes
checking for PKG_AVIFILE_CFLAGS...
checking for PKG_AVIFILE_LIBS...
Package avifile was not found in the pkg-config search path.
Perhaps you should add the directory containing `avifile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'avifile' found
checking for avifile-config... no
checking for CreateIAviReadFile in -laviplay... no
checking for PKG_FFMPEG_CFLAGS...
checking for PKG_FFMPEG_LIBS...
Package ffmpeg was not found in the pkg-config search path.
Perhaps you should add the directory containing `ffmpeg.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ffmpeg' found
checking for ffmpeg-config... no
checking for av_open_input_file in -lavformat... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
checking for PKG_IEEE1394_CFLAGS...
checking for PKG_IEEE1394_LIBS...
Package ieee1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `ieee1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ieee1394' found
checking for ieee1394-config... no
checking for main in -ldv... yes
checking for PKG_FTGL_CFLAGS...
checking for PKG_FTGL_LIBS...
Package ftgl was not found in the pkg-config search path.
Perhaps you should add the directory containing `ftgl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ftgl' found
checking for ftgl-config... no
checking for main in -lftgl... no
checking for PKG_GLTT_CFLAGS...
checking for PKG_GLTT_LIBS...
Package gltt was not found in the pkg-config search path.
Perhaps you should add the directory containing `gltt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gltt' found
checking for gltt-config... no
checking for GLTTFont in -lgltt... no
checking for pthread_create in -lpthread... yes
checking for X... disabled
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for GLsizeiptrARB... yes
checking for unsigned int... yes
checking size of unsigned int... 4
checking for void *... yes
checking size of void *... 4
checking for error_at_line... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether cc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for bzero... yes
checking for floor... yes
checking for gettimeofday... yes
checking for memset... yes
checking for munmap... yes
checking for pow... yes
checking for sqrt... yes
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for lqt_add_video_track... no
checking for glBindProgramARB... yes
checking for glBindProgramNV... yes
checking m_pd.h usability... no
checking m_pd.h presence... no
checking for m_pd.h... no
checking whether compiler accepts "-freg-struct-return"... yes
enabling "register struct return"
    allows to make use of FreeFrame-effects without recompiling them
    might break things, if you are using several different compilers
checking whether compiler accepts "-O3"... yes
checking whether compiler accepts "-fno-builtin"... yes
checking whether compiler accepts "-falign-loops=16 -funroll- 
loops"... yes
checking whether compiler accepts "-ffast-math"... yes
checking whether compiler accepts "-faltivec"... yes
checking whether linker accepts "-shared -Wl,-export-dynamic"... no
checking whether linker accepts "-bundle -undefined suppress - 
flat_namespace"... yes
checking for strip... strip
checking if strip is GNU strip... no
checking for dos2unix... no
configure: creating ./config.status
config.status: creating Make.config
config.status: creating Base/configDarwin.h
config.status: Base/configDarwin.h is unchanged

Result:
   Target                 : Gem.pd_darwin
   Objects                : Base Controls Geos Manips Nongeos  
Particles Pixes openGL Vertex

Configuration:
   Compiler               : g++
   CXXFLAGS               : -g -O2 -freg-struct-return -O3 -fno- 
builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec
                          : -I/sw/include
   INCLUDES               :  -I/home/pd/auto-build/pd-extended/pd/src
   DEFINES                :

   LIBS                   : -ldv -lmpeg -ljpeg -ltiff -lGLU -lGL -ldl  
-lz -lm   -lpthread -L/home/pd/auto-build/pd-extended/pd/bin
                          : -L/sw/lib -L/usr/X11R6/lib -llcms -ltiff - 
lfreetype -ljpeg -lpng -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz - 
lm -lpthread -lMagick++ -lMagick
   LDFLAGS                : -bundle -undefined suppress - 
flat_namespace -framework QuickTime -framework Carbon -framework AGL - 
framework OpenGL
                          :

   Strip                  : strip -x

   Install path           : /usr/local

pure-data:
   version                : 0.39

used optional libraries:

   font-rendering         :

   image-support
     use ImageMagick      : yes
     use TIFF             : yes
     use JPEG             : yes
   video-support
     use mpeg             : yes
     use mpeg-3           : no
     use QuickTime        : yes (framework)
     use aviplay          : no
     use ffmpeg           : no
   input-support
     use v4l              : no
     use ieee1394         : yes

   misc
     using ARB-extensions : yes
     using NV-extensions  : yes
     using reg-struct-ret : yes

Now run make ...


make -C Base -f ../Makefile.subdir -j4
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  CPPExtern.cpp -o CPPExtern.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemBase.cpp -o GemBase.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemCache.cpp -o GemCache.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemEvent.cpp -o GemEvent.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemFuncUtil.cpp -o  
GemFuncUtil.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemGLUtil.cpp -o GemGLUtil.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemGluObj.cpp -o GemGluObj.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemLoadObj.cpp -o GemLoadObj.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemMan.cpp -o GemMan.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemModelData.cpp -o  
GemModelData.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemPBuffer.cpp -o GemPBuffer.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemPathBase.cpp -o  
GemPathBase.o
GemPBuffer.cpp:510:1: warning: unknown escape sequence '\p'
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemPixConvertAltivec.cpp -o  
GemPixConvertAltivec.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemPixConvertSSE2.cpp -o  
GemPixConvertSSE2.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemPixDualObj.cpp -o  
GemPixDualObj.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemPixImageLoad.cpp -o  
GemPixImageLoad.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemPixImageSave.cpp -o  
GemPixImageSave.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemPixObj.cpp -o GemPixObj.o
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- 
loops=16 -funroll-loops -ffast-math -faltivec  -I/sw/include   -I..  - 
I/home/pd/auto-build/pd-extended/pd/src  GemPixUtil.cpp -o GemPixUtil.o
GemPixImageSave.cpp: In function 'int mem2magickImage(imageStruct*,  
const char*)':
GemPixImageSave.cpp:469: error: 'Magick' has not been declared
GemPixImageSave.cpp:469: error: 'Image' was not declared in this scope
GemPixImageSave.cpp:469: error: expected `;' before 'mimage'
GemPixImageSave.cpp:470: error: 'mimage' was not declared in this scope
GemPixImageSave.cpp:472: error: 'Magick' has not been declared
GemPixImageSave.cpp:472: error: expected type-specifier
GemPixImageSave.cpp:472: error: expected `)' before 'e'
GemPixImageSave.cpp:472: error: expected `{' before 'e'
GemPixImageSave.cpp:472: error: 'e' was not declared in this scope
GemPixImageSave.cpp:472: error: expected `;' before ')' token
GemPixImageSave.cpp:477: error: expected `}' at end of input
make[1]: *** [GemPixImageSave.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Base] Error 2


------------------------------------------------------------------------

If nature has made any one thing less susceptible than all others of  
exclusive property, it is the action of the thinking power called an  
idea, which an individual may exclusively possess as long as he keeps  
it to himself; but the moment it is divulged, it forces itself into  
the possession of everyone, and the receiver cannot dispossess  
himself of it.            - Thomas Jefferson






More information about the GEM-dev mailing list