• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

phpize扩展GD库安装!环境--centos7+nginx1.7.11+php5.6.7

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

使用phpize编译GD库安装,先安装前置库libjpeg libpng zlib  freetype等 都是下面php编译的几个选项

先看php编译的选项:

--with-gd=DIR                   Include GD support. DIR is the GD library base    install directory BUNDLED
--with-vpx-dir=DIR            GD: Set the path to libvpx install prefix
--with-jpeg-dir=DIR           GD: Set the path to libjpeg install prefix
--with-png-dir=DIR           GD: Set the path to libpng install prefix
--with-zlib-dir=DIR            GD: Set the path to libz install prefix
--with-xpm-dir=DIR           GD: Set the path to libXpm install prefix
--with-freetype-dir=DIR      GD: Set the path to FreeType 2 install prefix
--with-t1lib=DIR                GD:  Include T1lib support. T1lib version >= 5.0.0 required
--enable-gd-native-ttf         GD: Enable TrueType string function
--enable-gd-jis-conv            GD: Enable JIS-mapped Japanese font support

资料引用:

php手册官网说明:

http://php.net/manual/zh/book.image.php

GD库编译安装说明

http://php.net/manual/zh/image.installation.php

php配置configure里 --with-gd[=DIR] 编译安装需要libpng 和 libjpeg(注意,libpng 需要 zlib library,因此配置中还要加上 --with-zlib-dir[=DIR] )

所以现在的php配置变成

--with-jpeg-dir=DIR GD: Set the path to libjpeg install prefix
--with-png-dir=DIR GD: Set the path to libpng install prefix
--with-zlib-dir=DIR GD: Set the path to libz install prefix

libgd

libgd官网:

http://libgd.github.io/

安装方法

https://libgd.github.io/pages/faq.html

下载页面

https://bitbucket.org/libgd/gd-libgd/downloads

https://codeload.github.com/libgd/libgd/tar.gz/gd-2.1.1

下载 : 

[root@localhost src]# wget https://codeload.github.com/libgd/libgd/tar.gz/gd-2.1.1

解压

[root@localhost src]# tar zxvf gd-2.1.1 -C /usr/local/bin

进入解压目录  cd /usr/local/bin/libgd-gd-2.1.1

生成配置文件configure   执行./bootstrap.sh

[root@localhost libgd-gd-2.1.1]# ./bootstrap.sh
which: no naturaldocs in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
Can't find naturaldocs; not generating user manual.
configure.ac:78: warning: macro 'AM_ICONV' not found in library
configure.ac:78: warning: macro 'AM_ICONV' not found in library
configure.ac:52: installing 'config/ar-lib'
configure.ac:55: installing 'config/compile'
configure.ac:19: installing 'config/config.guess'
configure.ac:19: installing 'config/config.sub'
configure.ac:47: installing 'config/install-sh'
configure.ac:47: installing 'config/missing'
src/Makefile.am: installing 'config/depcomp'
parallel-tests: installing 'config/test-driver'
Now run configure and make
[root@localhost libgd-gd-2.1.1]# ls
aclocal.m4      CMakeLists.txt  docs           netware  thumbs.bat
appveyor.yml    config          examples       NEWS     thumbs.sh
autom4te.cache  configure       m4             README   VMS
bootstrap.sh    configure.ac    make_drone.io  src      windows
ChangeLog       CONTRIBUTORS    Makefile.am    test
cmake           COPYING         Makefile.in    tests

还是看图明显

  

编译安装libgd ./configure --prefix=/usr/etc/php_ext/libgd

[root@localhost libgd-gd-2.1.1]# ./configure --prefix=/usr/etc/php_ext/libgd
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -std=gnu99 -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/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... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... 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 unistd.h... (cached) yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking whether iconv.h defines iconv_t... yes
checking for sin... no
checking for sin in -lm... yes
checking for deflate in -lz... yes
checking for LIBPNG... no
checking for LIBFREETYPE... no
checking for LIBFONTCONFIG... no
checking for jpeg_set_defaults in -ljpeg... no
checking for LIBXPM... no
checking for LIBVPX... no
checking for LIBVPX... no
checking for LIBTIFF... no
checking for simple visibility declarations... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking whether we are building for a Win32 host... no

** Configuration summary for libgd 2.1.1:

   Support for Zlib:                 yes
   Support for PNG library:          no
   Support for JPEG library:         no
   Support for VPX library:          no
   Support for TIFF library:         no
   Support for Freetype 2.x library: no
   Support for Fontconfig library:   no
   Support for Xpm library:          no
   Support for pthreads:             yes

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/test_config.h
config.status: creating config/Makefile
config.status: creating config/gdlib-config
config.status: creating config/gdlib.pc
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

make make install

[root@localhost libgd-gd-2.1.1]# make
Making all in src
make[1]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/src”
make  all-am
make[2]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/src”
depbase=`echo gd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd.lo -MD -MP -MF $depbase.Tpo -c -o gd.lo gd.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c gd.c  -fPIC -DPIC -o .libs/gd.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c gd.c -o gd.o >/dev/null 2>&1
depbase=`echo gd_color.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_color.lo -MD -MP -MF $depbase.Tpo -c -o gd_color.lo gd_color.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_color.lo -MD -MP -MF .deps/gd_color.Tpo -c gd_color.c  -fPIC -DPIC -o .libs/gd_color.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_color.lo -MD -MP -MF .deps/gd_color.Tpo -c gd_color.c -o gd_color.o >/dev/null 2>&1
depbase=`echo gd_color_map.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_color_map.lo -MD -MP -MF $depbase.Tpo -c -o gd_color_map.lo gd_color_map.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_color_map.lo -MD -MP -MF .deps/gd_color_map.Tpo -c gd_color_map.c  -fPIC -DPIC -o .libs/gd_color_map.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_color_map.lo -MD -MP -MF .deps/gd_color_map.Tpo -c gd_color_map.c -o gd_color_map.o >/dev/null 2>&1
depbase=`echo gd_transform.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_transform.lo -MD -MP -MF $depbase.Tpo -c -o gd_transform.lo gd_transform.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_transform.lo -MD -MP -MF .deps/gd_transform.Tpo -c gd_transform.c  -fPIC -DPIC -o .libs/gd_transform.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_transform.lo -MD -MP -MF .deps/gd_transform.Tpo -c gd_transform.c -o gd_transform.o >/dev/null 2>&1
depbase=`echo gdfx.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdfx.lo -MD -MP -MF $depbase.Tpo -c -o gdfx.lo gdfx.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfx.lo -MD -MP -MF .deps/gdfx.Tpo -c gdfx.c  -fPIC -DPIC -o .libs/gdfx.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfx.lo -MD -MP -MF .deps/gdfx.Tpo -c gdfx.c -o gdfx.o >/dev/null 2>&1
depbase=`echo gd_security.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_security.lo -MD -MP -MF $depbase.Tpo -c -o gd_security.lo gd_security.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_security.lo -MD -MP -MF .deps/gd_security.Tpo -c gd_security.c  -fPIC -DPIC -o .libs/gd_security.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_security.lo -MD -MP -MF .deps/gd_security.Tpo -c gd_security.c -o gd_security.o >/dev/null 2>&1
depbase=`echo gd_gd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_gd.lo -MD -MP -MF $depbase.Tpo -c -o gd_gd.lo gd_gd.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_gd.lo -MD -MP -MF .deps/gd_gd.Tpo -c gd_gd.c  -fPIC -DPIC -o .libs/gd_gd.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_gd.lo -MD -MP -MF .deps/gd_gd.Tpo -c gd_gd.c -o gd_gd.o >/dev/null 2>&1
depbase=`echo gd_gd2.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_gd2.lo -MD -MP -MF $depbase.Tpo -c -o gd_gd2.lo gd_gd2.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_gd2.lo -MD -MP -MF .deps/gd_gd2.Tpo -c gd_gd2.c  -fPIC -DPIC -o .libs/gd_gd2.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_gd2.lo -MD -MP -MF .deps/gd_gd2.Tpo -c gd_gd2.c -o gd_gd2.o >/dev/null 2>&1
depbase=`echo gd_io.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_io.lo -MD -MP -MF $depbase.Tpo -c -o gd_io.lo gd_io.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_io.lo -MD -MP -MF .deps/gd_io.Tpo -c gd_io.c  -fPIC -DPIC -o .libs/gd_io.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_io.lo -MD -MP -MF .deps/gd_io.Tpo -c gd_io.c -o gd_io.o >/dev/null 2>&1
depbase=`echo gd_io_dp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_io_dp.lo -MD -MP -MF $depbase.Tpo -c -o gd_io_dp.lo gd_io_dp.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_io_dp.lo -MD -MP -MF .deps/gd_io_dp.Tpo -c gd_io_dp.c  -fPIC -DPIC -o .libs/gd_io_dp.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_io_dp.lo -MD -MP -MF .deps/gd_io_dp.Tpo -c gd_io_dp.c -o gd_io_dp.o >/dev/null 2>&1
depbase=`echo gd_gif_in.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_gif_in.lo -MD -MP -MF $depbase.Tpo -c -o gd_gif_in.lo gd_gif_in.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_gif_in.lo -MD -MP -MF .deps/gd_gif_in.Tpo -c gd_gif_in.c  -fPIC -DPIC -o .libs/gd_gif_in.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_gif_in.lo -MD -MP -MF .deps/gd_gif_in.Tpo -c gd_gif_in.c -o gd_gif_in.o >/dev/null 2>&1
depbase=`echo gd_gif_out.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_gif_out.lo -MD -MP -MF $depbase.Tpo -c -o gd_gif_out.lo gd_gif_out.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_gif_out.lo -MD -MP -MF .deps/gd_gif_out.Tpo -c gd_gif_out.c  -fPIC -DPIC -o .libs/gd_gif_out.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_gif_out.lo -MD -MP -MF .deps/gd_gif_out.Tpo -c gd_gif_out.c -o gd_gif_out.o >/dev/null 2>&1
depbase=`echo gd_io_file.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_io_file.lo -MD -MP -MF $depbase.Tpo -c -o gd_io_file.lo gd_io_file.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_io_file.lo -MD -MP -MF .deps/gd_io_file.Tpo -c gd_io_file.c  -fPIC -DPIC -o .libs/gd_io_file.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_io_file.lo -MD -MP -MF .deps/gd_io_file.Tpo -c gd_io_file.c -o gd_io_file.o >/dev/null 2>&1
depbase=`echo gd_io_ss.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_io_ss.lo -MD -MP -MF $depbase.Tpo -c -o gd_io_ss.lo gd_io_ss.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_io_ss.lo -MD -MP -MF .deps/gd_io_ss.Tpo -c gd_io_ss.c  -fPIC -DPIC -o .libs/gd_io_ss.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_io_ss.lo -MD -MP -MF .deps/gd_io_ss.Tpo -c gd_io_ss.c -o gd_io_ss.o >/dev/null 2>&1
depbase=`echo gd_jpeg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_jpeg.lo -MD -MP -MF $depbase.Tpo -c -o gd_jpeg.lo gd_jpeg.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_jpeg.lo -MD -MP -MF .deps/gd_jpeg.Tpo -c gd_jpeg.c  -fPIC -DPIC -o .libs/gd_jpeg.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_jpeg.lo -MD -MP -MF .deps/gd_jpeg.Tpo -c gd_jpeg.c -o gd_jpeg.o >/dev/null 2>&1
depbase=`echo gd_png.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_png.lo -MD -MP -MF $depbase.Tpo -c -o gd_png.lo gd_png.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_png.lo -MD -MP -MF .deps/gd_png.Tpo -c gd_png.c  -fPIC -DPIC -o .libs/gd_png.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_png.lo -MD -MP -MF .deps/gd_png.Tpo -c gd_png.c -o gd_png.o >/dev/null 2>&1
depbase=`echo gd_ss.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_ss.lo -MD -MP -MF $depbase.Tpo -c -o gd_ss.lo gd_ss.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_ss.lo -MD -MP -MF .deps/gd_ss.Tpo -c gd_ss.c  -fPIC -DPIC -o .libs/gd_ss.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_ss.lo -MD -MP -MF .deps/gd_ss.Tpo -c gd_ss.c -o gd_ss.o >/dev/null 2>&1
depbase=`echo gd_topal.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_topal.lo -MD -MP -MF $depbase.Tpo -c -o gd_topal.lo gd_topal.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_topal.lo -MD -MP -MF .deps/gd_topal.Tpo -c gd_topal.c  -fPIC -DPIC -o .libs/gd_topal.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_topal.lo -MD -MP -MF .deps/gd_topal.Tpo -c gd_topal.c -o gd_topal.o >/dev/null 2>&1
depbase=`echo gd_wbmp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_wbmp.lo -MD -MP -MF $depbase.Tpo -c -o gd_wbmp.lo gd_wbmp.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_wbmp.lo -MD -MP -MF .deps/gd_wbmp.Tpo -c gd_wbmp.c  -fPIC -DPIC -o .libs/gd_wbmp.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_wbmp.lo -MD -MP -MF .deps/gd_wbmp.Tpo -c gd_wbmp.c -o gd_wbmp.o >/dev/null 2>&1
depbase=`echo gdcache.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdcache.lo -MD -MP -MF $depbase.Tpo -c -o gdcache.lo gdcache.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdcache.lo -MD -MP -MF .deps/gdcache.Tpo -c gdcache.c  -fPIC -DPIC -o .libs/gdcache.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdcache.lo -MD -MP -MF .deps/gdcache.Tpo -c gdcache.c -o gdcache.o >/dev/null 2>&1
depbase=`echo gdfontg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdfontg.lo -MD -MP -MF $depbase.Tpo -c -o gdfontg.lo gdfontg.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfontg.lo -MD -MP -MF .deps/gdfontg.Tpo -c gdfontg.c  -fPIC -DPIC -o .libs/gdfontg.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfontg.lo -MD -MP -MF .deps/gdfontg.Tpo -c gdfontg.c -o gdfontg.o >/dev/null 2>&1
depbase=`echo gdfontl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdfontl.lo -MD -MP -MF $depbase.Tpo -c -o gdfontl.lo gdfontl.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfontl.lo -MD -MP -MF .deps/gdfontl.Tpo -c gdfontl.c  -fPIC -DPIC -o .libs/gdfontl.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfontl.lo -MD -MP -MF .deps/gdfontl.Tpo -c gdfontl.c -o gdfontl.o >/dev/null 2>&1
depbase=`echo gdfontmb.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdfontmb.lo -MD -MP -MF $depbase.Tpo -c -o gdfontmb.lo gdfontmb.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfontmb.lo -MD -MP -MF .deps/gdfontmb.Tpo -c gdfontmb.c  -fPIC -DPIC -o .libs/gdfontmb.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfontmb.lo -MD -MP -MF .deps/gdfontmb.Tpo -c gdfontmb.c -o gdfontmb.o >/dev/null 2>&1
depbase=`echo gdfonts.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdfonts.lo -MD -MP -MF $depbase.Tpo -c -o gdfonts.lo gdfonts.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfonts.lo -MD -MP -MF .deps/gdfonts.Tpo -c gdfonts.c  -fPIC -DPIC -o .libs/gdfonts.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfonts.lo -MD -MP -MF .deps/gdfonts.Tpo -c gdfonts.c -o gdfonts.o >/dev/null 2>&1
depbase=`echo gdfontt.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdfontt.lo -MD -MP -MF $depbase.Tpo -c -o gdfontt.lo gdfontt.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfontt.lo -MD -MP -MF .deps/gdfontt.Tpo -c gdfontt.c  -fPIC -DPIC -o .libs/gdfontt.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdfontt.lo -MD -MP -MF .deps/gdfontt.Tpo -c gdfontt.c -o gdfontt.o >/dev/null 2>&1
depbase=`echo gdft.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdft.lo -MD -MP -MF $depbase.Tpo -c -o gdft.lo gdft.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdft.lo -MD -MP -MF .deps/gdft.Tpo -c gdft.c  -fPIC -DPIC -o .libs/gdft.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdft.lo -MD -MP -MF .deps/gdft.Tpo -c gdft.c -o gdft.o >/dev/null 2>&1
depbase=`echo gdhelpers.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdhelpers.lo -MD -MP -MF $depbase.Tpo -c -o gdhelpers.lo gdhelpers.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdhelpers.lo -MD -MP -MF .deps/gdhelpers.Tpo -c gdhelpers.c  -fPIC -DPIC -o .libs/gdhelpers.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdhelpers.lo -MD -MP -MF .deps/gdhelpers.Tpo -c gdhelpers.c -o gdhelpers.o >/dev/null 2>&1
depbase=`echo gdkanji.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdkanji.lo -MD -MP -MF $depbase.Tpo -c -o gdkanji.lo gdkanji.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdkanji.lo -MD -MP -MF .deps/gdkanji.Tpo -c gdkanji.c  -fPIC -DPIC -o .libs/gdkanji.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdkanji.lo -MD -MP -MF .deps/gdkanji.Tpo -c gdkanji.c -o gdkanji.o >/dev/null 2>&1
depbase=`echo gdtables.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdtables.lo -MD -MP -MF $depbase.Tpo -c -o gdtables.lo gdtables.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdtables.lo -MD -MP -MF .deps/gdtables.Tpo -c gdtables.c  -fPIC -DPIC -o .libs/gdtables.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdtables.lo -MD -MP -MF .deps/gdtables.Tpo -c gdtables.c -o gdtables.o >/dev/null 2>&1
depbase=`echo gdxpm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdxpm.lo -MD -MP -MF $depbase.Tpo -c -o gdxpm.lo gdxpm.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdxpm.lo -MD -MP -MF .deps/gdxpm.Tpo -c gdxpm.c  -fPIC -DPIC -o .libs/gdxpm.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gdxpm.lo -MD -MP -MF .deps/gdxpm.Tpo -c gdxpm.c -o gdxpm.o >/dev/null 2>&1
depbase=`echo wbmp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT wbmp.lo -MD -MP -MF $depbase.Tpo -c -o wbmp.lo wbmp.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT wbmp.lo -MD -MP -MF .deps/wbmp.Tpo -c wbmp.c  -fPIC -DPIC -o .libs/wbmp.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT wbmp.lo -MD -MP -MF .deps/wbmp.Tpo -c wbmp.c -o wbmp.o >/dev/null 2>&1
depbase=`echo gd_filter.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_filter.lo -MD -MP -MF $depbase.Tpo -c -o gd_filter.lo gd_filter.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_filter.lo -MD -MP -MF .deps/gd_filter.Tpo -c gd_filter.c  -fPIC -DPIC -o .libs/gd_filter.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_filter.lo -MD -MP -MF .deps/gd_filter.Tpo -c gd_filter.c -o gd_filter.o >/dev/null 2>&1
depbase=`echo gd_nnquant.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_nnquant.lo -MD -MP -MF $depbase.Tpo -c -o gd_nnquant.lo gd_nnquant.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_nnquant.lo -MD -MP -MF .deps/gd_nnquant.Tpo -c gd_nnquant.c  -fPIC -DPIC -o .libs/gd_nnquant.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_nnquant.lo -MD -MP -MF .deps/gd_nnquant.Tpo -c gd_nnquant.c -o gd_nnquant.o >/dev/null 2>&1
depbase=`echo gd_rotate.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_rotate.lo -MD -MP -MF $depbase.Tpo -c -o gd_rotate.lo gd_rotate.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_rotate.lo -MD -MP -MF .deps/gd_rotate.Tpo -c gd_rotate.c  -fPIC -DPIC -o .libs/gd_rotate.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_rotate.lo -MD -MP -MF .deps/gd_rotate.Tpo -c gd_rotate.c -o gd_rotate.o >/dev/null 2>&1
depbase=`echo gd_matrix.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_matrix.lo -MD -MP -MF $depbase.Tpo -c -o gd_matrix.lo gd_matrix.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_matrix.lo -MD -MP -MF .deps/gd_matrix.Tpo -c gd_matrix.c  -fPIC -DPIC -o .libs/gd_matrix.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_matrix.lo -MD -MP -MF .deps/gd_matrix.Tpo -c gd_matrix.c -o gd_matrix.o >/dev/null 2>&1
depbase=`echo gd_interpolation.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_interpolation.lo -MD -MP -MF $depbase.Tpo -c -o gd_interpolation.lo gd_interpolation.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_interpolation.lo -MD -MP -MF .deps/gd_interpolation.Tpo -c gd_interpolation.c  -fPIC -DPIC -o .libs/gd_interpolation.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_interpolation.lo -MD -MP -MF .deps/gd_interpolation.Tpo -c gd_interpolation.c -o gd_interpolation.o >/dev/null 2>&1
depbase=`echo gd_crop.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_crop.lo -MD -MP -MF $depbase.Tpo -c -o gd_crop.lo gd_crop.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_crop.lo -MD -MP -MF .deps/gd_crop.Tpo -c gd_crop.c  -fPIC -DPIC -o .libs/gd_crop.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_crop.lo -MD -MP -MF .deps/gd_crop.Tpo -c gd_crop.c -o gd_crop.o >/dev/null 2>&1
depbase=`echo webpimg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT webpimg.lo -MD -MP -MF $depbase.Tpo -c -o webpimg.lo webpimg.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT webpimg.lo -MD -MP -MF .deps/webpimg.Tpo -c webpimg.c  -fPIC -DPIC -o .libs/webpimg.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT webpimg.lo -MD -MP -MF .deps/webpimg.Tpo -c webpimg.c -o webpimg.o >/dev/null 2>&1
depbase=`echo gd_webp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_webp.lo -MD -MP -MF $depbase.Tpo -c -o gd_webp.lo gd_webp.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_webp.lo -MD -MP -MF .deps/gd_webp.Tpo -c gd_webp.c  -fPIC -DPIC -o .libs/gd_webp.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_webp.lo -MD -MP -MF .deps/gd_webp.Tpo -c gd_webp.c -o gd_webp.o >/dev/null 2>&1
depbase=`echo gd_tiff.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_tiff.lo -MD -MP -MF $depbase.Tpo -c -o gd_tiff.lo gd_tiff.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_tiff.lo -MD -MP -MF .deps/gd_tiff.Tpo -c gd_tiff.c  -fPIC -DPIC -o .libs/gd_tiff.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_tiff.lo -MD -MP -MF .deps/gd_tiff.Tpo -c gd_tiff.c -o gd_tiff.o >/dev/null 2>&1
depbase=`echo gd_tga.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_tga.lo -MD -MP -MF $depbase.Tpo -c -o gd_tga.lo gd_tga.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_tga.lo -MD -MP -MF .deps/gd_tga.Tpo -c gd_tga.c  -fPIC -DPIC -o .libs/gd_tga.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_tga.lo -MD -MP -MF .deps/gd_tga.Tpo -c gd_tga.c -o gd_tga.o >/dev/null 2>&1
depbase=`echo gd_bmp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_bmp.lo -MD -MP -MF $depbase.Tpo -c -o gd_bmp.lo gd_bmp.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_bmp.lo -MD -MP -MF .deps/gd_bmp.Tpo -c gd_bmp.c  -fPIC -DPIC -o .libs/gd_bmp.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_bmp.lo -MD -MP -MF .deps/gd_bmp.Tpo -c gd_bmp.c -o gd_bmp.o >/dev/null 2>&1
depbase=`echo gd_xbm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_xbm.lo -MD -MP -MF $depbase.Tpo -c -o gd_xbm.lo gd_xbm.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_xbm.lo -MD -MP -MF .deps/gd_xbm.Tpo -c gd_xbm.c  -fPIC -DPIC -o .libs/gd_xbm.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_xbm.lo -MD -MP -MF .deps/gd_xbm.Tpo -c gd_xbm.c -o gd_xbm.o >/dev/null 2>&1
depbase=`echo gd_color_match.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_color_match.lo -MD -MP -MF $depbase.Tpo -c -o gd_color_match.lo gd_color_match.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_color_match.lo -MD -MP -MF .deps/gd_color_match.Tpo -c gd_color_match.c  -fPIC -DPIC -o .libs/gd_color_match.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_color_match.lo -MD -MP -MF .deps/gd_color_match.Tpo -c gd_color_match.c -o gd_color_match.o >/dev/null 2>&1
depbase=`echo gd_version.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_version.lo -MD -MP -MF $depbase.Tpo -c -o gd_version.lo gd_version.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_version.lo -MD -MP -MF .deps/gd_version.Tpo -c gd_version.c  -fPIC -DPIC -o .libs/gd_version.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_version.lo -MD -MP -MF .deps/gd_version.Tpo -c gd_version.c -o gd_version.o >/dev/null 2>&1
depbase=`echo gd_filename.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd_filename.lo -MD -MP -MF $depbase.Tpo -c -o gd_filename.lo gd_filename.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_filename.lo -MD -MP -MF .deps/gd_filename.Tpo -c gd_filename.c  -fPIC -DPIC -o .libs/gd_filename.o
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -fvisibility=hidden -MT gd_filename.lo -MD -MP -MF .deps/gd_filename.Tpo -c gd_filename.c -o gd_filename.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -fvisibility=hidden -version-info 3:0:0 -no-undefined  -o libgd.la -rpath /usr/etc/php_ext/libgd/lib gd.lo gd_color.lo gd_color_map.lo gd_transform.lo gdfx.lo gd_security.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo gdfontg.lo gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo gd_filter.lo gd_nnquant.lo gd_rotate.lo gd_matrix.lo gd_interpolation.lo gd_crop.lo webpimg.lo gd_webp.lo gd_tiff.lo gd_tga.lo gd_bmp.lo gd_xbm.lo gd_color_match.lo gd_version.lo gd_filename.lo  -lz -lm
libtool: link: gcc -std=gnu99 -shared  -fPIC -DPIC  .libs/gd.o .libs/gd_color.o .libs/gd_color_map.o .libs/gd_transform.o .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o .libs/gd_gd2.o .libs/gd_io.o .libs/gd_io_dp.o .libs/gd_gif_in.o .libs/gd_gif_out.o .libs/gd_io_file.o .libs/gd_io_ss.o .libs/gd_jpeg.o .libs/gd_png.o .libs/gd_ss.o .libs/gd_topal.o .libs/gd_wbmp.o .libs/gdcache.o .libs/gdfontg.o .libs/gdfontl.o .libs/gdfontmb.o .libs/gdfonts.o .libs/gdfontt.o .libs/gdft.o .libs/gdhelpers.o .libs/gdkanji.o .libs/gdtables.o .libs/gdxpm.o .libs/wbmp.o .libs/gd_filter.o .libs/gd_nnquant.o .libs/gd_rotate.o .libs/gd_matrix.o .libs/gd_interpolation.o .libs/gd_crop.o .libs/webpimg.o .libs/gd_webp.o .libs/gd_tiff.o .libs/gd_tga.o .libs/gd_bmp.o .libs/gd_xbm.o .libs/gd_color_match.o .libs/gd_version.o .libs/gd_filename.o   -lz -lm  -O2   -Wl,-soname -Wl,libgd.so.3 -o .libs/libgd.so.3.0.0
libtool: link: (cd ".libs" && rm -f "libgd.so.3" && ln -s "libgd.so.3.0.0" "libgd.so.3")
libtool: link: (cd ".libs" && rm -f "libgd.so" && ln -s "libgd.so.3.0.0" "libgd.so")
libtool: link: ar cru .libs/libgd.a  gd.o gd_color.o gd_color_map.o gd_transform.o gdfx.o gd_security.o gd_gd.o gd_gd2.o gd_io.o gd_io_dp.o gd_gif_in.o gd_gif_out.o gd_io_file.o gd_io_ss.o gd_jpeg.o gd_png.o gd_ss.o gd_topal.o gd_wbmp.o gdcache.o gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o gdft.o gdhelpers.o gdkanji.o gdtables.o gdxpm.o wbmp.o gd_filter.o gd_nnquant.o gd_rotate.o gd_matrix.o gd_interpolation.o gd_crop.o webpimg.o gd_webp.o gd_tiff.o gd_tga.o gd_bmp.o gd_xbm.o gd_color_match.o gd_version.o gd_filename.o
libtool: link: ranlib .libs/libgd.a
libtool: link: ( cd ".libs" && rm -f "libgd.la" && ln -s "../libgd.la" "libgd.la" )
depbase=`echo gdcmpgif.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gdcmpgif.o -MD -MP -MF $depbase.Tpo -c -o gdcmpgif.o gdcmpgif.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -fvisibility=hidden   -o gdcmpgif gdcmpgif.o libgd.la  -lz -lm
libtool: link: gcc -std=gnu99 -g -O2 -fvisibility=hidden -o .libs/gdcmpgif gdcmpgif.o  ./.libs/libgd.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/libgd/lib
depbase=`echo gd2copypal.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd2copypal.o -MD -MP -MF $depbase.Tpo -c -o gd2copypal.o gd2copypal.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -fvisibility=hidden   -o gd2copypal gd2copypal.o libgd.la  -lz -lm
libtool: link: gcc -std=gnu99 -g -O2 -fvisibility=hidden -o .libs/gd2copypal gd2copypal.o  ./.libs/libgd.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/libgd/lib
depbase=`echo gd2togif.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT gd2togif.o -MD -MP -MF $depbase.Tpo -c -o gd2togif.o gd2togif.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -fvisibility=hidden   -o gd2togif gd2togif.o libgd.la  -lz -lm
libtool: link: gcc -std=gnu99 -g -O2 -fvisibility=hidden -o .libs/gd2togif gd2togif.o  ./.libs/libgd.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/libgd/lib
depbase=`echo giftogd2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -fvisibility=hidden -MT giftogd2.o -MD -MP -MF $depbase.Tpo -c -o giftogd2.o giftogd2.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -fvisibility=hidden   -o giftogd2 giftogd2.o libgd.la  -lz -lm
libtool: link: gcc -std=gnu99 -g -O2 -fvisibility=hidden -o .libs/giftogd2 giftogd2.o  ./.libs/libgd.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/libgd/lib
make[2]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/src”
make[1]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/src”
Making all in config
make[1]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/config”
make[1]: 对“all”无需做任何事。
make[1]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/config”
Making all in tests
make[1]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/tests”
depbase=`echo gdtest/gdtest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../src  -I../src -I ../tests/gdtest   -g -O2 -fvisibility=hidden -MT gdtest/gdtest.o -MD -MP -MF $depbase.Tpo -c -o gdtest/gdtest.o gdtest/gdtest.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo ../src/gdhelpers.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../src  -I../src -I ../tests/gdtest   -g -O2 -fvisibility=hidden -MT ../src/gdhelpers.o -MD -MP -MF $depbase.Tpo -c -o ../src/gdhelpers.o ../src/gdhelpers.c &&\
mv -f $depbase.Tpo $depbase.Po
rm -f libgdtest.a
ar cru libgdtest.a gdtest/gdtest.o ../src/gdhelpers.o
ranlib libgdtest.a
make[1]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/tests”
make[1]: 进入目录“/usr/local/bin/libgd-gd-2.1.1”
make[1]: 对“all-am”无需做任何事。
make[1]: 离开目录“/usr/local/bin/libgd-gd-2.1.1”
[root@localhost libgd-gd-2.1.1]# make install
Making install in src
make[1]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/src”
make[2]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/src”
 /usr/bin/mkdir -p '/usr/etc/php_ext/libgd/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libgd.la '/usr/etc/php_ext/libgd/lib'
libtool: install: /usr/bin/install -c .libs/libgd.so.3.0.0 /usr/etc/php_ext/libgd/lib/libgd.so.3.0.0
libtool: install: (cd /usr/etc/php_ext/libgd/lib && { ln -s -f libgd.so.3.0.0 libgd.so.3 || { rm -f libgd.so.3 && ln -s libgd.so.3.0.0 libgd.so.3; }; })
libtool: install: (cd /usr/etc/php_ext/libgd/lib && { ln -s -f libgd.so.3.0.0 libgd.so || { rm -f libgd.so && ln -s libgd.so.3.0.0 libgd.so; }; })
libtool: install: /usr/bin/install -c .libs/libgd.lai /usr/etc/php_ext/libgd/lib/libgd.la
libtool: install: /usr/bin/install -c .libs/libgd.a /usr/etc/php_ext/libgd/lib/libgd.a
libtool: install: chmod 644 /usr/etc/php_ext/libgd/lib/libgd.a
libtool: install: ranlib /usr/etc/php_ext/libgd/lib/libgd.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/etc/php_ext/libgd/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/etc/php_ext/libgd/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify 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 flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/etc/php_ext/libgd/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c gdcmpgif gd2copypal gd2togif giftogd2 '/usr/etc/php_ext/libgd/bin'
libtool: install: /usr/bin/install -c .libs/gdcmpgif /usr/etc/php_ext/libgd/bin/gdcmpgif
libtool: install: /usr/bin/install -c .libs/gd2copypal /usr/etc/php_ext/libgd/bin/gd2copypal
libtool: install: /usr/bin/install -c .libs/gd2togif /usr/etc/php_ext/libgd/bin/gd2togif
libtool: install: /usr/bin/install -c .libs/giftogd2 /usr/etc/php_ext/libgd/bin/giftogd2
 /usr/bin/mkdir -p '/usr/etc/php_ext/libgd/bin'
 /usr/bin/install -c bdftogd '/usr/etc/php_ext/libgd/bin'
 /usr/bin/mkdir -p '/usr/etc/php_ext/libgd/include'
 /usr/bin/install -c -m 644 gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h entities.h gd_color_map.h gd_errors.h gdpp.h '/usr/etc/php_ext/libgd/include'
make[2]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/src”
make[1]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/src”
Making install in config
make[1]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/config”
make[2]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/config”
 /usr/bin/mkdir -p '/usr/etc/php_ext/libgd/bin'
 /usr/bin/install -c gdlib-config '/usr/etc/php_ext/libgd/bin'
 /usr/bin/mkdir -p '/usr/etc/php_ext/libgd/lib/pkgconfig'
 /usr/bin/install -c -m 644 gdlib.pc '/usr/etc/php_ext/libgd/lib/pkgconfig'
make[2]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/config”
make[1]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/config”
Making install in tests
make[1]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/tests”
make[2]: 进入目录“/usr/local/bin/libgd-gd-2.1.1/tests”
make[2]: 对“install-exec-am”无需做任何事。
make[2]: 对“install-data-am”无需做任何事。
make[2]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/tests”
make[1]: 离开目录“/usr/local/bin/libgd-gd-2.1.1/tests”
make[1]: 进入目录“/usr/local/bin/libgd-gd-2.1.1”
make[2]: 进入目录“/usr/local/bin/libgd-gd-2.1.1”
make[2]: 对“install-exec-am”无需做任何事。
make[2]: 对“install-data-am”无需做任何事。
make[2]: 离开目录“/usr/local/bin/libgd-gd-2.1.1”
make[1]: 离开目录“/usr/local/bin/libgd-gd-2.1.1”

     

libjpeg

官网:http://www.ijg.org/

文件下载:http://www.ijg.org/files/jpegsrc.v9a.tar.gz

 在下载目录/usr/local/src

 wget http://www.ijg.org/files/jpegsrc.v9a.tar.gz

  下面截图看得很明白了

解压

[root@localhost src]# tar zxvf jpegsrc.v9a.tar.gz -C /usr/local/bin

  进入目录/usr/local/bin (cd /usr/local/bin/jpeg-9a)

具体使用./configure -h 查看编译的参数  --prefix定义了 安装路径 以后php的扩展模块 都安装到 /usr/etc/php_ext 下

[root@localhost jpeg-9a]# ./configure --prefix=/usr/etc/php_ext/jpeg

 稍微记录下过程

[root@localhost jpeg-9a]# ./configure --prefix=/usr/etc/php_ext/jpeg
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 a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking if LD -Wl,--version-script works... yes
checking for function prototypes... yes
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 stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for string.h... (cached) yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for an ANSI C-conforming const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/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... yes
checking libjpeg version number... 10:0:1
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating jconfig.h
config.status: jconfig.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

  

  后面就是make make install了

  

[root@localhost jpeg-9a]# make 
[root@localhost jpeg-9a]# make install

 libjpeg安装完成 

 

 

libpng

官网:http://libmng.com/pub/png/libpng.html

文件下载:http://jaist.dl.sourceforge.net/project/libpng/libpng16/1.6.17/libpng-1.6.17.tar.gz

 

[root@localhost src]# wget http://jaist.dl.sourceforge.net/project/libpng/libpng16/1.6.17/libpng-1.6.17.tar.gz

解压

[root@localhost src]# tar zxvf libpng-1.6.17.tar.gz -C /usr/local/bin

cd /usr/local/bin/libpng-1.6.17

编译.configure 配置下安装路径就行 --prefix

[root@localhost libpng-1.6.17]# ./configure --prefix=/usr/etc/php_ext/png

下面是编译过程记录 

[root@localhost libpng-1.6.17]# ./configure --prefix=/usr/etc/php_ext/png
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/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... yes
checking that AWK works... ok
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for C/C++ restrict keyword... __restrict
checking for working strtod... yes
checking for memset... yes
checking for pow... no
checking for pow in -lm... yes
checking for zlibVersion in -lz... yes
checking for feenableexcept in -lm... yes
checking for feenableexcept... yes
checking if using Solaris linker... no
checking if libraries can be versioned... yes
checking for symbol prefix...
configure: pkgconfig directory is ${libdir}/pkgconfig
configure: Extra options for compiler:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpng.pc
config.status: creating libpng-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

 make make install

[root@localhost libpng-1.6.17]# make
[root@localhost libpng-1.6.17]# make install

 

[root@localhost libpng-1.6.17]# make
rm -f pnglibconf.c pnglibconf.tf[45]
gawk -f ./scripts/options.awk out=pnglibconf.tf4 version=search\
    ./pngconf.h ./scripts/pnglibconf.dfa\
    ./pngusr.dfa  1>&2
gawk -f ./scripts/options.awk out=pnglibconf.tf5 pnglibconf.tf4 1>&2
rm pnglibconf.tf4
mv pnglibconf.tf5 pnglibconf.c
rm -f pnglibconf.out pnglibconf.tf[12]
test -d scripts || mkdir scripts || test -d scripts
gcc -E -DHAVE_CONFIG_H -I. \
     -DPNGLIB_LIBNAME='PNG16_0' -DPNGLIB_VERSION='1.6.17' -DSYMBOL_PREFIX='' -DPNG_NO_USE_READ_MACROS -DPNG_BUILDING_SYMBOL_TABLE  pnglibconf.c > pnglibconf.tf1
gawk -f "./scripts/dfn.awk" out="pnglibconf.t 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
x64下windows7和windows2008R2下配置apache+php+mysql发布时间:2022-07-10
下一篇:
类型-PHP手册笔记发布时间:2022-07-10
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap