Skip to content

Install build time deps from docker-php-ext-configure for alpine. - #237

Closed
shouze wants to merge 1 commit into
docker-library:masterfrom
shouze:issue/buil-time-deps-also-in-configure
Closed

Install build time deps from docker-php-ext-configure for alpine.#237
shouze wants to merge 1 commit into
docker-library:masterfrom
shouze:issue/buil-time-deps-also-in-configure

Conversation

@shouze

@shouzeshouze commented Jun 2, 2016

Copy link
Copy Markdown
Contributor

Should fix @kusmierz issue #206 (comment).

@kusmierz

Copy link
Copy Markdown

The one and only thing I'm worried about is build time. I mean, ie.:

apk add some dependencies...
docker-php-ext-configure extension -with-some-weird-option=/usr/include/
docker-php-ext-install extension

will do:

  1. install custom dependencies
  2. install php dependencies, ./configure extension, uninstall php dependencies
  3. install php dependencies, install an extension, uninstall php dependencies

It is quite OK, as build time is not something we have to worry about, but still looks not so well. Unfortunately I have no idea how to do it better without BC.

My second thought was to remove docker-php-ext-configure (or at least deprecate it) and merge it with docker-php-ext-install. So then, we could add some switches to docker-php-ext-install:65 to change configuration options, ie:

docker-php-ext-install extension -with-some-weird-option=/usr/include/

but it is not ideal either, as docker-php-ext-install could install more then one extension at once.

So maybe merge docker-php-ext-install to docker-php-ext-configure, and rename it to docker-php-ext-configure-and-install (or something)? Do you think it's worth it?

@shouze

shouze commented Jun 2, 2016

Copy link
Copy Markdown
ContributorAuthor

Yes, about build time most registries have automated builds (docker one, quay.io, google one, artifactory, ...).

So yes, it can take time. I have custom container images that inherit official alpine ones, it take max 10min to build the most complex container with a bunch of php extensions. It's not so bad I guess. It worth the effort for the resulting image size but you're right, should not take much time than compiling php by ourselve when we inherit from the alpine variant image (and it depends on the number of extensions you need to add in fact).

About merging scripts or not... here it mimics pretty well the unix configure/install principle so I'm not sure we should merge them, what do @tianon@yosifkit@ncopa think?

@ncopa

ncopa commented Jun 2, 2016

Copy link
Copy Markdown
Contributor

I am not 100% happy with automatically add and remove the dependencies with docker-php-ext-configure because you will install/uninstall the dependencies twice. I think it would ideally be:

RUN apk add --no-cache --virtual .mydeps someapk-dev $PHPIZE_DEPS \
&& docker-php-ext-configure extension --some-option=/usr/include \
&& docker-php-ext-install extension \
&& apk add someapk \
&& apk del .mydeps

My thinking is that when you call docker-php-ext-configure you are also responsible to install the build time dependencies - and responsible to uninstall them afterwards.

We could also add support for configure options directly to docker-php-ext-install, which would be passed to all extensions (as mentioned above):

 ...
&& docker-php-ext-install --some-option=/usr/include/foo ext1 ext2
...

But we could also add the configure option to extention, separated with : or ,:

 ...
&& docker-php-ext-install ext1,--some-option=/usr/include/foo,--other-option \
ext2,--without-foo,--with-bar=yes \
...

If we eimplement both of the above, then you would have an inefficient, but simpler alternative or in case you actually need to pass an option that includes the separator char, : or ,:

 ...
&& docker-php-ext-install --some-option=/usr/include/foo --other-option ext1 \
&& docker-php-ext-install --without-foo --with-bar=yes ext2 \
...

@kusmierz

Copy link
Copy Markdown

@ncopa Configure options would be fine here I think.

@ncopa

ncopa commented Jun 2, 2016

Copy link
Copy Markdown
Contributor

But i actually think that it might better to compile the php package in a 3rd party apk php repository. Then you can easily build 3rd party extensions and apk add php-ext1 php-ext2 instead. If you still needed run phpize, then you could apk add php-dev to get the headers, phpize and static libs.

That would make it possible to shrink image size significantly.

@kusmierz

Copy link
Copy Markdown

@ncopa I thought about it too, but as far as I know, there is no php7-* packages for current alpine branch (3.4), but only for edge.

@ncopa

ncopa commented Jun 2, 2016

Copy link
Copy Markdown
Contributor

Example of support for comma separated configure options for extensions:

diff --git a/docker-php-ext-install b/docker-php-ext-install
index eb2380a..e33b005 100755
--- a/docker-php-ext-install+++ b/docker-php-ext-install@@ -26,6 +26,7 @@ while true; do
--help|-h|'-?') usage && exit 0 ;;
--jobs|-j) j="$1" && shift ;;
--) break ;;
+ -*) global_opts="$global_opts $1" ;;
*)
{
echo "error: unknown flag: $flag"
@@ -41,6 +42,7 @@ for ext; do
if [ -z "$ext" ]; then
continue
fi
+ ext=${ext%%,*}
if [ ! -d "$ext" ]; then
echo >&2 "error: $(pwd -P)/$ext does not exist"
echo >&2
@@ -61,8 +63,16 @@ fi
for ext in $exts; do
(
+ # extract the comma separated opts+ opts=${ext#*,}+ oifs="$IFS"+ IFS=,+ set -- $global_opts $opts+ IFS="$oifs"++ ext=${ext%%,*}
cd "$ext"
- [ -e Makefile ] || docker-php-ext-configure "$ext"+ [ -e Makefile ] || docker-php-ext-configure "$@" "$ext"
make -j"$j"
make -j"$j" install
find modules \

@ncopa

ncopa commented Jun 2, 2016

Copy link
Copy Markdown
Contributor

@kusmierz I thought about it too, but as far as I know, there is no php7-* packages for current alpine branch (3.4), but only for edge.

That is fixable.

@shouze

Copy link
Copy Markdown
ContributorAuthor

@ncopa@kusmierz or maybe we can/could stop the magic with docker-php-ext-install & docker-php-ext-configure. We could rollback automatic install of $PHPIZE_DEPS when we call docker-php-ext-install and explicitly add a new docker-php-ext-deps script with 'installoruninstall` argument.

This way we can write that:

RUN apk add --no-cache --virtual .mydeps someapk-dev \
&& docker-php-ext-deps install \
&& docker-php-ext-configure extension --some-option=/usr/include \
&& docker-php-ext-install extension \
&& apk add someapk \
&& docker-php-ext-deps uninstall \
&& apk del .mydeps
  • docker-php-ext-deps install could write some kind of lock file to inform docker-php-ext-install & docker-php-ext-configure scripts that $PHPIZE_DEPS are currently installed, so when we run either docker-php-ext-install or docker-php-ext-configure we can output a nice error message to the user saying it have to run docker-php-ext-deps install.
  • docker-php-ext-deps uninstall would remove the lock file.
  • docker-php-ext-deps install would also inform the user to not forgot to run docker-php-ext-deps uninstall if he don't want its built docker image to be big.

I think it makes things clear & explicit about the usage while it do the work, no?

@tianon

Copy link
Copy Markdown
Member

Decided to put my own thoughts on fixing this particular backwards incompatible change directly into PR form since IMO they're easier to understand that way: #239

@shouze

Copy link
Copy Markdown
ContributorAuthor

@tianon to me #239 is a very pleasant solution to fix current major issue.

Just for people that need to use pecl directly it remains a bit sad. I don't know how we could find a solution without introducing some new deps install/uninstall script.

@shouze

Copy link
Copy Markdown
ContributorAuthor

@tianon ho, this use case will also work in fact if we make an explicit apk add of deps first, sorry. It's a smart move!

@shouze

Copy link
Copy Markdown
ContributorAuthor

Closed in favor of #239

@shouzeshouze closed this Jun 12, 2016
@shouze
shouze deleted the issue/buil-time-deps-also-in-configure branch June 12, 2016 09:00
@Cheonsoon

Copy link
Copy Markdown

@shouze Hi, run commands like the following:
RUN pecl install imagick-3.4.3 or other pecl install also raise:
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. at php:7.1.10-fpm-alpine

@tianon

Copy link
Copy Markdown
Member

@Cheonsoon for pecl install, you need to install the build-time dependencies yourself:

$ cat DockerfileFROM php:7.1-fpm-alpineRUN apk add --no-cache \ $PHPIZE_DEPS \ imagemagick-dev \ libtool \	&& pecl install imagick-3.4.3 \	&& docker-php-ext-enable imagick
$ docker build --pull .Sending build context to Docker daemon 2.048kBStep 1/2 : FROM php:7.1-fpm-alpine7.1-fpm-alpine: Pulling from library/phpDigest: sha256:2d4408069e229c39c9fcf3d87253ddc778f56fb933131b559fba33b13266abc9Status: Image is up to date for php:7.1-fpm-alpine ---> 02ca9e7c2413Step 2/2 : RUN apk add --no-cache $PHPIZE_DEPS imagemagick-dev libtool && pecl install imagick-3.4.3 && docker-php-ext-enable imagick ---> Running in 51a46cdb8865fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gzfetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz(1/56) Installing m4 (1.4.17-r1)(2/56) Installing perl (5.22.2-r0)(3/56) Installing autoconf (2.69-r0)(4/56) Installing libbz2 (1.0.6-r5)(5/56) Installing dpkg (1.18.7-r0)(6/56) Installing pkgconf (0.9.12-r0)(7/56) Installing pkgconfig (0.25-r1)(8/56) Installing dpkg-dev (1.18.7-r0)(9/56) Installing libmagic (5.27-r0)(10/56) Installing file (5.27-r0)(11/56) Installing libgcc (5.3.0-r0)(12/56) Installing libstdc++ (5.3.0-r0)(13/56) Installing binutils-libs (2.26-r1)(14/56) Installing binutils (2.26-r1)(15/56) Installing gmp (6.1.0-r0)(16/56) Installing isl (0.14.1-r0)(17/56) Installing libgomp (5.3.0-r0)(18/56) Installing libatomic (5.3.0-r0)(19/56) Installing mpfr3 (3.1.2-r0)(20/56) Installing mpc1 (1.0.3-r0)(21/56) Installing gcc (5.3.0-r0)(22/56) Installing musl-dev (1.1.14-r15)(23/56) Installing libc-dev (0.7-r0)(24/56) Installing g++ (5.3.0-r0)(25/56) Installing expat (2.2.0-r1)(26/56) Installing libpng (1.6.21-r0)(27/56) Installing freetype (2.6.3-r1)(28/56) Installing fontconfig (2.12.1-r0)(29/56) Installing dbus-libs (1.10.8-r1)(30/56) Installing libintl (0.19.7-r3)(31/56) Installing avahi-libs (0.6.32-r0)(32/56) Installing nettle (3.2-r0)(33/56) Installing libffi (3.2.1-r2)(34/56) Installing libtasn1 (4.8-r2)(35/56) Installing p11-kit (0.23.2-r0)(36/56) Installing gnutls (3.4.17-r0)(37/56) Installing cups-libs (2.1.3-r1)(38/56) Installing jbig2dec (0.12-r0)(39/56) Installing libjpeg-turbo (1.4.2-r0)(40/56) Installing lcms2 (2.8-r0)(41/56) Installing tiff (4.0.8-r0)(42/56) Installing ghostscript (9.21-r0)(43/56) Installing libltdl (2.4.6-r0)(44/56) Installing libwebp (0.5.0-r0)(45/56) Installing imagemagick (6.9.5.9-r1)(46/56) Installing imagemagick-c++ (6.9.5.9-r1)(47/56) Installing imagemagick-dev (6.9.5.9-r1)(48/56) Installing readline (6.3.008-r4)(49/56) Installing bash (4.3.42-r5)Executing bash-4.3.42-r5.post-install(50/56) Installing libtool (2.4.6-r0)(51/56) Installing make (4.1-r1)(52/56) Installing libpcre16 (8.38-r1)(53/56) Installing libpcre32 (8.38-r1)(54/56) Installing libpcrecpp (8.38-r1)(55/56) Installing pcre-dev (8.38-r1)(56/56) Installing re2c (0.14.3-r0)Executing busybox-1.24.2-r13.triggerExecuting fontconfig-2.12.1-r0.triggerOK: 294 MiB in 83 packagesdownloading imagick-3.4.3.tgz ...Starting to download imagick-3.4.3.tgz (245,410 bytes)...................................................done: 245,410 bytes19 source files, buildingrunning: phpizeConfiguring for:PHP Api Version: 20160303Zend Module Api No: 20160303Zend Extension Api No: 320160303Please provide the prefix of Imagemagick installation [autodetect] : building in /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3running: /tmp/pear/temp/imagick/configure --with-php-config=/usr/local/bin/php-config --with-imagickchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for a sed that does not truncate output... /bin/sedchecking for cc... ccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether cc accepts -g... yeschecking for cc option to accept ISO C89... none neededchecking how to run the C preprocessor... cc -Echecking for icc... nochecking for suncc... nochecking whether cc understands -c and -o together... yeschecking for system library directory... libchecking if compiler supports -R... nochecking if compiler supports -Wl,-rpath,... yeschecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for PHP prefix... /usr/localchecking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/libchecking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20160303checking for PHP installed headers prefix... /usr/local/include/phpchecking if debug is enabled... nochecking if zts is enabled... nochecking for re2c... re2cchecking for re2c version... 0.14.3 (ok)checking for gawk... nochecking for nawk... nochecking for awk... awkchecking if awk is broken... nochecking whether to enable the imagick extension... yes, sharedchecking for pkg-config... /usr/bin/pkg-configchecking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't existchecking Testing /usr/bin/MagickWand-config... It existsfound in /usr/bin/MagickWand-configchecking if ImageMagick version is at least 6.2.4... found version 6.9.5 Q16checking for MagickWand.h or magick-wand.h header... user location /usr/include/ImageMagick-6/wand/MagickWand.hchecking PHP version is at least 5.1.3... yes. found 7.1.10libs-lMagickWand-6.Q16 -lMagickCore-6.Q16checking for MagickGetVersion... yeschecking for MagickSetImageInterpolateMethod... yeschecking for ld used by cc... /usr/x86_64-alpine-linux-musl/bin/ldchecking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yeschecking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -rchecking for BSD-compatible nm... /usr/bin/nm -Bchecking whether ln -s works... yeschecking how to recognize dependent libraries... pass_allchecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking dlfcn.h usability... yeschecking dlfcn.h presence... yeschecking for dlfcn.h... yeschecking the maximum length of command line arguments... 98304checking command to parse /usr/bin/nm -B output from cc object... okchecking for objdir... .libschecking for ar... archecking for ranlib... ranlibchecking for strip... stripchecking if cc supports -fno-rtti -fno-exceptions... nochecking for cc option to produce PIC... -fPICchecking if cc PIC flag -fPIC works... yeschecking if cc static flag -static works... yeschecking if cc supports -c -o file.o... yeschecking whether the cc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... nocreating libtoolappending configuration tag "CXX" to libtoolconfigure: creating ./config.statusconfig.status: creating config.hrunning: make/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_file.c -o imagick_file.lomkdir .libs cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_file.c -fPIC -DPIC -o .libs/imagick_file.o/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_class.c -o imagick_class.lo cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_class.c -fPIC -DPIC -o .libs/imagick_class.o/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimagematte':/tmp/pear/temp/imagick/imagick_class.c:299:2: warning: 'MagickGetImageMatte' is deprecated [-Wdeprecated-declarations] matte = MagickGetImageMatte(intern->magick_wand); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:85:3: note: declared here MagickGetImageMatte(MagickWand *) magick_attribute((deprecated)), ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_paintfloodfillimage':/tmp/pear/temp/imagick/imagick_class.c:1284:3: warning: 'MagickPaintFloodfillImage' is deprecated [-Wdeprecated-declarations] status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, NULL, x, y); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:102:3: note: declared here MagickPaintFloodfillImage(MagickWand *,const ChannelType,const PixelWand *, ^/tmp/pear/temp/imagick/imagick_class.c:1292:3: warning: 'MagickPaintFloodfillImage' is deprecated [-Wdeprecated-declarations] status = MagickPaintFloodfillImage(intern->magick_wand, channel, fill_wand, fuzz, border_wand, x, y); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:102:3: note: declared here MagickPaintFloodfillImage(MagickWand *,const ChannelType,const PixelWand *, ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_recolorimage':/tmp/pear/temp/imagick/imagick_class.c:1774:2: warning: 'MagickRecolorImage' is deprecated [-Wdeprecated-declarations] status = MagickRecolorImage(intern->magick_wand, order, array); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:116:3: note: declared here MagickRecolorImage(MagickWand *,const size_t,const double *) ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_colorfloodfillimage':/tmp/pear/temp/imagick/imagick_class.c:4315:2: warning: 'MagickColorFloodfillImage' is deprecated [-Wdeprecated-declarations] status = MagickColorFloodfillImage(intern->magick_wand, fill_wand, fuzz, border_wand, x, y); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:78:3: note: declared here MagickColorFloodfillImage(MagickWand *,const PixelWand *,const double, ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_mapimage':/tmp/pear/temp/imagick/imagick_class.c:4743:2: warning: 'MagickMapImage' is deprecated [-Wdeprecated-declarations] status = MagickMapImage(intern->magick_wand, intern_map->magick_wand, dither); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:89:3: note: declared here MagickMapImage(MagickWand *,const MagickWand *,const MagickBooleanType) ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_mattefloodfillimage':/tmp/pear/temp/imagick/imagick_class.c:4784:2: warning: 'MagickMatteFloodfillImage' is deprecated [-Wdeprecated-declarations] status = MagickMatteFloodfillImage(intern->magick_wand, alpha, fuzz, color_wand, x, y); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:91:3: note: declared here MagickMatteFloodfillImage(MagickWand *,const double,const double, ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_medianfilterimage':/tmp/pear/temp/imagick/imagick_class.c:4822:2: warning: 'MagickMedianFilterImage' is deprecated [-Wdeprecated-declarations] status = MagickMedianFilterImage(intern->magick_wand, radius); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:88:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/magick-image.h:222:3: note: declared here MagickMedianFilterImage(MagickWand *,const double), ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_paintopaqueimage':/tmp/pear/temp/imagick/imagick_class.c:4904:2: warning: 'MagickPaintOpaqueImageChannel' is deprecated [-Wdeprecated-declarations] status = MagickPaintOpaqueImageChannel(intern->magick_wand, channel, target_wand, fill_wand, fuzz); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:107:3: note: declared here MagickPaintOpaqueImageChannel(MagickWand *,const ChannelType, ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_painttransparentimage':/tmp/pear/temp/imagick/imagick_class.c:4987:2: warning: 'MagickPaintTransparentImage' is deprecated [-Wdeprecated-declarations] status = MagickPaintTransparentImage(intern->magick_wand, color_wand, alpha, fuzz); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:110:3: note: declared here MagickPaintTransparentImage(MagickWand *,const PixelWand *,const double, ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_reducenoiseimage':/tmp/pear/temp/imagick/imagick_class.c:5151:2: warning: 'MagickReduceNoiseImage' is deprecated [-Wdeprecated-declarations] status = MagickReduceNoiseImage(intern->magick_wand, radius); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:88:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/magick-image.h:269:3: note: declared here MagickReduceNoiseImage(MagickWand *,const double), ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimageattribute':/tmp/pear/temp/imagick/imagick_class.c:6481:2: warning: 'MagickGetImageAttribute' is deprecated [-Wdeprecated-declarations] attribute = MagickGetImageAttribute(intern->magick_wand, key); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:62:4: note: declared here *MagickGetImageAttribute(MagickWand *,const char *) ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimagechannelextrema':/tmp/pear/temp/imagick/imagick_class.c:6698:2: warning: 'MagickGetImageChannelExtrema' is deprecated [-Wdeprecated-declarations] status = MagickGetImageChannelExtrema(intern->magick_wand, channel_type, &minima, &maxima); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:81:3: note: declared here MagickGetImageChannelExtrema(MagickWand *,const ChannelType,size_t *, ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimageextrema':/tmp/pear/temp/imagick/imagick_class.c:7039:2: warning: 'MagickGetImageExtrema' is deprecated [-Wdeprecated-declarations] status = MagickGetImageExtrema(intern->magick_wand, &min, &max); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:83:3: note: declared here MagickGetImageExtrema(MagickWand *,size_t *,size_t *) ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimageindex':/tmp/pear/temp/imagick/imagick_class.c:8151:2: warning: 'MagickGetImageIndex' is deprecated [-Wdeprecated-declarations] status = MagickGetImageIndex(intern->magick_wand); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:68:3: note: declared here MagickGetImageIndex(MagickWand *) magick_attribute((deprecated)); ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_getimagesize':/tmp/pear/temp/imagick/imagick_class.c:8272:2: warning: 'MagickGetImageSize' is deprecated [-Wdeprecated-declarations] ZVAL_LONG(return_value, (long)MagickGetImageSize(intern->magick_wand)); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:147:3: note: declared here MagickGetImageSize(MagickWand *) magick_attribute((deprecated)); ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_setimageattribute':/tmp/pear/temp/imagick/imagick_class.c:8746:2: warning: 'MagickSetImageAttribute' is deprecated [-Wdeprecated-declarations] status = MagickSetImageAttribute(intern->magick_wand, key, attribute); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:118:3: note: declared here MagickSetImageAttribute(MagickWand *,const char *,const char *) ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_flattenimages':/tmp/pear/temp/imagick/imagick_class.c:9121:2: warning: 'MagickFlattenImages' is deprecated [-Wdeprecated-declarations] tmp_wand = MagickFlattenImages(intern->magick_wand); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:139:4: note: declared here *MagickFlattenImages(MagickWand *) magick_attribute((deprecated)), ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_averageimages':/tmp/pear/temp/imagick/imagick_class.c:10308:2: warning: 'MagickAverageImages' is deprecated [-Wdeprecated-declarations] tmp_wand = MagickAverageImages(intern->magick_wand); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:138:4: note: declared here *MagickAverageImages(MagickWand *) magick_attribute((deprecated)), ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_mosaicimages':/tmp/pear/temp/imagick/imagick_class.c:10811:2: warning: 'MagickMosaicImages' is deprecated [-Wdeprecated-declarations] tmp_wand = MagickMosaicImages(intern->magick_wand); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:142:4: note: declared here *MagickMosaicImages(MagickWand *) magick_attribute((deprecated)), ^/tmp/pear/temp/imagick/imagick_class.c: In function 'zim_imagick_radialblurimage':/tmp/pear/temp/imagick/imagick_class.c:10941:2: warning: 'MagickRadialBlurImageChannel' is deprecated [-Wdeprecated-declarations] status = MagickRadialBlurImageChannel(intern->magick_wand, channel, angle); ^In file included from /usr/include/ImageMagick-6/wand/MagickWand.h:82:0, from /tmp/pear/temp/imagick/php_imagick_defs.h:29, from /tmp/pear/temp/imagick/imagick_class.c:22:/usr/include/ImageMagick-6/wand/deprecate.h:114:3: note: declared here MagickRadialBlurImageChannel(MagickWand *,const ChannelType,const double) ^/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickdraw_class.c -o imagickdraw_class.lo cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickdraw_class.c -fPIC -DPIC -o .libs/imagickdraw_class.o/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixel_class.c -o imagickpixel_class.lo cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixel_class.c -fPIC -DPIC -o .libs/imagickpixel_class.o/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixeliterator_class.c -o imagickpixeliterator_class.lo cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickpixeliterator_class.c -fPIC -DPIC -o .libs/imagickpixeliterator_class.o/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_helpers.c -o imagick_helpers.lo cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick_helpers.c -fPIC -DPIC -o .libs/imagick_helpers.o/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick.c -o imagick.lo cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagick.c -fPIC -DPIC -o .libs/imagick.o/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickkernel_class.c -o imagickkernel_class.lo cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/imagickkernel_class.c -fPIC -DPIC -o .libs/imagickkernel_class.o/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=compile cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/shim_im6_to_im7.c -o shim_im6_to_im7.lo cc -I/usr/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I. -I/tmp/pear/temp/imagick -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/imagick/shim_im6_to_im7.c -fPIC -DPIC -o .libs/shim_im6_to_im7.o/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/include -I/tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/main -I/tmp/pear/temp/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -o imagick.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/modules imagick_file.lo imagick_class.lo imagickdraw_class.lo imagickpixel_class.lo imagickpixeliterator_class.lo imagick_helpers.lo imagick.lo imagickkernel_class.lo shim_im6_to_im7.lo -lMagickWand-6.Q16 -lMagickCore-6.Q16cc -shared .libs/imagick_file.o .libs/imagick_class.o .libs/imagickdraw_class.o .libs/imagickpixel_class.o .libs/imagickpixeliterator_class.o .libs/imagick_helpers.o .libs/imagick.o .libs/imagickkernel_class.o .libs/shim_im6_to_im7.o /usr/lib/libMagickWand-6.Q16.so -L/usr/lib -L/lib /usr/lib/libMagickCore-6.Q16.so -Wl,-soname -Wl,imagick.so -o .libs/imagick.socreating imagick.la(cd .libs && rm -f imagick.la && ln -s ../imagick.la imagick.la)/bin/bash /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/libtool --mode=install cp ./imagick.la /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/modulescp ./.libs/imagick.so /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/modules/imagick.socp ./.libs/imagick.lai /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/modules/imagick.laPATH="$PATH:/sbin" ldconfig -n /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/modules----------------------------------------------------------------------Libraries have been installed in: /tmp/pear/temp/pear-build-defaultuserLoGFAH/imagick-3.4.3/modulesIf you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify the full pathname of the library, or use the `-LLIBDIR'flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flagSee any operating system documentation about shared libraries formore information, such as the ld(1) and ld.so(8) manual pages.----------------------------------------------------------------------Build complete.Don't forget to run 'make test'.running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3" installInstalling shared extensions: /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/lib/php/extensions/no-debug-non-zts-20160303/Installing header files: /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/include/php/running: find "/tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3" | xargs ls -dils 10030 4 drwxr-xr-x 3 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3 10155 4 drwxr-xr-x 3 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr 10156 4 drwxr-xr-x 4 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local 10161 4 drwxr-xr-x 3 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/include 10162 4 drwxr-xr-x 3 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/include/php 10163 4 drwxr-xr-x 3 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/include/php/ext 10164 4 drwxr-xr-x 2 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/include/php/ext/imagick 10165 4 -rw-r--r-- 1 root root 1828 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/include/php/ext/imagick/php_imagick_shared.h 10157 4 drwxr-xr-x 3 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/lib 10158 4 drwxr-xr-x 3 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/lib/php 10159 4 drwxr-xr-x 3 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/lib/php/extensions 10160 4 drwxr-xr-x 2 root root 4096 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/lib/php/extensions/no-debug-non-zts-20160303 10151 1136 -rwxr-xr-x 1 root root 1160080 Oct 3 17:38 /tmp/pear/temp/pear-build-defaultuserLoGFAH/install-imagick-3.4.3/usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.soBuild process completed successfullyInstalling '/usr/local/include/php/ext/imagick/php_imagick_shared.h'Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/imagick.so'install ok: channel://pecl.php.net/imagick-3.4.3configuration option "php_ini" is not set to php.ini locationYou should add "extension=imagick.so" to php.inifetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gzfetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz(1/1) Installing .docker-php-ext-enable-deps (0)OK: 294 MiB in 84 packagesWARNING: Ignoring APKINDEX.167438ca.tar.gz: No such file or directoryWARNING: Ignoring APKINDEX.a2e6dac0.tar.gz: No such file or directory(1/1) Purging .docker-php-ext-enable-deps (0)OK: 294 MiB in 83 packages ---> e2940c664fa8Removing intermediate container 51a46cdb8865Successfully built e2940c664fa8

@Cheonsoon

Copy link
Copy Markdown

@tianon Haha, totally ok. Thanks a lot~

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@shouze@kusmierz@ncopa@tianon@Cheonsoon