使用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官网:
安装方法
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.tf2" pnglibconf.tf1 1>&2
rm -f pnglibconf.tf1
mv pnglibconf.tf2 pnglibconf.out
rm -f pnglibconf.h
cp pnglibconf.out pnglibconf.h
make all-am
make[1]: 进入目录“/usr/local/bin/libpng-1.6.17”
:>pngprefix.h
depbase=`echo png.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT png.lo -MD -MP -MF $depbase.Tpo -c -o png.lo png.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT png.lo -MD -MP -MF .deps/png.Tpo -c png.c -fPIC -DPIC -o .libs/png.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT png.lo -MD -MP -MF .deps/png.Tpo -c png.c -o png.o >/dev/null 2>&1
depbase=`echo pngerror.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngerror.lo -MD -MP -MF $depbase.Tpo -c -o pngerror.lo pngerror.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngerror.lo -MD -MP -MF .deps/pngerror.Tpo -c pngerror.c -fPIC -DPIC -o .libs/pngerror.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngerror.lo -MD -MP -MF .deps/pngerror.Tpo -c pngerror.c -o pngerror.o >/dev/null 2>&1
depbase=`echo pngget.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngget.lo -MD -MP -MF $depbase.Tpo -c -o pngget.lo pngget.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngget.lo -MD -MP -MF .deps/pngget.Tpo -c pngget.c -fPIC -DPIC -o .libs/pngget.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngget.lo -MD -MP -MF .deps/pngget.Tpo -c pngget.c -o pngget.o >/dev/null 2>&1
depbase=`echo pngmem.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngmem.lo -MD -MP -MF $depbase.Tpo -c -o pngmem.lo pngmem.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngmem.lo -MD -MP -MF .deps/pngmem.Tpo -c pngmem.c -fPIC -DPIC -o .libs/pngmem.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngmem.lo -MD -MP -MF .deps/pngmem.Tpo -c pngmem.c -o pngmem.o >/dev/null 2>&1
depbase=`echo pngpread.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngpread.lo -MD -MP -MF $depbase.Tpo -c -o pngpread.lo pngpread.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngpread.lo -MD -MP -MF .deps/pngpread.Tpo -c pngpread.c -fPIC -DPIC -o .libs/pngpread.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngpread.lo -MD -MP -MF .deps/pngpread.Tpo -c pngpread.c -o pngpread.o >/dev/null 2>&1
depbase=`echo pngread.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngread.lo -MD -MP -MF $depbase.Tpo -c -o pngread.lo pngread.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngread.lo -MD -MP -MF .deps/pngread.Tpo -c pngread.c -fPIC -DPIC -o .libs/pngread.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngread.lo -MD -MP -MF .deps/pngread.Tpo -c pngread.c -o pngread.o >/dev/null 2>&1
depbase=`echo pngrio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngrio.lo -MD -MP -MF $depbase.Tpo -c -o pngrio.lo pngrio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngrio.lo -MD -MP -MF .deps/pngrio.Tpo -c pngrio.c -fPIC -DPIC -o .libs/pngrio.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngrio.lo -MD -MP -MF .deps/pngrio.Tpo -c pngrio.c -o pngrio.o >/dev/null 2>&1
depbase=`echo pngrtran.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngrtran.lo -MD -MP -MF $depbase.Tpo -c -o pngrtran.lo pngrtran.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngrtran.lo -MD -MP -MF .deps/pngrtran.Tpo -c pngrtran.c -fPIC -DPIC -o .libs/pngrtran.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngrtran.lo -MD -MP -MF .deps/pngrtran.Tpo -c pngrtran.c -o pngrtran.o >/dev/null 2>&1
depbase=`echo pngrutil.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngrutil.lo -MD -MP -MF $depbase.Tpo -c -o pngrutil.lo pngrutil.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngrutil.lo -MD -MP -MF .deps/pngrutil.Tpo -c pngrutil.c -fPIC -DPIC -o .libs/pngrutil.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngrutil.lo -MD -MP -MF .deps/pngrutil.Tpo -c pngrutil.c -o pngrutil.o >/dev/null 2>&1
depbase=`echo pngset.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngset.lo -MD -MP -MF $depbase.Tpo -c -o pngset.lo pngset.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngset.lo -MD -MP -MF .deps/pngset.Tpo -c pngset.c -fPIC -DPIC -o .libs/pngset.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngset.lo -MD -MP -MF .deps/pngset.Tpo -c pngset.c -o pngset.o >/dev/null 2>&1
depbase=`echo pngtrans.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngtrans.lo -MD -MP -MF $depbase.Tpo -c -o pngtrans.lo pngtrans.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngtrans.lo -MD -MP -MF .deps/pngtrans.Tpo -c pngtrans.c -fPIC -DPIC -o .libs/pngtrans.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngtrans.lo -MD -MP -MF .deps/pngtrans.Tpo -c pngtrans.c -o pngtrans.o >/dev/null 2>&1
depbase=`echo pngwio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwio.lo -MD -MP -MF $depbase.Tpo -c -o pngwio.lo pngwio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwio.lo -MD -MP -MF .deps/pngwio.Tpo -c pngwio.c -fPIC -DPIC -o .libs/pngwio.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwio.lo -MD -MP -MF .deps/pngwio.Tpo -c pngwio.c -o pngwio.o >/dev/null 2>&1
depbase=`echo pngwrite.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwrite.lo -MD -MP -MF $depbase.Tpo -c -o pngwrite.lo pngwrite.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwrite.lo -MD -MP -MF .deps/pngwrite.Tpo -c pngwrite.c -fPIC -DPIC -o .libs/pngwrite.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwrite.lo -MD -MP -MF .deps/pngwrite.Tpo -c pngwrite.c -o pngwrite.o >/dev/null 2>&1
depbase=`echo pngwtran.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwtran.lo -MD -MP -MF $depbase.Tpo -c -o pngwtran.lo pngwtran.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwtran.lo -MD -MP -MF .deps/pngwtran.Tpo -c pngwtran.c -fPIC -DPIC -o .libs/pngwtran.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwtran.lo -MD -MP -MF .deps/pngwtran.Tpo -c pngwtran.c -o pngwtran.o >/dev/null 2>&1
depbase=`echo pngwutil.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwutil.lo -MD -MP -MF $depbase.Tpo -c -o pngwutil.lo pngwutil.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwutil.lo -MD -MP -MF .deps/pngwutil.Tpo -c pngwutil.c -fPIC -DPIC -o .libs/pngwutil.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngwutil.lo -MD -MP -MF .deps/pngwutil.Tpo -c pngwutil.c -o pngwutil.o >/dev/null 2>&1
rm -f scripts/vers.out scripts/vers.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 scripts/vers.c > scripts/vers.tf1
gawk -f "./scripts/dfn.awk" out="scripts/vers.tf2" scripts/vers.tf1 1>&2
rm -f scripts/vers.tf1
mv scripts/vers.tf2 scripts/vers.out
rm -f libpng.vers
cp scripts/vers.out libpng.vers
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -export-dynamic -version-number 16:17:0 -Wl,--version-script=libpng.vers -o libpng16.la -rpath /usr/etc/php_ext/png/lib png.lo pngerror.lo pngget.lo pngmem.lo pngpread.lo pngread.lo pngrio.lo pngrtran.lo pngrutil.lo pngset.lo pngtrans.lo pngwio.lo pngwrite.lo pngwtran.lo pngwutil.lo -lm -lz -lm
libtool: link: gcc -shared -fPIC -DPIC .libs/png.o .libs/pngerror.o .libs/pngget.o .libs/pngmem.o .libs/pngpread.o .libs/pngread.o .libs/pngrio.o .libs/pngrtran.o .libs/pngrutil.o .libs/pngset.o .libs/pngtrans.o .libs/pngwio.o .libs/pngwrite.o .libs/pngwtran.o .libs/pngwutil.o -lz -lm -g -O2 -Wl,--version-script=libpng.vers -Wl,-soname -Wl,libpng16.so.16 -o .libs/libpng16.so.16.17.0
libtool: link: (cd ".libs" && rm -f "libpng16.so.16" && ln -s "libpng16.so.16.17.0" "libpng16.so.16")
libtool: link: (cd ".libs" && rm -f "libpng16.so" && ln -s "libpng16.so.16.17.0" "libpng16.so")
libtool: link: ar cru .libs/libpng16.a png.o pngerror.o pngget.o pngmem.o pngpread.o pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o
libtool: link: ranlib .libs/libpng16.a
libtool: link: ( cd ".libs" && rm -f "libpng16.la" && ln -s "../libpng16.la" "libpng16.la" )
depbase=`echo contrib/tools/pngfix.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT contrib/tools/pngfix.o -MD -MP -MF $depbase.Tpo -c -o contrib/tools/pngfix.o contrib/tools/pngfix.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o pngfix contrib/tools/pngfix.o libpng16.la -lm -lz -lm
libtool: link: gcc -g -O2 -o .libs/pngfix contrib/tools/pngfix.o ./.libs/libpng16.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/png/lib
depbase=`echo contrib/tools/png-fix-itxt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT contrib/tools/png-fix-itxt.o -MD -MP -MF $depbase.Tpo -c -o contrib/tools/png-fix-itxt.o contrib/tools/png-fix-itxt.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o png-fix-itxt contrib/tools/png-fix-itxt.o -lm -lz -lm
libtool: link: gcc -g -O2 -o png-fix-itxt contrib/tools/png-fix-itxt.o -lz -lm
cp libpng-config libpng16-config
cp libpng.pc libpng16.pc
depbase=`echo pngtest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT pngtest.o -MD -MP -MF $depbase.Tpo -c -o pngtest.o pngtest.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o pngtest pngtest.o libpng16.la -lm -lz -lm
libtool: link: gcc -g -O2 -o .libs/pngtest pngtest.o ./.libs/libpng16.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/png/lib
depbase=`echo contrib/libtests/pngunknown.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT contrib/libtests/pngunknown.o -MD -MP -MF $depbase.Tpo -c -o contrib/libtests/pngunknown.o contrib/libtests/pngunknown.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o pngunknown contrib/libtests/pngunknown.o libpng16.la -lm -lz -lm
libtool: link: gcc -g -O2 -o .libs/pngunknown contrib/libtests/pngunknown.o ./.libs/libpng16.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/png/lib
depbase=`echo contrib/libtests/pngstest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT contrib/libtests/pngstest.o -MD -MP -MF $depbase.Tpo -c -o contrib/libtests/pngstest.o contrib/libtests/pngstest.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o pngstest contrib/libtests/pngstest.o libpng16.la -lm -lz -lm
libtool: link: gcc -g -O2 -o .libs/pngstest contrib/libtests/pngstest.o ./.libs/libpng16.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/png/lib
depbase=`echo contrib/libtests/pngvalid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT contrib/libtests/pngvalid.o -MD -MP -MF $depbase.Tpo -c -o contrib/libtests/pngvalid.o contrib/libtests/pngvalid.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o pngvalid contrib/libtests/pngvalid.o libpng16.la -lm -lz -lm
libtool: link: gcc -g -O2 -o .libs/pngvalid contrib/libtests/pngvalid.o ./.libs/libpng16.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/png/lib
depbase=`echo contrib/libtests/pngimage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT contrib/libtests/pngimage.o -MD -MP -MF $depbase.Tpo -c -o contrib/libtests/pngimage.o contrib/libtests/pngimage.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o pngimage contrib/libtests/pngimage.o libpng16.la -lm -lz -lm
libtool: link: gcc -g -O2 -o .libs/pngimage contrib/libtests/pngimage.o ./.libs/libpng16.so -lz -lm -Wl,-rpath -Wl,/usr/etc/php_ext/png/lib
make[1]: 离开目录“/usr/local/bin/libpng-1.6.17”
[root@localhost libpng-1.6.17]# ^C
[root@localhost libpng-1.6.17]# make install
make install-am
make[1]: 进入目录“/usr/local/bin/libpng-1.6.17”
make[2]: 进入目录“/usr/local/bin/libpng-1.6.17”
/usr/bin/mkdir -p '/usr/etc/php_ext/png/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libpng16.la '/usr/etc/php_ext/png/lib'
libtool: install: /usr/bin/install -c .libs/libpng16.so.16.17.0 /usr/etc/php_ext/png/lib/libpng16.so.16.17.0
libtool: install: (cd /usr/etc/php_ext/png/lib && { ln -s -f libpng16.so.16.17.0 libpng16.so.16 || { rm -f libpng16.so.16 && ln -s libpng16.so.16.17.0 libpng16.so.16; }; })
libtool: install: (cd /usr/etc/php_ext/png/lib && { ln -s -f libpng16.so.16.17.0 libpng16.so || { rm -f libpng16.so && ln -s libpng16.so.16.17.0 libpng16.so; }; })
libtool: install: /usr/bin/install -c .libs/libpng16.lai /usr/etc/php_ext/png/lib/libpng16.la
libtool: install: /usr/bin/install -c .libs/libpng16.a /usr/etc/php_ext/png/lib/libpng16.a
libtool: install: chmod 644 /usr/etc/php_ext/png/lib/libpng16.a
libtool: install: ranlib /usr/etc/php_ext/png/lib/libpng16.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/etc/php_ext/png/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/etc/php_ext/png/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/png/bin'
/bin/sh ./libtool --mode=install /usr/bin/install -c pngfix png-fix-itxt '/usr/etc/php_ext/png/bin'
libtool: install: /usr/bin/install -c .libs/pngfix /usr/etc/php_ext/png/bin/pngfix
libtool: install: /usr/bin/install -c png-fix-itxt /usr/etc/php_ext/png/bin/png-fix-itxt
/usr/bin/mkdir -p '/usr/etc/php_ext/png/bin'
/usr/bin/install -c libpng16-config '/usr/etc/php_ext/png/bin'
make install-exec-hook
make[3]: 进入目录“/usr/local/bin/libpng-1.6.17”
+ cd /usr/etc/php_ext/png/lib
+ for ext in a dll.a so so.16.17 la sl dylib
+ rm -f libpng.a
+ test -f libpng16.a
+ ln -s libpng16.a libpng.a
+ for ext in a dll.a so so.16.17 la sl dylib
+ rm -f libpng.dll.a
+ test -f libpng16.dll.a
+ for ext in a dll.a so so.16.17 la sl dylib
+ rm -f libpng.so
+ test -f libpng16.so
+ ln -s libpng16.so libpng.so
+ for ext in a dll.a so so.16.17 la sl dylib
+ rm -f libpng.so.16.17
+ test -f libpng16.so.16.17
+ for ext in a dll.a so so.16.17 la sl dylib
+ rm -f libpng.la
+ test -f libpng16.la
+ ln -s libpng16.la libpng.la
+ for ext in a dll.a so so.16.17 la sl dylib
+ rm -f libpng.sl
+ test -f libpng16.sl
+ for ext in a dll.a so so.16.17 la sl dylib
+ rm -f libpng.dylib
+ test -f libpng16.dylib
+ cd /usr/etc/php_ext/png/bin
+ rm -f libpng-config
+ ln -s libpng16-config libpng-config
make[3]: 离开目录“/usr/local/bin/libpng-1.6.17”
/usr/bin/mkdir -p '/usr/etc/php_ext/png/share/man/man3'
/usr/bin/install -c -m 644 libpng.3 libpngpf.3 '/usr/etc/php_ext/png/share/man/man3'
/usr/bin/mkdir -p '/usr/etc/php_ext/png/share/man/man5'
/usr/bin/install -c -m 644 png.5 '/usr/etc/php_ext/png/share/man/man5'
/usr/bin/mkdir -p '/usr/etc/php_ext/png/include/libpng16'
/usr/bin/install -c -m 644 pnglibconf.h '/usr/etc/php_ext/png/include/libpng16'
/usr/bin/mkdir -p '/usr/etc/php_ext/png/lib/pkgconfig'
/usr/bin/install -c -m 644 libpng16.pc '/usr/etc/php_ext/png/lib/pkgconfig'
/usr/bin/mkdir -p '/usr/etc/php_ext/png/include/libpng16'
/usr/bin/install -c -m 644 png.h pngconf.h '/usr/etc/php_ext/png/include/libpng16'
make install-data-hook
make[3]: 进入目录“/usr/local/bin/libpng-1.6.17”
+ cd /usr/etc/php_ext/png/include
+ for f in pnglibconf.h png.h pngconf.h
+ rm -f pnglibconf.h
+ ln -s libpng16/pnglibconf.h pnglibconf.h
+ for f in pnglibconf.h png.h pngconf.h
+ rm -f png.h
+ ln -s libpng16/png.h png.h
+ for f in pnglibconf.h png.h pngconf.h
+ rm -f pngconf.h
+ ln -s libpng16/pngconf.h pngconf.h
+ cd /usr/etc/php_ext/png/lib/pkgconfig
+ rm -f libpng.pc
+ ln -s libpng16.pc libpng.pc
make[3]: 离开目录“/usr/local/bin/libpng-1.6.17”
make[2]: 离开目录“/usr/local/bin/libpng-1.6.17”
make[1]: 离开目录“/usr/local/bin/libpng-1.6.17”
zlib
官网:http://www.zlib.net/
文件下载:http://heanet.dl.sourceforge.net/project/libpng/zlib/1.2.8/zlib-1.2.8.tar.gz
下载 到目录 : /usr/local/src
[root@localhost src]# wget http://heanet.dl.sourceforge.net/project/libpng/zlib/1.2.8/zlib-1.2.8.tar.gz
解压
[root@localhost src]# tar zxvf zlib-1.2.8.tar.gz -C /usr/local/bin
cd /usr/local/bin/zlib-1.2.8
配置编译 安装目录--prefix
[root@localhost zlib-1.2.8]# ./configure --prefix=/usr/etc/php_ext/zlib
Checking for gcc...
Checking for shared library support...
Building shared library libz.so.1.2.8 with gcc.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
make make install
[root@localhost zlib-1.2.8]# make
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o example.o test/example.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example example.o -L. libz.a
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o minigzip.o test/minigzip.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/adler32.o adler32.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/crc32.o crc32.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/deflate.o deflate.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/infback.o infback.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inffast.o inffast.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inflate.o inflate.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/inftrees.o inftrees.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/trees.o trees.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/zutil.o zutil.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/compress.o compress.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/uncompr.o uncompr.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzclose.o gzclose.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzlib.o gzlib.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzread.o gzread.c
gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DPIC -c -o objs/gzwrite.o gzwrite.c
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o libz.so.1.2.8 adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zutil.lo compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo -lc
rm -f libz.so libz.so.1
ln -s libz.so.1.2.8 libz.so
ln -s libz.so.1.2.8 libz.so.1
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o examplesh example.o -L. libz.so.1.2.8
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzipsh minigzip.o -L. libz.so.1.2.8
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example64 example64.o -L. libz.a
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c
gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip64 minigzip64.o -L. libz.a
[root@localhost zlib-1.2.8]# make install
cp libz.a /usr/etc/php_ext/zlib/lib
chmod 644 /usr/etc/php_ext/zlib/lib/libz.a
cp libz.so.1.2.8 /usr/etc/php_ext/zlib/lib
chmod 755 /usr/etc/php_ext/zlib/lib/libz.so.1.2.8
cp zlib.3 /usr/etc/php_ext/zlib/share/man/man3
chmod 644 /usr/etc/php_ext/zlib/share/man/man3/zlib.3
cp zlib.pc /usr/etc/php_ext/zlib/lib/pkgconfig
chmod 644 /usr/etc/php_ext/zlib/lib/pkgconfig/zlib.pc
cp zlib.h zconf.h /usr/etc/php_ext/zlib/include
chmod 644 /usr/etc/php_ext/zlib/include/zlib.h /usr/etc/php_ext/zlib/include/zconf.h
libvpx
官网:http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libvpx.html
最新的1.4.0 被墙 下不了啊
http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.4.0.tar.bz2
暂时不安装了 貌似视频方便可以用
libXpm (需要安装xproto 和 x11)
官网:http://pkgs.org/download/libXpm.so.4
centos 7的安装包
http://pkgs.org/centos-7/centos-x86_64/libXpm-3.5.10-5.1.el7.i686.rpm.html
libXpm 3.5.11
http://lists.x.org/archives/xorg-announce/2013-September/002306.html
下载
[root@localhost src]# wget http://xorg.freedesktop.org/archive/individual/lib/libXpm-3.5.11.tar.gz
解压
[root@localhost src]# tar zxvf libXpm-3.5.11.tar.gz -C /usr/local/bin
cd /usr/local/bin/libXpm-3.5.11
编译配置./configure --prefix=/usr/etc/php_ext/libxpm
[root@localhost libXpm-3.5.11]# ./configure --prefix=/usr/etc/php_ext/libxpm
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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
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... /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 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 mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 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 for gcc option to accept ISO C99... -std=gnu99
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if gcc -std=gnu99 supports -Wall... yes
checking if gcc -std=gnu99 supports -Wpointer-arith... yes
checking if gcc -std=gnu99 supports -Wmissing-declarations... yes
checking if gcc -std=gnu99 supports -Wformat=2... yes
checking if gcc -std=gnu99 supports -Wstrict-prototypes... yes
checking if gcc -std=gnu99 supports -Wmissing-prototypes... yes
checking if gcc -std=gnu99 supports -Wnested-externs... yes
checking if gcc -std=gnu99 supports -Wbad-function-cast... yes
checking if gcc -std=gnu99 supports -Wold-style-definition... yes
checking if gcc -std=gnu99 supports -Wdeclaration-after-statement... yes
checking if gcc -std=gnu99 supports -Wunused... yes
checking if gcc -std=gnu99 supports -Wuninitialized... yes
checking if gcc -std=gnu99 supports -Wshadow... yes
checking if gcc -std=gnu99 supports -Wcast-qual... yes
checking if gcc -std=gnu99 supports -Wmissing-noreturn... yes
checking if gcc -std=gnu99 supports -Wmissing-format-attribute... yes
checking if gcc -std=gnu99 supports -Wredundant-decls... yes
checking if gcc -std=gnu99 supports -Werror=implicit... yes
checking if gcc -std=gnu99 supports -Werror=nonnull... yes
checking if gcc -std=gnu99 supports -Werror=init-self... yes
checking if gcc -std=gnu99 supports -Werror=main... yes
checking if gcc -std=gnu99 supports -Werror=missing-braces... yes
checking if gcc -std=gnu99 supports -Werror=sequence-point... yes
checking if gcc -std=gnu99 supports -Werror=return-type... yes
checking if gcc -std=gnu99 supports -Werror=trigraphs... yes
checking if gcc -std=gnu99 supports -Werror=array-bounds... yes
checking if gcc -std=gnu99 supports -Werror=write-strings... yes
checking if gcc -std=gnu99 supports -Werror=address... yes
checking if gcc -std=gnu99 supports -Werror=int-to-pointer-cast... yes
checking if gcc -std=gnu99 supports -Werror=pointer-to-int-cast... yes
checking if gcc -std=gnu99 supports -pedantic... yes
checking if gcc -std=gnu99 supports -Werror... yes
checking if gcc -std=gnu99 supports -Werror=attributes... yes
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found
checking whether make supports nested variables... (cached) yes
checking for strlcat... no
checking for XPM... configure: error: Package requirements (xproto x11) were not met: No package 'xproto' found
No package 'x11' found Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix. Alternatively, you may set the environment variables XPM_CFLAGS
and XPM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make make install
报错了 先不管了 直接生成GD库了
xproto
主页:http://lists.freedesktop.org/archives/xorg-announce/2008-May/000567.html
下载
[root@localhost libXpm-3.5.11]# cd /usr/local/src [root@localhost src]# wget http://xorg.freedesktop.org/archive/individual/proto/xproto-7.0.13.tar.gz
解压
[root@localhost src]# tar zxvf xproto-7.0.13.tar.gz -C /usr/local/bin
进入解压目录
[root@localhost src]# cd /usr/local/bin/xproto-7.0.13
编译./configure --prefix=/usr/etc/php_ext/xproto
[root@localhost xproto-7.0.13]# ./configure --prefix=/usr/etc/php_ext/xproto
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
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 sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for fd_set.fds_bits... no
checking for fd_set.__fds_bits... yes
checking whether const prototypes are supported... yes
checking whether varargs prototypes are supported... yes
checking whether nested prototypes are supported... yes
checking whether to force function prototypes... yes
checking whether to widen function prototypes... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Xpoll.h
config.status: creating xproto.pc
config.status: creating do-not-use-config.h
config.status: creating Xfuncproto.h
config.status: executing depfiles commands
make make install
[root@localhost xproto-7.0.13]# make
make all-am
make[1]: 进入目录“/usr/local/bin/xproto-7.0.13”
make[1]: 离开目录“/usr/local/bin/xproto-7.0.13”
[root@localhost xproto-7.0.13]# make install
make[1]: 进入目录“/usr/local/bin/xproto-7.0.13”
make[1]: 对“install-exec-am”无需做任何事。
test -z "/usr/etc/php_ext/xproto/include/X11" || mkdir -p -- . "/usr/etc/php_ext/xproto/include/X11"
/usr/bin/install -c -m 644 'Xfuncproto.h' '/usr/etc/php_ext/xproto/include/X11/Xfuncproto.h'
/usr/bin/install -c -m 644 'Xpoll.h' '/usr/etc/php_ext/xproto/include/X11/Xpoll.h'
test -z "/usr/etc/php_ext/xproto/lib/pkgconfig" || mkdir -p -- . "/usr/etc/php_ext/xproto/lib/pkgconfig"
/usr/bin/install -c -m 644 'xproto.pc' '/usr/etc/php_ext/xproto/lib/pkgconfig/xproto.pc'
test -z "/usr/etc/php_ext/xproto/include/X11" || mkdir -p -- . "/usr/etc/php_ext/xproto/include/X11"
/usr/bin/install -c -m 644 'ap_keysym.h' '/usr/etc/php_ext/xproto/include/X11/ap_keysym.h'
/usr/bin/install -c -m 644 'DECkeysym.h' '/usr/etc/php_ext/xproto/include/X11/DECkeysym.h'
/usr/bin/install -c -m 644 'HPkeysym.h' '/usr/etc/php_ext/xproto/include/X11/HPkeysym.h'
/usr/bin/install -c -m 644 'keysymdef.h' '/usr/etc/php_ext/xproto/include/X11/keysymdef.h'
/usr/bin/install -c -m 644 'keysym.h' '/usr/etc/php_ext/xproto/include/X11/keysym.h'
/usr/bin/install -c -m 644 'Sunkeysym.h' '/usr/etc/php_ext/xproto/include/X11/Sunkeysym.h'
/usr/bin/install -c -m 644 'Xalloca.h' '/usr/etc/php_ext/xproto/include/X11/Xalloca.h'
/usr/bin/install -c -m 644 'Xarch.h' '/usr/etc/php_ext/xproto/include/X11/Xarch.h'
/usr/bin/install -c -m 644 'Xatom.h' '/usr/etc/php_ext/xproto/include/X11/Xatom.h'
/usr/bin/install -c -m 644 'Xdefs.h' '/usr/etc/php_ext/xproto/include/X11/Xdefs.h'
/usr/bin/install -c -m 644 'XF86keysym.h' '/usr/etc/php_ext/xproto/include/X11/XF86keysym.h'
/usr/bin/install -c -m 644 'Xfuncs.h' '/usr/etc/php_ext/xproto/include/X11/Xfuncs.h'
/usr/bin/install -c -m 644 'X.h' '/usr/etc/php_ext/xproto/include/X11/X.h'
/usr/bin/install -c -m 644 'Xmd.h' '/usr/etc/php_ext/xproto/include/X11/Xmd.h'
/usr/bin/install -c -m 644 'Xosdefs.h' '/usr/etc/php_ext/xproto/include/X11/Xosdefs.h'
/usr/bin/install -c -m 644 'Xos.h' '/usr/etc/php_ext/xproto/include/X11/Xos.h'
/usr/bin/install -c -m 644 'Xos_r.h' '/usr/etc/php_ext/xproto/include/X11/Xos_r.h'
/usr/bin/install -c -m 644 'Xproto.h' '/usr/etc/php_ext/xproto/include/X11/Xproto.h'
/usr/bin/install -c -m 644 'Xprotostr.h' '/usr/etc/php_ext/xproto/include/X11/Xprotostr.h'
/usr/bin/install -c -m 644 'Xthreads.h' '/usr/etc/php_ext/xproto/include/X11/Xthreads.h'
/usr/bin/install -c -m 644 'Xw32defs.h' '/usr/etc/php_ext/xproto/include/X11/Xw32defs.h'
/usr/bin/install -c -m 644 'XWDFile.h' '/usr/etc/php_ext/xproto/include/X11/XWDFile.h'
/usr/bin/install -c -m 644 'Xwindows.h' '/usr/etc/php_ext/xproto/include/X11/Xwindows.h'
/usr/bin/install -c -m 644 'Xwinsock.h' '/usr/etc/php_ext/xproto/include/X11/Xwinsock.h'
make[1]: 离开目录“/usr/local/bin/xproto-7.0.13”
xorg-xproto
http://xorg.freedesktop.org/releases/individual/proto/
地址: http://xorg.freedesktop.org/releases/individual/proto/xproto-7.0.27.tar.gz
cd /usr/local/src
[root@localhost src]# wget http://xorg.freedesktop.org/releases/individual/proto/xproto-7.0.27.tar.gz
解压
[root@localhost src]# tar zxvf xproto-7.0.27.tar.gz -C /usr/local/bin
进入解压目录
cd /usr/local/bin/xproto-7.0.27
安装
[root@localhost xproto-7.0.27]# ./configure --prefix=/usr/etc/php_ext/xorg_xproto
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
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 whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
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 if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if gcc -std=gnu99 supports -Wall... yes
checking if gcc -std=gnu99 supports -Wpointer-arith... yes
checking if gcc -std=gnu99 supports -Wmissing-declarations... yes
checking if gcc -std=gnu99 supports -Wformat=2... yes
checking if gcc -std=gnu99 supports -Wstrict-prototypes... yes
checking if gcc -std=gnu99 supports -Wmissing-prototypes... yes
checking if gcc -std=gnu99 supports -Wnested-externs... yes
checking if gcc -std=gnu99 supports -Wbad-function-cast... yes
checking if gcc -std=gnu99 supports -Wold-style-definition... yes
checking if gcc -std=gnu99 supports -Wdeclaration-after-statement... yes
checking if gcc -std=gnu99 supports -Wunused... yes
checking if gcc -std=gnu99 supports -Wuninitialized... yes
checking if gcc -std=gnu99 supports -Wshadow... yes
checking if gcc -std=gnu99 supports -Wmissing-noreturn... yes
checking if gcc -std=gnu99 supports -Wmissing-format-attribute... yes
checking if gcc -std=gnu99 supports -Wredundant-decls... yes
checking if gcc -std=gnu99 supports -Wlogical-op... yes
checking if gcc -std=gnu99 supports -Werror=implicit... yes
checking if gcc -std=gnu99 supports -Werror=nonnull... yes
checking if gcc -std=gnu99 supports -Werror=init-self... yes
checking if gcc -std=gnu99 supports -Werror=main... yes
checking if gcc -std=gnu99 supports -Werror=missing-braces... yes
checking if gcc -std=gnu99 supports -Werror=sequence-point... yes
checking if gcc -std=gnu99 supports -Werror=return-type... yes
checking if gcc -std=gnu99 supports -Werror=trigraphs... yes
checking if gcc -std=gnu99 supports -Werror=array-bounds... yes
checking if gcc -std=gnu99 supports -Werror=write-strings... yes
checking if gcc -std=gnu99 supports -Werror=address... yes
checking if gcc -std=gnu99 supports -Werror=int-to-pointer-cast... yes
checking if gcc -std=gnu99 supports -Werror=pointer-to-int-cast... yes
checking if gcc -std=gnu99 supports -pedantic... yes
checking if gcc -std=gnu99 supports -Werror... yes
checking if gcc -std=gnu99 supports -Werror=attributes... yes
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found
checking whether make supports nested variables... (cached) yes
checking whether to build functional specifications... yes
checking for xmlto... no
configure: WARNING: xmlto not found - documentation targets will be skipped
checking for fop... no
configure: WARNING: fop not found - documentation targets will be skipped
checking for xsltproc... no
configure: WARNING: xsltproc not found - cannot transform XML documents
checking for X.Org SGML entities >= 1.8... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for fd_set.fds_bits... no
checking for fd_set.__fds_bits... yes
checking whether const prototypes are supported... yes
checking whether varargs prototypes are supported... yes
checking whether nested prototypes are supported... yes
checking whether to force function prototypes... yes
checking whether to widen function prototypes... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating specs/Makefile
config.status: creating specs/SIAddresses/Makefile
config.status: creating Xpoll.h
config.status: creating xproto.pc
config.status: creating do-not-use-config.h
config.status: do-not-use-config.h is unchanged
config.status: creating Xfuncproto.h
config.status: Xfuncproto.h is unchanged
config.status: executing depfiles commands
make make install
[root@localhost xproto-7.0.27]# make install
Making install in specs
make[1]: 进入目录“/usr/local/bin/xproto-7.0.27/specs”
Making install in SIAddresses
make[2]: 进入目录“/usr/local/bin/xproto-7.0.27/specs/SIAddresses”
make[3]: 进入目录“/usr/local/bin/xproto-7.0.27/specs/SIAddresses”
make[3]: 对“install-exec-am”无需做任何事。
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/usr/local/bin/xproto-7.0.27/specs/SIAddresses”
make[2]: 离开目录“/usr/local/bin/xproto-7.0.27/specs/SIAddresses”
make[2]: 进入目录“/usr/local/bin/xproto-7.0.27/specs”
make[3]: 进入目录“/usr/local/bin/xproto-7.0.27/specs”
make[3]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p '/usr/etc/php_ext/xorg_xproto/share/doc/xproto'
/usr/bin/install -c -m 644 x11protocol.xml encoding.xml glossary.xml keysyms.xml sect1-9.xml '/usr/etc/php_ext/xorg_xproto/share/doc/xproto'
/usr/bin/mkdir -p '/usr/etc/php_ext/xorg_xproto/share/doc/xproto'
make[3]: 离开目录“/usr/local/bin/xproto-7.0.27/specs”
make[2]: 离开目录“/usr/local/bin/xproto-7.0.27/specs”
make[1]: 离开目录“/usr/local/bin/xproto-7.0.27/specs”
make[1]: 进入目录“/usr/local/bin/xproto-7.0.27”
make[2]: 进入目录“/usr/local/bin/xproto-7.0.27”
make[2]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p '/usr/etc/php_ext/xorg_xproto/include/X11'
/usr/bin/install -c -m 644 Xfuncproto.h Xpoll.h '/usr/etc/php_ext/xorg_xproto/include/X11'
/usr/bin/mkdir -p '/usr/etc/php_ext/xorg_xproto/lib/pkgconfig'
/usr/bin/install -c -m 644 xproto.pc '/usr/etc/php_ext/xorg_xproto/lib/pkgconfig'
/usr/bin/mkdir -p '/usr/etc/php_ext/xorg_xproto/include/X11'
/usr/bin/install -c -m 644 ap_keysym.h DECkeysym.h HPkeysym.h keysymdef.h keysym.h Sunkeysym.h Xalloca.h Xarch.h Xatom.h Xdefs.h XF86keysym.h Xfuncs.h X.h Xmd.h Xosdefs.h Xos.h Xos_r.h Xproto.h Xprotostr.h Xthreads.h Xw32defs.h XWDFile.h Xwindows.h Xwinsock.h '/usr/etc/php_ext/xorg_xproto/include/X11'
make[2]: 离开目录“/usr/local/bin/xproto-7.0.27”
make[1]: 离开目录“/usr/local/bin/xproto-7.0.27”
x11(libx11)
下载页面:http://lists.freedesktop.org/archives/xorg-announce/2009-April/000814.html
下载:
[root@localhost xproto-7.0.13]# cd /usr/local/src
[root@localhost src]# wget http://xorg.freedesktop.org/archive/individual/lib/libX11-1.2.1.tar.gz
解压
[root@localhost src]# tar zxvf libX11-1.2.1.tar.gz -C /usr/local/bin
进入解压目录
[root@localhost src]# cd /usr/local/bin/libX11-1.2.1
编译安装./configure --prefix
[root@localhost libX11-1.2.1]# ./configure --prefix=/usr/etc/php_ext/libx11
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 to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no 提示不能通过汇编
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
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 ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for bash... /usr/bin/bash
checking if dolt supports this host... yes, replacing libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for cpp... /usr/bin/cpp
checking if /usr/bin/cpp requires -undef... yes
checking if /usr/bin/cpp requires -traditional... yes
checking whether to use XCB... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XPROTO... configure: error: Package requirements (xproto >= 7.0.13) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix. Alternatively you may set the XPROTO_CFLAGS and XPROTO_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
make make install
FreeType
官网:http://www.freetype.org/
文件下载:http://jaist.dl.sourceforge.net/project/freetype/freetype2/2.5.5/freetype-2.5.5.tar.gz
[root@localhost src]# wget http://jaist.dl.sourceforge.net/project/freetype/freetype2/2.5.5/freetype-2.5.5.tar.gz
解压
[root@localhost src]# tar zxvf freetype-2.5.5.tar.gz -C /usr/local/bin
cd /usr/local/bin/freetype-2.5.5
编译 ./configure --prefix=
[root@localhost freetype-2.5.5]# ./configure --prefix=/usr/etc/php_ext/freetype FreeType build system -- automatic system detection The following settings are used: platform unix
compiler cc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help. Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (this needs python >= 2.6). cd builds/unix; /bin/sh ./configure '--prefix=/usr/etc/php_ext/freetype'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-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 how to run the C preprocessor... gcc -E
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.24... 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... /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 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 for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
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 for rmdir... rmdir
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking size of int... 4
checking size of long... 8
checking whether cpp computation of bit length in ftconfig.in works... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether munmap is declared... yes
checking for munmap's first parameter type... void *
checking for memcpy... yes
checking for memmove... yes
checking gcc compiler flag -pedantic to assure ANSI C works correctly... ok, add it to XX_ANSIFLAGS
checking gcc compiler flag -ansi to assure ANSI C works correctly... ok, add it to XX_ANSIFLAGS
checking for ZLIB... yes
checking for BZIP2... no
checking for BZ2_bzDecompress in -lbz2... no
checking for LIBPNG... no
checking for libpng-config... no
checking for HARFBUZZ... no
configure: creating ./config.status
config.status: creating unix-cc.mk
config.status: creating unix-def.mk
config.status: creating ftconfig.h
config.status: executing libtool commands
configure: Library configuration:
external zlib: yes (pkg-config)
bzip2: no
libpng: no
harfbuzz: no make: 对“unix”无需做任何事。
make make install
[root@localhost freetype-2.5.5]# make
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -o /usr/local/bin/freetype-2.5.5/objs/ftsystem.lo builds/unix/ftsystem.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" builds/unix/ftsystem.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftsystem.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" builds/unix/ftsystem.c -o /usr/local/bin/freetype-2.5.5/objs/ftsystem.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -o /usr/local/bin/freetype-2.5.5/objs/ftdebug.lo /usr/local/bin/freetype-2.5.5/src/base/ftdebug.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" /usr/local/bin/freetype-2.5.5/src/base/ftdebug.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftdebug.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" /usr/local/bin/freetype-2.5.5/src/base/ftdebug.c -o /usr/local/bin/freetype-2.5.5/objs/ftdebug.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -o /usr/local/bin/freetype-2.5.5/objs/ftinit.lo /usr/local/bin/freetype-2.5.5/src/base/ftinit.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" /usr/local/bin/freetype-2.5.5/src/base/ftinit.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftinit.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" /usr/local/bin/freetype-2.5.5/src/base/ftinit.c -o /usr/local/bin/freetype-2.5.5/objs/ftinit.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftbase.lo /usr/local/bin/freetype-2.5.5/src/base/ftbase.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftbase.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbase.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftbase.c -o /usr/local/bin/freetype-2.5.5/objs/ftbase.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftbbox.lo /usr/local/bin/freetype-2.5.5/src/base/ftbbox.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftbbox.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbbox.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftbbox.c -o /usr/local/bin/freetype-2.5.5/objs/ftbbox.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftbdf.lo /usr/local/bin/freetype-2.5.5/src/base/ftbdf.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftbdf.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbdf.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftbdf.c -o /usr/local/bin/freetype-2.5.5/objs/ftbdf.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftbitmap.lo /usr/local/bin/freetype-2.5.5/src/base/ftbitmap.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftbitmap.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbitmap.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftbitmap.c -o /usr/local/bin/freetype-2.5.5/objs/ftbitmap.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftcid.lo /usr/local/bin/freetype-2.5.5/src/base/ftcid.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftcid.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftcid.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftcid.c -o /usr/local/bin/freetype-2.5.5/objs/ftcid.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftfstype.lo /usr/local/bin/freetype-2.5.5/src/base/ftfstype.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftfstype.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftfstype.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftfstype.c -o /usr/local/bin/freetype-2.5.5/objs/ftfstype.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftgasp.lo /usr/local/bin/freetype-2.5.5/src/base/ftgasp.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftgasp.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftgasp.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftgasp.c -o /usr/local/bin/freetype-2.5.5/objs/ftgasp.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftglyph.lo /usr/local/bin/freetype-2.5.5/src/base/ftglyph.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftglyph.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftglyph.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftglyph.c -o /usr/local/bin/freetype-2.5.5/objs/ftglyph.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftgxval.lo /usr/local/bin/freetype-2.5.5/src/base/ftgxval.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftgxval.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftgxval.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftgxval.c -o /usr/local/bin/freetype-2.5.5/objs/ftgxval.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftlcdfil.lo /usr/local/bin/freetype-2.5.5/src/base/ftlcdfil.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftlcdfil.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftlcdfil.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftlcdfil.c -o /usr/local/bin/freetype-2.5.5/objs/ftlcdfil.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftmm.lo /usr/local/bin/freetype-2.5.5/src/base/ftmm.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftmm.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftmm.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftmm.c -o /usr/local/bin/freetype-2.5.5/objs/ftmm.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftotval.lo /usr/local/bin/freetype-2.5.5/src/base/ftotval.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftotval.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftotval.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftotval.c -o /usr/local/bin/freetype-2.5.5/objs/ftotval.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftpatent.lo /usr/local/bin/freetype-2.5.5/src/base/ftpatent.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftpatent.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftpatent.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftpatent.c -o /usr/local/bin/freetype-2.5.5/objs/ftpatent.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftpfr.lo /usr/local/bin/freetype-2.5.5/src/base/ftpfr.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftpfr.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftpfr.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftpfr.c -o /usr/local/bin/freetype-2.5.5/objs/ftpfr.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftstroke.lo /usr/local/bin/freetype-2.5.5/src/base/ftstroke.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftstroke.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftstroke.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftstroke.c -o /usr/local/bin/freetype-2.5.5/objs/ftstroke.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftsynth.lo /usr/local/bin/freetype-2.5.5/src/base/ftsynth.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftsynth.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftsynth.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftsynth.c -o /usr/local/bin/freetype-2.5.5/objs/ftsynth.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/fttype1.lo /usr/local/bin/freetype-2.5.5/src/base/fttype1.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/fttype1.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/fttype1.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/fttype1.c -o /usr/local/bin/freetype-2.5.5/objs/fttype1.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftwinfnt.lo /usr/local/bin/freetype-2.5.5/src/base/ftwinfnt.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftwinfnt.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftwinfnt.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftwinfnt.c -o /usr/local/bin/freetype-2.5.5/objs/ftwinfnt.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base -o /usr/local/bin/freetype-2.5.5/objs/ftxf86.lo /usr/local/bin/freetype-2.5.5/src/base/ftxf86.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftxf86.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftxf86.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/base /usr/local/bin/freetype-2.5.5/src/base/ftxf86.c -o /usr/local/bin/freetype-2.5.5/objs/ftxf86.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/truetype -o /usr/local/bin/freetype-2.5.5/objs/truetype.lo /usr/local/bin/freetype-2.5.5/src/truetype/truetype.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/truetype /usr/local/bin/freetype-2.5.5/src/truetype/truetype.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/truetype.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/truetype /usr/local/bin/freetype-2.5.5/src/truetype/truetype.c -o /usr/local/bin/freetype-2.5.5/objs/truetype.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/type1 -o /usr/local/bin/freetype-2.5.5/objs/type1.lo /usr/local/bin/freetype-2.5.5/src/type1/type1.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/type1 /usr/local/bin/freetype-2.5.5/src/type1/type1.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/type1.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/type1 /usr/local/bin/freetype-2.5.5/src/type1/type1.c -o /usr/local/bin/freetype-2.5.5/objs/type1.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/cff -o /usr/local/bin/freetype-2.5.5/objs/cff.lo /usr/local/bin/freetype-2.5.5/src/cff/cff.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/cff /usr/local/bin/freetype-2.5.5/src/cff/cff.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/cff.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/cff /usr/local/bin/freetype-2.5.5/src/cff/cff.c -o /usr/local/bin/freetype-2.5.5/objs/cff.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/cid -o /usr/local/bin/freetype-2.5.5/objs/type1cid.lo /usr/local/bin/freetype-2.5.5/src/cid/type1cid.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/cid /usr/local/bin/freetype-2.5.5/src/cid/type1cid.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/type1cid.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/cid /usr/local/bin/freetype-2.5.5/src/cid/type1cid.c -o /usr/local/bin/freetype-2.5.5/objs/type1cid.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/pfr -o /usr/local/bin/freetype-2.5.5/objs/pfr.lo /usr/local/bin/freetype-2.5.5/src/pfr/pfr.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/pfr /usr/local/bin/freetype-2.5.5/src/pfr/pfr.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/pfr.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/pfr /usr/local/bin/freetype-2.5.5/src/pfr/pfr.c -o /usr/local/bin/freetype-2.5.5/objs/pfr.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/type42 -o /usr/local/bin/freetype-2.5.5/objs/type42.lo /usr/local/bin/freetype-2.5.5/src/type42/type42.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/type42 /usr/local/bin/freetype-2.5.5/src/type42/type42.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/type42.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/type42 /usr/local/bin/freetype-2.5.5/src/type42/type42.c -o /usr/local/bin/freetype-2.5.5/objs/type42.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/winfonts -o /usr/local/bin/freetype-2.5.5/objs/winfnt.lo /usr/local/bin/freetype-2.5.5/src/winfonts/winfnt.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/winfonts /usr/local/bin/freetype-2.5.5/src/winfonts/winfnt.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/winfnt.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/winfonts /usr/local/bin/freetype-2.5.5/src/winfonts/winfnt.c -o /usr/local/bin/freetype-2.5.5/objs/winfnt.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/pcf -o /usr/local/bin/freetype-2.5.5/objs/pcf.lo /usr/local/bin/freetype-2.5.5/src/pcf/pcf.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/pcf /usr/local/bin/freetype-2.5.5/src/pcf/pcf.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/pcf.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/pcf /usr/local/bin/freetype-2.5.5/src/pcf/pcf.c -o /usr/local/bin/freetype-2.5.5/objs/pcf.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/bdf -o /usr/local/bin/freetype-2.5.5/objs/bdf.lo /usr/local/bin/freetype-2.5.5/src/bdf/bdf.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/bdf /usr/local/bin/freetype-2.5.5/src/bdf/bdf.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/bdf.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/bdf /usr/local/bin/freetype-2.5.5/src/bdf/bdf.c -o /usr/local/bin/freetype-2.5.5/objs/bdf.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/sfnt -o /usr/local/bin/freetype-2.5.5/objs/sfnt.lo /usr/local/bin/freetype-2.5.5/src/sfnt/sfnt.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/sfnt /usr/local/bin/freetype-2.5.5/src/sfnt/sfnt.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/sfnt.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/sfnt /usr/local/bin/freetype-2.5.5/src/sfnt/sfnt.c -o /usr/local/bin/freetype-2.5.5/objs/sfnt.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/autofit -o /usr/local/bin/freetype-2.5.5/objs/autofit.lo /usr/local/bin/freetype-2.5.5/src/autofit/autofit.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/autofit /usr/local/bin/freetype-2.5.5/src/autofit/autofit.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/autofit.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/autofit /usr/local/bin/freetype-2.5.5/src/autofit/autofit.c -o /usr/local/bin/freetype-2.5.5/objs/autofit.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/pshinter -o /usr/local/bin/freetype-2.5.5/objs/pshinter.lo /usr/local/bin/freetype-2.5.5/src/pshinter/pshinter.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/pshinter /usr/local/bin/freetype-2.5.5/src/pshinter/pshinter.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/pshinter.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/pshinter /usr/local/bin/freetype-2.5.5/src/pshinter/pshinter.c -o /usr/local/bin/freetype-2.5.5/objs/pshinter.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/raster -o /usr/local/bin/freetype-2.5.5/objs/raster.lo /usr/local/bin/freetype-2.5.5/src/raster/raster.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/raster /usr/local/bin/freetype-2.5.5/src/raster/raster.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/raster.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/raster /usr/local/bin/freetype-2.5.5/src/raster/raster.c -o /usr/local/bin/freetype-2.5.5/objs/raster.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/smooth -o /usr/local/bin/freetype-2.5.5/objs/smooth.lo /usr/local/bin/freetype-2.5.5/src/smooth/smooth.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/smooth /usr/local/bin/freetype-2.5.5/src/smooth/smooth.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/smooth.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/smooth /usr/local/bin/freetype-2.5.5/src/smooth/smooth.c -o /usr/local/bin/freetype-2.5.5/objs/smooth.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/cache -o /usr/local/bin/freetype-2.5.5/objs/ftcache.lo /usr/local/bin/freetype-2.5.5/src/cache/ftcache.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/cache /usr/local/bin/freetype-2.5.5/src/cache/ftcache.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftcache.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/cache /usr/local/bin/freetype-2.5.5/src/cache/ftcache.c -o /usr/local/bin/freetype-2.5.5/objs/ftcache.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -o /usr/local/bin/freetype-2.5.5/objs/ftgzip.lo /usr/local/bin/freetype-2.5.5/src/gzip/ftgzip.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" /usr/local/bin/freetype-2.5.5/src/gzip/ftgzip.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftgzip.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" /usr/local/bin/freetype-2.5.5/src/gzip/ftgzip.c -o /usr/local/bin/freetype-2.5.5/objs/ftgzip.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/lzw -o /usr/local/bin/freetype-2.5.5/objs/ftlzw.lo /usr/local/bin/freetype-2.5.5/src/lzw/ftlzw.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/lzw /usr/local/bin/freetype-2.5.5/src/lzw/ftlzw.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftlzw.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/lzw /usr/local/bin/freetype-2.5.5/src/lzw/ftlzw.c -o /usr/local/bin/freetype-2.5.5/objs/ftlzw.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -o /usr/local/bin/freetype-2.5.5/objs/ftbzip2.lo /usr/local/bin/freetype-2.5.5/src/bzip2/ftbzip2.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" /usr/local/bin/freetype-2.5.5/src/bzip2/ftbzip2.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbzip2.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" /usr/local/bin/freetype-2.5.5/src/bzip2/ftbzip2.c -o /usr/local/bin/freetype-2.5.5/objs/ftbzip2.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/psaux -o /usr/local/bin/freetype-2.5.5/objs/psaux.lo /usr/local/bin/freetype-2.5.5/src/psaux/psaux.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/psaux /usr/local/bin/freetype-2.5.5/src/psaux/psaux.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/psaux.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/psaux /usr/local/bin/freetype-2.5.5/src/psaux/psaux.c -o /usr/local/bin/freetype-2.5.5/objs/psaux.o >/dev/null 2>&1
./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/psnames -o /usr/local/bin/freetype-2.5.5/objs/psnames.lo /usr/local/bin/freetype-2.5.5/src/psnames/psnames.c
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/psnames /usr/local/bin/freetype-2.5.5/src/psnames/psnames.c -fPIC -DPIC -o /usr/local/bin/freetype-2.5.5/objs/.libs/psnames.o
libtool: compile: gcc -pedantic -ansi -I/usr/local/bin/freetype-2.5.5/objs -I./builds/unix -I/usr/local/bin/freetype-2.5.5/include -c -Wall -g -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>" -I/usr/local/bin/freetype-2.5.5/src/psnames /usr/local/bin/freetype-2.5.5/src/psnames/psnames.c -o /usr/local/bin/freetype-2.5.5/objs/psnames.o >/dev/null 2>&1
gcc -o /usr/local/bin/freetype-2.5.5/objs/apinames /usr/local/bin/freetype-2.5.5/src/tools/apinames.c
/usr/local/bin/freetype-2.5.5/objs/apinames -o/usr/local/bin/freetype-2.5.5/objs/ftexport.sym /usr/local/bin/freetype-2.5.5/include/tttables.h /usr/local/bin/freetype-2.5.5/include/ftcid.h /usr/local/bin/freetype-2.5.5/include/ftstroke.h /usr/local/bin/freetype-2.5.5/include/t1tables.h /usr/local/bin/freetype-2.5.5/include/fterrors.h /usr/local/bin/freetype-2.5.5/include/ft2build.h /usr/local/bin/freetype-2.5.5/include/ftglyph.h /usr/local/bin/freetype-2.5.5/include/ftbitmap.h /usr/local/bin/freetype-2.5.5/include/ftmodapi.h /usr/local/bin/freetype-2.5.5/include/ftsystem.h /usr/local/bin/freetype-2.5.5/include/ftttdrv.h /usr/local/bin/freetype-2.5.5/include/ftsynth.h /usr/local/bin/freetype-2.5.5/include/ftlcdfil.h /usr/local/bin/freetype-2.5.5/include/ftpfr.h /usr/local/bin/freetype-2.5.5/include/ftsizes.h /usr/local/bin/freetype-2.5.5/include/ftrender.h /usr/local/bin/freetype-2.5.5/include/ftlzw.h /usr/local/bin/freetype-2.5.5/include/ftoutln.h /usr/local/bin/freetype-2.5.5/include/ftbzip2.h /usr/local/bin/freetype-2.5.5/include/ftlist.h /usr/local/bin/freetype-2.5.5/include/ftincrem.h /usr/local/bin/freetype-2.5.5/include/ftchapters.h /usr/local/bin/freetype-2.5.5/include/ftbdf.h /usr/local/bin/freetype-2.5.5/include/ftcache.h /usr/local/bin/freetype-2.5.5/include/ttnameid.h /usr/local/bin/freetype-2.5.5/include/ftgzip.h /usr/local/bin/freetype-2.5.5/include/ftmac.h /usr/local/bin/freetype-2.5.5/include/fttypes.h /usr/local/bin/freetype-2.5.5/include/ftwinfnt.h /usr/local/bin/freetype-2.5.5/include/freetype.h /usr/local/bin/freetype-2.5.5/include/ftotval.h /usr/local/bin/freetype-2.5.5/include/ftautoh.h /usr/local/bin/freetype-2.5.5/include/ftmm.h /usr/local/bin/freetype-2.5.5/include/ftadvanc.h /usr/local/bin/freetype-2.5.5/include/ftbbox.h /usr/local/bin/freetype-2.5.5/include/ftxf86.h /usr/local/bin/freetype-2.5.5/include/ftcffdrv.h /usr/local/bin/freetype-2.5.5/include/ftmoderr.h /usr/local/bin/freetype-2.5.5/include/ftgasp.h /usr/local/bin/freetype-2.5.5/include/ftgxval.h /usr/local/bin/freetype-2.5.5/include/ftsnames.h /usr/local/bin/freetype-2.5.5/include/tttags.h /usr/local/bin/freetype-2.5.5/include/ttunpat.h /usr/local/bin/freetype-2.5.5/include/fterrdef.h /usr/local/bin/freetype-2.5.5/include/fttrigon.h /usr/local/bin/freetype-2.5.5/include/ftimage.h
./builds/unix/libtool --mode=link gcc -o /usr/local/bin/freetype-2.5.5/objs/libfreetype.la /usr/local/bin/freetype-2.5.5/objs/ftsystem.lo /usr/local/bin/freetype-2.5.5/objs/ftdebug.lo /usr/local/bin/freetype-2.5.5/objs/ftinit.lo /usr/local/bin/freetype-2.5.5/objs/ftbase.lo /usr/local/bin/freetype-2.5.5/objs/ftbbox.lo /usr/local/bin/freetype-2.5.5/objs/ftbdf.lo /usr/local/bin/freetype-2.5.5/objs/ftbitmap.lo /usr/local/bin/freetype-2.5.5/objs/ftcid.lo /usr/local/bin/freetype-2.5.5/objs/ftfstype.lo /usr/local/bin/freetype-2.5.5/objs/ftgasp.lo /usr/local/bin/freetype-2.5.5/objs/ftglyph.lo /usr/local/bin/freetype-2.5.5/objs/ftgxval.lo /usr/local/bin/freetype-2.5.5/objs/ftlcdfil.lo /usr/local/bin/freetype-2.5.5/objs/ftmm.lo /usr/local/bin/freetype-2.5.5/objs/ftotval.lo /usr/local/bin/freetype-2.5.5/objs/ftpatent.lo /usr/local/bin/freetype-2.5.5/objs/ftpfr.lo /usr/local/bin/freetype-2.5.5/objs/ftstroke.lo /usr/local/bin/freetype-2.5.5/objs/ftsynth.lo /usr/local/bin/freetype-2.5.5/objs/fttype1.lo /usr/local/bin/freetype-2.5.5/objs/ftwinfnt.lo /usr/local/bin/freetype-2.5.5/objs/ftxf86.lo /usr/local/bin/freetype-2.5.5/objs/truetype.lo /usr/local/bin/freetype-2.5.5/objs/type1.lo /usr/local/bin/freetype-2.5.5/objs/cff.lo /usr/local/bin/freetype-2.5.5/objs/type1cid.lo /usr/local/bin/freetype-2.5.5/objs/pfr.lo /usr/local/bin/freetype-2.5.5/objs/type42.lo /usr/local/bin/freetype-2.5.5/objs/winfnt.lo /usr/local/bin/freetype-2.5.5/objs/pcf.lo /usr/local/bin/freetype-2.5.5/objs/bdf.lo /usr/local/bin/freetype-2.5.5/objs/sfnt.lo /usr/local/bin/freetype-2.5.5/objs/autofit.lo /usr/local/bin/freetype-2.5.5/objs/pshinter.lo /usr/local/bin/freetype-2.5.5/objs/raster.lo /usr/local/bin/freetype-2.5.5/objs/smooth.lo /usr/local/bin/freetype-2.5.5/objs/ftcache.lo /usr/local/bin/freetype-2.5.5/objs/ftgzip.lo /usr/local/bin/freetype-2.5.5/objs/ftlzw.lo /usr/local/bin/freetype-2.5.5/objs/ftbzip2.lo /usr/local/bin/freetype-2.5.5/objs/psaux.lo /usr/local/bin/freetype-2.5.5/objs/psnames.lo -rpath /usr/etc/php_ext/freetype/lib -version-info 17:4:11 -lz -no-undefined
libtool: link: gcc -shared -fPIC -DPIC /usr/local/bin/freetype-2.5.5/objs/.libs/ftsystem.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftdebug.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftinit.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbase.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbbox.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbdf.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbitmap.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftcid.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftfstype.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftgasp.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftglyph.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftgxval.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftlcdfil.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftmm.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftotval.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftpatent.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftpfr.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftstroke.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftsynth.o /usr/local/bin/freetype-2.5.5/objs/.libs/fttype1.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftwinfnt.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftxf86.o /usr/local/bin/freetype-2.5.5/objs/.libs/truetype.o /usr/local/bin/freetype-2.5.5/objs/.libs/type1.o /usr/local/bin/freetype-2.5.5/objs/.libs/cff.o /usr/local/bin/freetype-2.5.5/objs/.libs/type1cid.o /usr/local/bin/freetype-2.5.5/objs/.libs/pfr.o /usr/local/bin/freetype-2.5.5/objs/.libs/type42.o /usr/local/bin/freetype-2.5.5/objs/.libs/winfnt.o /usr/local/bin/freetype-2.5.5/objs/.libs/pcf.o /usr/local/bin/freetype-2.5.5/objs/.libs/bdf.o /usr/local/bin/freetype-2.5.5/objs/.libs/sfnt.o /usr/local/bin/freetype-2.5.5/objs/.libs/autofit.o /usr/local/bin/freetype-2.5.5/objs/.libs/pshinter.o /usr/local/bin/freetype-2.5.5/objs/.libs/raster.o /usr/local/bin/freetype-2.5.5/objs/.libs/smooth.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftcache.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftgzip.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftlzw.o /usr/local/bin/freetype-2.5.5/objs/.libs/ftbzip2.o /usr/local/bin/freetype-2.5.5/objs/.libs/psaux.o /usr/local/bin/freetype-2.5.5/objs/.libs/psnames.o -lz -Wl,-soname -Wl,libfreetype.so.6 -o /usr/local/bin/freetype-2.5.5/objs/.libs/libfreetype.so.6.11.4
libtool: link: (cd "/usr/local/bin/freetype-2.5.5/objs/.libs" && rm -f "libfreetype.so.6" && ln -s "libfreetype.so.6.11.4" "libfreetype.so.6")
libtool: link: (cd "/usr/local/bin/freetype-2.5.5/objs/.libs" && rm -f "libfreetype.so" && ln -s "libfreetype.so.6.11.4" "libfreetype.so")
libtool: link: ar cru /usr/local/bin/freetype-2.5.5/objs/.libs/libfreetype.a /usr/local/bin/freetype-2.5.5/objs/ftsystem.o /usr/local/bin/freetype-2.5.5/objs/ftdebug.o /usr/local/bin/freetype-2.5.5/objs/ftinit.o /usr/local/bin/freetype-2.5.5/objs/ftbase.o /usr/local/bin/freetype-2.5.5/objs/ftbbox.o /usr/local/bin/freetype-2.5.5/objs/ftbdf.o /usr/local/bin/freetype-2.5.5/objs/ftbitmap.o /usr/local/bin/freetype-2.5.5/objs/ftcid.o /usr/local/bin/freetype-2.5.5/objs/ftfstype.o /usr/local/bin/freetype-2.5.5/objs/ftgasp.o /usr/local/bin/freetype-2.5.5/objs/ftglyph.o /usr/local/bin/freetype-2.5.5/objs/ftgxval.o /usr/local/bin/freetype-2.5.5/objs/ftlcdfil.o /usr/local/bin/freetype-2.5.5/objs/ftmm.o /usr/local/bin/freetype-2.5.5/objs/ftotval.o /usr/local/bin/freetype-2.5.5/objs/ftpatent.o /usr/local/bin/freetype-2.5.5/objs/ftpfr.o /usr/local/bin/freetype-2.5.5/objs/ftstroke.o /usr/local/bin/freetype-2.5.5/objs/ftsynth.o /usr/local/bin/freetype-2.5.5/objs/fttype1.o /usr/local/bin/freetype-2.5.5/objs/ftwinfnt.o /usr/local/bin/freetype-2.5.5/objs/ftxf86.o /usr/local/bin/freetype-2.5.5/objs/truetype.o /usr/local/bin/freetype-2.5.5/objs/type1.o /usr/local/bin/freetype-2.5.5/objs/cff.o /usr/local/bin/freetype-2.5.5/objs/type1cid.o /usr/local/bin/freetype-2.5.5/objs/pfr.o /usr/local/bin/freetype-2.5.5/objs/type42.o /usr/local/bin/freetype-2.5.5/objs/winfnt.o /usr/local/bin/freetype-2.5.5/objs/pcf.o /usr/local/bin/freetype-2.5.5/objs/bdf.o /usr/local/bin/freetype-2.5.5/objs/sfnt.o /usr/local/bin/freetype-2.5.5/objs/autofit.o /usr/local/bin/freetype-2.5.5/objs/pshinter.o /usr/local/bin/freetype-2.5.5/objs/raster.o /usr/local/bin/freetype-2.5.5/objs/smooth.o /usr/local/bin/freetype-2.5.5/objs/ftcache.o /usr/local/bin/freetype-2.5.5/objs/ftgzip.o /usr/local/bin/freetype-2.5.5/objs/ftlzw.o /usr/local/bin/freetype-2.5.5/objs/ftbzip2.o /usr/local/bin/freetype-2.5.5/objs/psaux.o /usr/local/bin/freetype-2.5.5/objs/psnames.o
libtool: link: ranlib /usr/local/bin/freetype-2.5.5/objs/.libs/libfreetype.a
libtool: link: ( cd "/usr/local/bin/freetype-2.5.5/objs/.libs" && rm -f "libfreetype.la" && ln -s "../libfreetype.la" "libfreetype.la" )
rm -f builds/unix/freetype-config builds/unix/freetype-config.tmp
sed -e 's|%LIBSSTATIC_CONFIG%|-lfreetype -lz|' \
-e 's|%build_libtool_libs%||' \
-e 's|%exec_prefix%|/usr/etc/php_ext/freetype|' \
-e 's|%ft_version%|17.4.11|' \
-e 's|%includedir%|/usr/etc/php_ext/freetype/include|' \
-e 's|%libdir%|/usr/etc/php_ext/freetype/lib|' \
-e 's|%prefix%|/usr/etc/php_ext/freetype|' \
/usr/local/bin/freetype-2.5.5/builds/unix/freetype-config.in \
> builds/unix/freetype-config.tmp
chmod +x builds/unix/freetype-config.tmp
chmod a-w builds/unix/freetype-config.tmp
mv builds/unix/freetype-config.tmp builds/unix/freetype-config
rm -f builds/unix/freetype2.pc builds/unix/freetype2.pc.tmp
sed -e 's|%REQUIRES_PRIVATE%|zlib|' \
-e 's|%LIBS_PRIVATE%||' \
-e 's|%build_libtool_libs%||' \
-e 's|%exec_prefix%|/usr/etc/php_ext/freetype|' \
-e 's|%ft_version%|17.4.11|' \
-e 's|%includedir%|/usr/etc/php_ext/freetype/include|' \
-e 's|%libdir%|/usr/etc/php_ext/freetype/lib|' \
-e 's|%prefix%|/usr/etc/php_ext/freetype|' \
/usr/local/bin/freetype-2.5.5/builds/unix/freetype2.in \
> builds/unix/freetype2.pc.tmp
chmod a-w builds/unix/freetype2.pc.tmp
mv builds/unix/freetype2.pc.tmp builds/unix/freetype2.pc
[root@localhost freetype-2.5.5]# make install
./builds/unix/mkinstalldirs /usr/etc/php_ext/freetype/lib \
/usr/etc/php_ext/freetype/lib/pkgconfig \
/usr/etc/php_ext/freetype/include/freetype2/config \
/usr/etc/php_ext/freetype/bin \
/usr/etc/php_ext/freetype/share/aclocal \
/usr/etc/php_ext/freetype/share/man/man1
mkdir -p -- /usr/etc/php_ext/freetype/lib /usr/etc/php_ext/freetype/lib/pkgconfig /usr/etc/php_ext/freetype/include/freetype2/config /usr/etc/php_ext/freetype/bin /usr/etc/php_ext/freetype/share/aclocal /usr/etc/php_ext/freetype/share/man/man1
./builds/unix/libtool --mode=install /usr/bin/install -c \
/usr/local/bin/freetype-2.5.5/objs/libfreetype.la /usr/etc/php_ext/freetype/lib
libtool: install: /usr/bin/install -c /usr/local/bin/freetype-2.5.5/objs/.libs/libfreetype.so.6.11.4 /usr/etc/php_ext/freetype/lib/libfreetype.so.6.11.4
libtool: install: (cd /usr/etc/php_ext/freetype/lib && { ln -s -f libfreetype.so.6.11.4 libfreetype.so.6 || { rm -f libfreetype.so.6 && ln -s libfreetype.so.6.11.4 libfreetype.so.6; }; })
libtool: install: (cd /usr/etc/php_ext/freetype/lib && { ln -s -f libfreetype.so.6.11.4 libfreetype.so || { rm -f libfreetype.so && ln -s libfreetype.so.6.11.4 libfreetype.so; }; })
libtool: install: /usr/bin/install -c /usr/local/bin/freetype-2.5.5/objs/.libs/libfreetype.lai /usr/etc/php_ext/freetype/lib/libfreetype.la
libtool: install: /usr/bin/install -c /usr/local/bin/freetype-2.5.5/objs/.libs/libfreetype.a /usr/etc/php_ext/freetype/lib/libfreetype.a
libtool: install: chmod 644 /usr/etc/php_ext/freetype/lib/libfreetype.a
libtool: install: ranlib /usr/etc/php_ext/freetype/lib/libfreetype.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/etc/php_ext/freetype/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/etc/php_ext/freetype/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.
----------------------------------------------------------------------
for P in /usr/local/bin/freetype-2.5.5/include/tttables.h /usr/local/bin/freetype-2.5.5/include/ftcid.h /usr/local/bin/freetype-2.5.5/include/ftstroke.h /usr/local/bin/freetype-2.5.5/include/t1tables.h /usr/local/bin/freetype-2.5.5/include/fterrors.h /usr/local/bin/freetype-2.5.5/include/ft2build.h /usr/local/bin/freetype-2.5.5/include/ftglyph.h /usr/local/bin/freetype-2.5.5/include/ftbitmap.h /usr/local/bin/freetype-2.5.5/include/ftmodapi.h /usr/local/bin/freetype-2.5.5/include/ftsystem.h /usr/local/bin/freetype-2.5.5/include/ftttdrv.h /usr/local/bin/freetype-2.5.5/include/ftsynth.h /usr/local/bin/freetype-2.5.5/include/ftlcdfil.h /usr/local/bin/freetype-2.5.5/include/ftpfr.h /usr/local/bin/freetype-2.5.5/include/ftsizes.h /usr/local/bin/freetype-2.5.5/include/ftrender.h /usr/local/bin/freetype-2.5.5/include/ftlzw.h /usr/local/bin/freetype-2.5.5/include/ftoutln.h /usr/local/bin/freetype-2.5.5/include/ftbzip2.h /usr/local/bin/freetype-2.5.5/include/ftlist.h /usr/local/bin/freetype-2.5.5/include/ftincrem.h /usr/local/bin/freetype-2.5.5/include/ftchapters.h /usr/local/bin/freetype-2.5.5/include/ftbdf.h /usr/local/bin/freetype-2.5.5/include/ftcache.h /usr/local/bin/freetype-2.5.5/include/ttnameid.h /usr/local/bin/freetype-2.5.5/include/ftgzip.h /usr/local/bin/freetype-2.5.5/include/ftmac.h /usr/local/bin/freetype-2.5.5/include/fttypes.h /usr/local/bin/freetype-2.5.5/include/ftwinfnt.h /usr/local/bin/freetype-2.5.5/include/freetype.h /usr/local/bin/freetype-2.5.5/include/ftotval.h /usr/local/bin/freetype-2.5.5/include/ftautoh.h /usr/local/bin/freetype-2.5.5/include/ftmm.h /usr/local/bin/freetype-2.5.5/include/ftadvanc.h /usr/local/bin/freetype-2.5.5/include/ftbbox.h /usr/local/bin/freetype-2.5.5/include/ftxf86.h /usr/local/bin/freetype-2.5.5/include/ftcffdrv.h /usr/local/bin/freetype-2.5.5/include/ftmoderr.h /usr/local/bin/freetype-2.5.5/include/ftgasp.h /usr/local/bin/freetype-2.5.5/include/ftgxval.h /usr/local/bin/freetype-2.5.5/include/ftsnames.h /usr/local/bin/freetype-2.5.5/include/tttags.h /usr/local/bin/freetype-2.5.5/include/ttunpat.h /usr/local/bin/freetype-2.5.5/include/fterrdef.h /usr/local/bin/freetype-2.5.5/include/fttrigon.h /usr/local/bin/freetype-2.5.5/include/ftimage.h ; do \
/usr/bin/install -c -m 644 \
$P /usr/etc/php_ext/freetype/include/freetype2 ; \
done
for P in /usr/local/bin/freetype-2.5.5/include/config/ftstdlib.h /usr/local/bin/freetype-2.5.5/include/config/ftconfig.h /usr/local/bin/freetype-2.5.5/include/config/ftmodule.h /usr/local/bin/freetype-2.5.5/include/config/ftoption.h /usr/local/bin/freetype-2.5.5/include/config/ftheader.h /usr/local/bin/freetype-2.5.5/objs/ftmodule.h ; do \
/usr/bin/install -c -m 644 \
$P /usr/etc/php_ext/freetype/include/freetype2/config ; \
done
rm -f /usr/etc/php_ext/freetype/include/freetype2/freetype/config/*
rmdir /usr/etc/php_ext/freetype/include/freetype2/freetype/config
rmdir: 删除 "/usr/etc/php_ext/freetype/include/freetype2/freetype/config" 失败: 没有那个文件或目录
make: [install] 错误 1 (忽略)
rm -f /usr/etc/php_ext/freetype/include/freetype2/freetype/*
rmdir /usr/etc/php_ext/freetype/include/freetype2/freetype
rmdir: 删除 "/usr/etc/php_ext/freetype/include/freetype2/freetype" 失败: 没有那个文件或目录
make: [install] 错误 1 (忽略)
/usr/bin/install -c -m 644 ./builds/unix/ftconfig.h \
/usr/etc/php_ext/freetype/include/freetype2/config/ftconfig.h
/usr/bin/install -c -m 644 /usr/local/bin/freetype-2.5.5/objs/ftmodule.h \
/usr/etc/php_ext/freetype/include/freetype2/config/ftmodule.h
/usr/bin/install -c -m 755 ./builds/unix/freetype-config \
/usr/etc/php_ext/freetype/bin/freetype-config
/usr/bin/install -c -m 644 ./builds/unix/freetype2.m4 \
/usr/etc/php_ext/freetype/share/aclocal/freetype2.m4
/usr/bin/install -c -m 644 ./builds/unix/freetype2.pc \
/usr/etc/php_ext/freetype/lib/pkgconfig/freetype2.pc
/usr/bin/install -c -m 644 /usr/local/bin/freetype-2.5.5/docs/freetype-config.1 \
/usr/etc/php_ext/freetype/share/man/man1/freetype-config.1
T1lib
下载 到 cd /usr/local/src
[root@localhost src]# wget ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-5.1.2.tar.gz
解压到 /usr/local/bin
[root@localhost src]# tar zxvf t1lib-5.1.2.tar.gz -C /usr/local/bin
进入解压目录 cd /usr/local/bin/t1lib-5.1.2
编译./configure --prefix=/usr/etc/php_ext/t1lib
[root@localhost t1lib-5.1.2]# ./configure --prefix=/usr/etc/php_ext/t1lib
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for Athena... libraries in default path, headers in default path
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 egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether char is unsigned... no
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for long long... yes
checking size of long long... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for long double... yes
checking size of long double... 16
checking for void *... yes
checking size of void *... 8
checking "for gcc strength-reduce bug"... no
checking "whether external symbols need an underscore prefix"... no
checking "which ANSI integer type is 16 bit"... short
checking "which ANSI integer type is 32 bit"... int
checking "which ANSI integer type is 64 bit"... long
checking whether stat file-mode macros are broken... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/type1/Makefile
config.status: creating lib/t1lib/Makefile
config.status: creating type1afm/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating lib/t1lib/t1lib.h
config.status: creating lib/t1lib/sysconf.h Configure finished!
Do: 'make' to compile the t1lib-package.
Do: 'make without_doc' to compile if you do not have LaTeX.
Do: 'make install' to install the t1lib-package.
make make install
[root@localhost t1lib-5.1.2]# make
for i in lib type1afm examples ; do \
(cd $i; make 'CC=gcc' 'CFLAGS=-g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT ' 'OPTIONS=' ) || exit 1; \
done
make[1]: 进入目录“/usr/local/bin/t1lib-5.1.2/lib”
make[2]: 进入目录“/usr/local/bin/t1lib-5.1.2/lib/type1”
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long arith.c
mkdir .libs
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long arith.c -fPIC -DPIC -o .libs/arith.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long arith.c -o arith.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long curves.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long curves.c -fPIC -DPIC -o .libs/curves.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long curves.c -o curves.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long fontfcn.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long fontfcn.c -fPIC -DPIC -o .libs/fontfcn.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long fontfcn.c -o fontfcn.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long hints.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long hints.c -fPIC -DPIC -o .libs/hints.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long hints.c -o hints.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long lines.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long lines.c -fPIC -DPIC -o .libs/lines.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long lines.c -o lines.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long objects.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long objects.c -fPIC -DPIC -o .libs/objects.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long objects.c -o objects.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long paths.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long paths.c -fPIC -DPIC -o .libs/paths.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long paths.c -o paths.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long regions.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long regions.c -fPIC -DPIC -o .libs/regions.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long regions.c -o regions.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long scanfont.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long scanfont.c -fPIC -DPIC -o .libs/scanfont.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long scanfont.c -o scanfont.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long spaces.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long spaces.c -fPIC -DPIC -o .libs/spaces.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long spaces.c -o spaces.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1io.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1io.c -fPIC -DPIC -o .libs/t1io.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1io.c -o t1io.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1snap.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1snap.c -fPIC -DPIC -o .libs/t1snap.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1snap.c -o t1snap.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1stub.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1stub.c -fPIC -DPIC -o .libs/t1stub.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1stub.c -o t1stub.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long token.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long token.c -fPIC -DPIC -o .libs/token.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long token.c -o token.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long type1.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long type1.c -fPIC -DPIC -o .libs/type1.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long type1.c -o type1.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long util.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long util.c -fPIC -DPIC -o .libs/util.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long util.c -o util.o >/dev/null 2>&1
make[2]: 离开目录“/usr/local/bin/t1lib-5.1.2/lib/type1”
make[2]: 进入目录“/usr/local/bin/t1lib-5.1.2/lib/t1lib”
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1finfo.c
mkdir .libs
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1finfo.c -fPIC -DPIC -o .libs/t1finfo.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1finfo.c -o t1finfo.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1base.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1base.c -fPIC -DPIC -o .libs/t1base.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1base.c -o t1base.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1delete.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1delete.c -fPIC -DPIC -o .libs/t1delete.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1delete.c -o t1delete.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1enc.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1enc.c -fPIC -DPIC -o .libs/t1enc.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1enc.c -o t1enc.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1env.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1env.c -fPIC -DPIC -o .libs/t1env.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1env.c -o t1env.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1load.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1load.c -fPIC -DPIC -o .libs/t1load.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1load.c -o t1load.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1set.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1set.c -fPIC -DPIC -o .libs/t1set.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1set.c -o t1set.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1trans.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1trans.c -fPIC -DPIC -o .libs/t1trans.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1trans.c -o t1trans.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1aaset.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1aaset.c -fPIC -DPIC -o .libs/t1aaset.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1aaset.c -o t1aaset.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1afmtool.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1afmtool.c -fPIC -DPIC -o .libs/t1afmtool.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1afmtool.c -o t1afmtool.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1outline.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1outline.c -fPIC -DPIC -o .libs/t1outline.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1outline.c -o t1outline.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1subset.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1subset.c -fPIC -DPIC -o .libs/t1subset.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long t1subset.c -o t1subset.o >/dev/null 2>&1
../../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long parseAFM.c
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long parseAFM.c -fPIC -DPIC -o .libs/parseAFM.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long parseAFM.c -o parseAFM.o >/dev/null 2>&1
make[2]: 离开目录“/usr/local/bin/t1lib-5.1.2/lib/t1lib”
../libtool --mode=link \
gcc -o libt1.la type1/arith.lo type1/curves.lo type1/fontfcn.lo type1/hints.lo type1/lines.lo type1/objects.lo type1/paths.lo type1/regions.lo type1/scanfont.lo type1/spaces.lo type1/t1io.lo type1/t1snap.lo type1/t1stub.lo type1/token.lo type1/type1.lo type1/util.lo t1lib/t1finfo.lo t1lib/t1base.lo t1lib/t1delete.lo t1lib/t1enc.lo t1lib/t1env.lo t1lib/t1load.lo t1lib/t1set.lo t1lib/t1trans.lo t1lib/t1aaset.lo t1lib/t1afmtool.lo t1lib/t1outline.lo t1lib/t1subset.lo t1lib/parseAFM.lo \
-version-info 6:2:1 \
-lm -no-undefined -rpath /usr/etc/php_ext/t1lib/lib
mkdir .libs
gcc -shared type1/.libs/arith.o type1/.libs/curves.o type1/.libs/fontfcn.o type1/.libs/hints.o type1/.libs/lines.o type1/.libs/objects.o type1/.libs/paths.o type1/.libs/regions.o type1/.libs/scanfont.o type1/.libs/spaces.o type1/.libs/t1io.o type1/.libs/t1snap.o type1/.libs/t1stub.o type1/.libs/token.o type1/.libs/type1.o type1/.libs/util.o t1lib/.libs/t1finfo.o t1lib/.libs/t1base.o t1lib/.libs/t1delete.o t1lib/.libs/t1enc.o t1lib/.libs/t1env.o t1lib/.libs/t1load.o t1lib/.libs/t1set.o t1lib/.libs/t1trans.o t1lib/.libs/t1aaset.o t1lib/.libs/t1afmtool.o t1lib/.libs/t1outline.o t1lib/.libs/t1subset.o t1lib/.libs/parseAFM.o -lm -Wl,-soname -Wl,libt1.so.5 -o .libs/libt1.so.5.1.2
(cd .libs && rm -f libt1.so.5 && ln -s libt1.so.5.1.2 libt1.so.5)
(cd .libs && rm -f libt1.so && ln -s libt1.so.5.1.2 libt1.so)
ar cru .libs/libt1.a type1/arith.o type1/curves.o type1/fontfcn.o type1/hints.o type1/lines.o type1/objects.o type1/paths.o type1/regions.o type1/scanfont.o type1/spaces.o type1/t1io.o type1/t1snap.o type1/t1stub.o type1/token.o type1/type1.o type1/util.o t1lib/t1finfo.o t1lib/t1base.o t1lib/t1delete.o t1lib/t1enc.o t1lib/t1env.o t1lib/t1load.o t1lib/t1set.o t1lib/t1trans.o t1lib/t1aaset.o t1lib/t1afmtool.o t1lib/t1outline.o t1lib/t1subset.o t1lib/parseAFM.o
ranlib .libs/libt1.a
creating libt1.la
(cd .libs && rm -f libt1.la && ln -s ../libt1.la libt1.la)
cp t1lib/t1lib.h .
make[1]: 离开目录“/usr/local/bin/t1lib-5.1.2/lib”
make[1]: 进入目录“/usr/local/bin/t1lib-5.1.2/type1afm”
../libtool --mode=compile \
gcc -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT type1afm.c
mkdir .libs
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT type1afm.c -fPIC -DPIC -o .libs/type1afm.o
gcc -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT type1afm.c -o type1afm.o >/dev/null 2>&1
../libtool --mode=link \
gcc -o type1afm type1afm.lo ../lib/libt1.la -lm
gcc -o .libs/type1afm .libs/type1afm.o ../lib/.libs/libt1.so -lm -Wl,--rpath -Wl,/usr/etc/php_ext/t1lib/lib
creating type1afm
make[1]: 离开目录“/usr/local/bin/t1lib-5.1.2/type1afm”
make[1]: 进入目录“/usr/local/bin/t1lib-5.1.2/examples”
../libtool --mode=compile \
gcc -I../lib -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT t1example1.c
mkdir .libs
gcc -I../lib -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT t1example1.c -fPIC -DPIC -o .libs/t1example1.o
gcc -I../lib -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT t1example1.c -o t1example1.o >/dev/null 2>&1
../libtool --mode=link \
gcc -o t1example1 t1example1.lo ../lib/libt1.la -lm
gcc -o .libs/t1example1 .libs/t1example1.o ../lib/.libs/libt1.so -lm -Wl,--rpath -Wl,/usr/etc/php_ext/t1lib/lib
creating t1example1
../libtool --mode=compile \
gcc -I../lib -c -g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT subset.c
gcc -I../lib -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT subset.c -fPIC -DPIC -o .libs/subset.o
gcc -I../lib -c -g -O2 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/usr/etc/php_ext/t1lib/share/t1lib\" -DT1LIB_NO_X11_SUPPORT subset.c -o subset.o >/dev/null 2>&1
../libtool --mode=link \
gcc -o subset subset.lo ../lib/libt1.la -lm
gcc -o .libs/subset .libs/subset.o ../lib/.libs/libt1.so -lm -Wl,--rpath -Wl,/usr/etc/php_ext/t1lib/lib
creating subset
make[1]: 离开目录“/usr/local/bin/t1lib-5.1.2/examples”
for i in doc; do \
(cd $i; make 'CC=gcc' 'CFLAGS=-g -O2 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/usr/etc/php_ext/t1lib/share/t1lib\"" -DT1LIB_NO_X11_SUPPORT ' 'OPTIONS=' ) || exit 1; \
done
make[1]: 进入目录“/usr/local/bin/t1lib-5.1.2/doc”
latex t1lib_doc.tex
make[1]: latex:命令未找到
make[1]: *** [t1lib_doc.dvi] 错误 127
make[1]: 离开目录“/usr/local/bin/t1lib-5.1.2/doc”
make: *** [doc] 错误 1
[root@localhost t1lib-5.1.2]# make install
for i in lib type1afm examples doc; do \
(cd $i; make install) || exit 1; \
done
make[1]: 进入目录“/usr/local/bin/t1lib-5.1.2/lib”
../ac-tools/mkinstalldirs /usr/etc/php_ext/t1lib/lib
mkdir /usr/etc/php_ext/t1lib
mkdir /usr/etc/php_ext/t1lib/lib
../ac-tools/mkinstalldirs /usr/etc/php_ext/t1lib/include
mkdir /usr/etc/php_ext/t1lib/include
../ac-tools/mkinstalldirs /usr/etc/php_ext/t1lib/share/t1lib
mkdir /usr/etc/php_ext/t1lib/share
mkdir /usr/etc/php_ext/t1lib/share/t1lib
../libtool --mode=install \
/usr/bin/install -c -m 644 libt1.la /usr/etc/php_ext/t1lib/lib
/usr/bin/install -c -m 644 .libs/libt1.so.5.1.2 /usr/etc/php_ext/t1lib/lib/libt1.so.5.1.2
(cd /usr/etc/php_ext/t1lib/lib && rm -f libt1.so.5 && ln -s libt1.so.5.1.2 libt1.so.5)
(cd /usr/etc/php_ext/t1lib/lib && rm -f libt1.so && ln -s libt1.so.5.1.2 libt1.so)
/usr/bin/install -c -m 644 .libs/libt1.lai /usr/etc/php_ext/t1lib/lib/libt1.la
/usr/bin/install -c -m 644 .libs/libt1.a /usr/etc/php_ext/t1lib/lib/libt1.a
ranlib /usr/etc/php_ext/t1lib/lib/libt1.a
chmod 644 /usr/etc/php_ext/t1lib/lib/libt1.a
PATH="$PATH:/sbin" ldconfig -n /usr/etc/php_ext/t1lib/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/etc/php_ext/t1lib/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.
----------------------------------------------------------------------
../libtool --mode=install \
/usr/bin/install -c -m 644 t1lib.h /usr/etc/php_ext/t1lib/include
/usr/bin/install -c -m 644 t1lib.h /usr/etc/php_ext/t1lib/include/t1lib.h
if (test -f /usr/etc/php_ext/t1lib/share/t1lib/t1lib.config) \
then \
echo "Alert: Global configuration file exists, installation skipped!"; \
else \
../libtool --mode=install /usr/bin/install -c -m 644 t1lib.config /usr/etc/php_ext/t1lib/share/t1lib; \
fi;
/usr/bin/install -c -m 644 t1lib.config /usr/etc/php_ext/t1lib/share/t1lib/t1lib.config
make[1]: 离开目录“/usr/local/bin/t1lib-5.1.2/lib”
make[1]: 进入目录“/usr/local/bin/t1lib-5.1.2/type1afm”
../ac-tools/mkinstalldirs /usr/etc/php_ext/t1lib/bin
mkdir /usr/etc/php_ext/t1lib/bin
../libtool --mode=install \
/usr/bin/install -c type1afm /usr/etc/php_ext/t1lib/bin/type1afm
/usr/bin/install -c .libs/type1afm /usr/etc/php_ext/t1lib/bin/type1afm
make[1]: 离开目录“/usr/local/bin/t1lib-5.1.2/type1afm”
make[1]: 进入目录“/usr/local/bin/t1lib-5.1.2/examples”
make[1]: 对“install”无需做任何事。
make[1]: 离开目录“/usr/local/bin/t1lib-5.1.2/examples”
make[1]: 进入目录“/usr/local/bin/t1lib-5.1.2/doc”
if (test -f t1lib_doc.ps) \
then \
../ac-tools/mkinstalldirs /usr/etc/php_ext/t1lib/share/t1lib/doc; \
/usr/bin/install -c -m 644 t1lib_doc.ps /usr/etc/php_ext/t1lib/share/t1lib/doc; \
fi;
if (test -f t1lib_doc.pdf) \
then \
../ac-tools/mkinstalldirs /usr/etc/php_ext/t1lib/share/t1lib/doc; \
/usr/bin/install -c -m 644 t1lib_doc.pdf /usr/etc/php_ext/t1lib/share/t1lib/doc; \
fi;
mkdir /usr/etc/php_ext/t1lib/share/t1lib/doc
make[1]: 离开目录“/usr/local/bin/t1lib-5.1.2/doc”
上面的几个前置库 装完了 就开始装GD库吧
phpize 安装 去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目录 /usr/local/bin/php-5.6.7/ext/gd 调用安装目录里的phpize (/usr/etc/php/bin/phpize)
[root@localhost gd]# /usr/etc/php/bin/phpize
Configuring for:
PHP Api Version: 20131106
Zend Module Api No: 20131226
Zend Extension Api No: 220131226
编译选项
./configure \
--with-php-config=/usr/etc/php/bin/php-config \
--with-gd=/usr/etc/php_ext/libgd \
--with-jpeg-dir=/usr/etc/php_ext/jpeg \
--with-png-dir=/usr/etc/php_ext/png \
--with-zlib-dir=/usr/etc/php_ext/zlib \
--with-freetype-dir=/usr/etc/php_ext/freetype \
-with-t1lib=/usr/etc/php_ext/t1lib \
--enable-gd-native-ttf \
--enable-gd-jis-conv
[root@localhost gd]# ./configure \
> --with-php-config=/usr/etc/php/bin/php-config \
> --with-gd=/usr/etc/php_ext/libgd \
> --with-jpeg-dir=/usr/etc/php_ext/jpeg \
> --with-png-dir=/usr/etc/php_ext/png \
> --with-zlib-dir=/usr/etc/php_ext/zlib \
> --with-freetype-dir=/usr/etc/php_ext/freetype \
> -with-t1lib=/usr/etc/php_ext/t1lib \
> --enable-gd-native-ttf \
> --enable-gd-jis-conv
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking 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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/etc/php
checking for PHP includes... -I/usr/etc/php/include/php -I/usr/etc/php/include/php/main -I/usr/etc/php/include/php/TSRM -I/usr/etc/php/include/php/Zend -I/usr/etc/php/include/php/ext -I/usr/etc/php/include/php/ext/date/lib
checking for PHP extension directory... /usr/etc/php/lib/php/extensions/no-debug-non-zts-20131226
checking for PHP installed headers prefix... /usr/etc/php/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.14.2 (ok)
checking for gawk... gawk
checking for GD support... yes, shared
checking for the location of libvpx... no
checking for the location of libjpeg... /usr/etc/php_ext/jpeg
checking for the location of libpng... /usr/etc/php_ext/png
checking for the location of libz... /usr/etc/php_ext/zlib
checking for the location of libXpm... no
checking for FreeType 2... /usr/etc/php_ext/freetype
checking for T1lib support... /usr/etc/php_ext/t1lib
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... yes
If configure fails try --with-vpx-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
checking for T1_StrError in -lt1... yes
If configure fails try --with-vpx-dir=<DIR>
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_write_image in -lpng... (cached) yes
If configure fails try --with-xpm-dir=<DIR>
checking for T1_StrError in -lt1... (cached) yes
checking for gdSetErrorMethod in -lgd... yes
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromWebp in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... yes
checking for gdImageStringFT in -lgd... yes
checking for gdVersionString in -lgd... yes
checking for gdImageCreate in -lgd... yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc 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... no creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
make make install