Installation: MAKE runs into error
Posted: 2011-04-03T19:34:55-07:00
Hello,
i have successfully installed ImagMagick 6.6.4.1 and MagickWandForPHP 1.0.8 on our SuSE 11.2 root server an it runs fine.
Now we intend to move to a different location: In the future we will use a vserver with the same SuSE on it.
I am in progress of configuring the vserver right now and after a few problems it seems to work fine all over.
ImageMagic ist installed an announces correctly:
And it converts images without any Problems on the shell.
Now we come to the problem: MagickWandForPHP 1.0.8
I follwed all the steps through I noticed in the past to install it on the root server:
1.) Made sure ImageMagick 6.6.4.1 works.
2.) yast install gcc and php5-devel.
3.) install ghostscript (Ver. 8.71) for PDF actions
4.) Move MagicWand files to /usr/include/php5/ext/magickwand
5.) ./configure
...seems fine.
6.) make
WOW! I never inteded to get so many errors at once.
But can anyone tell me how to ged rid of them, especially for these notices do not tell me where to look after.
Is there a module still missing for compilation?
What is "Fehler 1"? Can there be some more explanation, please?
Why all these warnings "... is deprecated". On the root server there was nothing deprecated.
Please make me happy and let MagickWandForPHP work again.
Before you ask: The vserver runs...
Thanks for any hint you can give.
i have successfully installed ImagMagick 6.6.4.1 and MagickWandForPHP 1.0.8 on our SuSE 11.2 root server an it runs fine.
Now we intend to move to a different location: In the future we will use a vserver with the same SuSE on it.
I am in progress of configuring the vserver right now and after a few problems it seems to work fine all over.
ImageMagic ist installed an announces correctly:
Code: Select all
# identify -version
Version: ImageMagick 6.6.4-1 2011-04-02 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
Now we come to the problem: MagickWandForPHP 1.0.8
I follwed all the steps through I noticed in the past to install it on the root server:
1.) Made sure ImageMagick 6.6.4.1 works.
2.) yast install gcc and php5-devel.
3.) install ghostscript (Ver. 8.71) for PDF actions
4.) Move MagicWand files to /usr/include/php5/ext/magickwand
5.) ./configure
Code: Select all
# ./configure --with-magickwand=/usr/local/include/ImageMagick
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib64/php5/extensions
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking whether to enable the magickwand extension... yes, shared
checking MagickWand-config in default path... found in /usr/local/bin
checking if ImageMagick version is at least 6.3.8... found version 6.6.4 Q16
checking if PHP version is at least 4.1.3... found version 5.2.14
checking MagickWand-config --cppflags... -I/usr/local/include/ImageMagick
checking MagickWand-config --libs... -L/usr/local/lib -lMagickWand -lMagickCore -lz -lm -lgomp -lpthread -lltdl
checking for ld used by cc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
6.) make
Code: Select all
# make
/bin/sh /usr/include/php5/ext/magickwand/libtool --mode=compile cc -I. -I/usr/include/php5/ext/magickwand -DPHP_ATOM_INC -I/usr/include/php5/ext/magickwand/include -I/usr/include/php5/ext/magickwand/main -I/usr/include/php5/ext/magickwand -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include/ImageMagick -I/usr/local/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /usr/include/php5/ext/magickwand/magickwand.c -o magickwand.lo
mkdir .libs
cc -I. -I/usr/include/php5/ext/magickwand -DPHP_ATOM_INC -I/usr/include/php5/ext/magickwand/include -I/usr/include/php5/ext/magickwand/main -I/usr/include/php5/ext/magickwand -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include/ImageMagick -I/usr/local/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /usr/include/php5/ext/magickwand/magickwand.c -fPIC -DPIC -o .libs/magickwand.o
In file included from /usr/include/php5/ext/magickwand/magickwand.c:9:
/usr/include/php5/ext/magickwand/magickwand_inc.h:18:31: error: ext/standard/info.h: Datei oder Verzeichnis nicht gefunden
/usr/include/php5/ext/magickwand/magickwand_inc.h:19:40: error: ext/standard/php_smart_str.h: Datei oder Verzeichnis nicht gefunden
/usr/include/php5/ext/magickwand/magickwand.c: In function 'MW_read_image':
/usr/include/php5/ext/magickwand/magickwand.c:150: warning: 'MagickSetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:107)
/usr/include/php5/ext/magickwand/magickwand.c:236: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c:244: warning: 'MagickSetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:107)
/usr/include/php5/ext/magickwand/magickwand.c:289: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c:300: warning: 'MagickSetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:107)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_drawgetfillalpha':
/usr/include/php5/ext/magickwand/magickwand.c:2183: warning: 'DrawGetFillAlpha' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:51)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_drawgetstrokealpha':
/usr/include/php5/ext/magickwand/magickwand.c:2293: warning: 'DrawGetStrokeAlpha' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:52)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_drawsetfillalpha':
/usr/include/php5/ext/magickwand/magickwand.c:3101: warning: 'DrawSetFillAlpha' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:161)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_drawsetstrokealpha':
/usr/include/php5/ext/magickwand/magickwand.c:3270: warning: 'DrawSetStrokeAlpha' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:162)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickaverageimages':
/usr/include/php5/ext/magickwand/magickwand.c:3866: warning: 'MagickAverageImages' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:125)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickclippathimage':
/usr/include/php5/ext/magickwand/magickwand.c:4031: warning: 'MagickClipPathImage' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:73)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickdescribeimage':
/usr/include/php5/ext/magickwand/magickwand.c:4553: warning: 'MagickDescribeImage' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:58)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickdisplayimage':
/usr/include/php5/ext/magickwand/magickwand.c:4599: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickdisplayimages':
/usr/include/php5/ext/magickwand/magickwand.c:4725: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickechoimageblob':
/usr/include/php5/ext/magickwand/magickwand.c:4853: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickechoimagesblob':
/usr/include/php5/ext/magickwand/magickwand.c:4953: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickflattenimages':
/usr/include/php5/ext/magickwand/magickwand.c:5097: warning: 'MagickFlattenImages' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:126)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickgetimageblob':
/usr/include/php5/ext/magickwand/magickwand.c:5427: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickgetimagesblob':
/usr/include/php5/ext/magickwand/magickwand.c:5510: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickgetimageattribute':
/usr/include/php5/ext/magickwand/magickwand.c:5773: warning: 'MagickGetImageAttribute' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:59)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickgetimageextrema':
/usr/include/php5/ext/magickwand/magickwand.c:5802: warning: 'MagickGetImageExtrema' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:80)
/usr/include/php5/ext/magickwand/magickwand.c:5807: warning: 'MagickGetImageChannelExtrema' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:78)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickgetimageindex':
/usr/include/php5/ext/magickwand/magickwand.c:5918: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickgetimagepixels':
/usr/include/php5/ext/magickwand/magickwand.c:6108: warning: 'MagickGetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:83)
/usr/include/php5/ext/magickwand/magickwand.c:6109: warning: 'MagickGetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:83)
/usr/include/php5/ext/magickwand/magickwand.c:6110: warning: 'MagickGetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:83)
/usr/include/php5/ext/magickwand/magickwand.c:6111: warning: 'MagickGetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:83)
/usr/include/php5/ext/magickwand/magickwand.c:6112: warning: 'MagickGetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:83)
/usr/include/php5/ext/magickwand/magickwand.c:6113: warning: 'MagickGetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:83)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickgetimagesize':
/usr/include/php5/ext/magickwand/magickwand.c:6266: warning: 'MagickGetImageSize' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:134)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickmapimage':
/usr/include/php5/ext/magickwand/magickwand.c:6707: warning: 'MagickMapImage' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:86)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickmosaicimages':
/usr/include/php5/ext/magickwand/magickwand.c:6929: warning: 'MagickMosaicImages' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:129)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magicknewimage':
/usr/include/php5/ext/magickwand/magickwand.c:7049: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c:7056: warning: 'MagickSetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:107)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickreadimageblob':
/usr/include/php5/ext/magickwand/magickwand.c:7785: warning: 'MagickSetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:107)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickreadimagefile':
/usr/include/php5/ext/magickwand/magickwand.c:7826: warning: 'MagickSetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:107)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickrecolorimage':
/usr/include/php5/ext/magickwand/magickwand.c:7925: warning: 'MagickRecolorImage' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:103)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magicksetimageattribute':
/usr/include/php5/ext/magickwand/magickwand.c:8366: warning: 'MagickSetImageAttribute' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:105)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magicksetimageindex':
/usr/include/php5/ext/magickwand/magickwand.c:8719: warning: 'MagickSetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:107)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magicksetimageoption':
/usr/include/php5/ext/magickwand/magickwand.c:8808: warning: 'MagickSetImageOption' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:109)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magicksetimagepixels':
/usr/include/php5/ext/magickwand/magickwand.c:8915: warning: 'MagickSetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:111)
/usr/include/php5/ext/magickwand/magickwand.c:8916: warning: 'MagickSetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:111)
/usr/include/php5/ext/magickwand/magickwand.c:8917: warning: 'MagickSetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:111)
/usr/include/php5/ext/magickwand/magickwand.c:8918: warning: 'MagickSetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:111)
/usr/include/php5/ext/magickwand/magickwand.c:8919: warning: 'MagickSetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:111)
/usr/include/php5/ext/magickwand/magickwand.c:8920: warning: 'MagickSetImagePixels' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:111)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickwriteimage':
/usr/include/php5/ext/magickwand/magickwand.c:9828: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c: In function 'zif_magickwriteimages':
/usr/include/php5/ext/magickwand/magickwand.c:9980: warning: 'MagickGetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:65)
/usr/include/php5/ext/magickwand/magickwand.c:10234: warning: 'MagickSetImageIndex' is deprecated (declared at /usr/local/include/ImageMagick/wand/deprecate.h:107)
make: *** [magickwand.lo] Fehler 1
But can anyone tell me how to ged rid of them, especially for these notices do not tell me where to look after.
Is there a module still missing for compilation?
What is "Fehler 1"? Can there be some more explanation, please?
Why all these warnings "... is deprecated". On the root server there was nothing deprecated.
Please make me happy and let MagickWandForPHP work again.
Before you ask: The vserver runs...
Code: Select all
# uname -a
Linux 202 2.6.26-2-openvz-amd64 #1 SMP Thu Sep 16 16:09:07 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux