|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-06-12 12:20 UTC] r1d3r at abv dot bg
-Summary: make gives error
+Summary: imagick make gives error
[2015-06-12 12:20 UTC] r1d3r at abv dot bg
[2015-06-12 12:33 UTC] kalle@php.net
-Summary: imagick make gives error
+Summary: make gives error
-Status: Open
+Status: Analyzed
[2015-06-12 12:33 UTC] kalle@php.net
[2015-06-13 06:19 UTC] kalle@php.net
-Summary: make gives error
+Summary: Imagick compile error with PHP7
[2015-06-13 06:19 UTC] kalle@php.net
[2015-06-13 22:20 UTC] danack@php.net
[2015-06-13 22:20 UTC] danack@php.net
-Assigned To:
+Assigned To: danack
[2015-06-16 21:22 UTC] kalle@php.net
[2015-06-24 07:01 UTC] r1d3r at abv dot bg
[2015-06-25 08:03 UTC] kalle@php.net
[2015-06-26 07:30 UTC] r1d3r at abv dot bg
[2015-09-19 14:49 UTC] danack@php.net
-Status: Analyzed
+Status: Not a bug
[2015-09-19 14:49 UTC] danack@php.net
[2015-12-04 08:32 UTC] eugene at zhegan dot in
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
Description: ------------ Hello, i am having problem to compile RC2. I build my php : ./configure --prefix=whatever --with-config-file-path=whatever --enable-mbstring --enable-zip --enable-exif --enable-calendar --with-curl --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --with-openssl --with-mysqli=mysqlnd --enable-sockets --with-libdir=/lib/x86_64-linux-gnu after that i go to iamgick folder and call: ./configure --with-php-config=/opt/php7alpha1/bin/php-config so far so good. after that typing make gives me this after 2nd line of compiling: cc -fopenmp -I/usr/include/ImageMagick -I. -I/home/user/imagick-3.3.0RC2 -DPHP_ATOM_INC -I/home/user/imagick-3.3.0RC2/include -I/home/user/imagick-3.3.0RC2/main -I/home/user/imagick-3.3.0RC2 -I/opt/php7alpha1/include/php -I/opt/php7alpha1/include/php/main -I/opt/php7alpha1/include/php/TSRM -I/opt/php7alpha1/include/php/Zend -I/opt/php7alpha1/include/php/ext -I/opt/php7alpha1/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g -O2 -c /home/user/imagick-3.3.0RC2/imagick_file.c -fPIC -DPIC -o .libs/imagick_file.o In file included from /opt/php7alpha1/include/php/main/php.h:398:0, from /home/user/imagick-3.3.0RC2/php_imagick.h:40, from /home/user/imagick-3.3.0RC2/imagick_file.c:21: /home/user/imagick-3.3.0RC2/imagick_file.c: In function ‘php_imagick_read_image_using_php_streams’: /home/user/imagick-3.3.0RC2/imagick_file.c:193:58: error: ‘ENFORCE_SAFE_MODE’ undeclared (first use in this function) stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNORE_PATH) & ~REPORT_ERRORS, NULL); ^ /opt/php7alpha1/include/php/main/php_streams.h:564:107: note: in definition of macro ‘php_stream_open_wrapper’ #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ /home/user/imagick-3.3.0RC2/imagick_file.c:193:58: note: each undeclared identifier is reported only once for each function it appears in stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNORE_PATH) & ~REPORT_ERRORS, NULL); ^ /opt/php7alpha1/include/php/main/php_streams.h:564:107: note: in definition of macro ‘php_stream_open_wrapper’ #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ make: *** [imagick_file.lo] Error 1