[Linux] GD Library

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Mustafa Celik (m_c_e_l_i_k@yahoo.com)
Date: Tue 19 Oct 2004 - 13:44:25 EEST


gd-2.0.11.tar.gz

1) gd-2.0.11.tar.gz dosyasini /usr/lib klasorunun icine kopyaladim
2) Sonra tar -pxvzf gd-2.0.11.tar.gz ile dosyayi actim
3) Yeni bir gd-2.0.11 adli klasor olustu
4) Klasorun icine girdim
5) ./configure yazdim
6) make dedim
7) make install dedim
8) ama yine de gd library kurulmadi :(

Serveri kapatip açtım (reboot) ama hala aşağıdaki hatadan tonlarca veriyor.

Warning: imagecreatetruecolor(): requires GD 2.0 or later in
/var/.../.../...../resimler.php on line 280

Aşağıdaki kurulumu incelerseniz

** Configuration summary for gd 2.0.11:

   Support for PNG library: no
   Support for JPEG library: no
   Support for Freetype 2.x library: no
   Support for Xpm library: no

diyor. JPG support u nasıl yes yapabilirim.

Teşekkürler.

Mustafa Celik

------------------------

[root@merkezwww gd-2.0.11]# ./configure
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 for gcc... gcc
checking for C compiler default output... 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... (cached) ranlib
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 for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
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 deflate in -lz... yes
checking for libpng-config... no
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
checking for png_create_read_struct in -lpng... no
configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/
checking for freetype-config... no
checking for FT_Init_FreeType in -lfreetype... no
configure: WARNING: not found - disabling freetype support
checking freetype/freetype.h usability... no
checking freetype/freetype.h presence... no
checking for freetype/freetype.h... no
checking for jpeg_set_defaults in -ljpeg... no
checking for XpmReadFileToXpmImage in -lXpm... no

** Configuration summary for gd 2.0.11:

   Support for PNG library: no
   Support for JPEG library: no
   Support for Freetype 2.x library: no
   Support for Xpm library: no

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config/gdlib-config
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[root@merkezwww gd-2.0.11]# make
make all-recursive
make[1]: Entering directory `/usr/lib/gd-2.0.11'
Making all in config
make[2]: Entering directory `/usr/lib/gd-2.0.11/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/lib/gd-2.0.11/config'
Making all in test
make[2]: Entering directory `/usr/lib/gd-2.0.11/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/lib/gd-2.0.11/test'
make[2]: Entering directory `/usr/lib/gd-2.0.11'
make[2]: Leaving directory `/usr/lib/gd-2.0.11'
make[1]: Leaving directory `/usr/lib/gd-2.0.11'
[root@merkezwww gd-2.0.11]# make install
Making install in config
make[1]: Entering directory `/usr/lib/gd-2.0.11/config'
make[2]: Entering directory `/usr/lib/gd-2.0.11/config'
/bin/sh ../config/mkinstalldirs /usr/local/bin
 /usr/bin/install -c gdlib-config /usr/local/bin/gdlib-config
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/lib/gd-2.0.11/config'
make[1]: Leaving directory `/usr/lib/gd-2.0.11/config'
Making install in test
make[1]: Entering directory `/usr/lib/gd-2.0.11/test'
make[2]: Entering directory `/usr/lib/gd-2.0.11/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/lib/gd-2.0.11/test'
make[1]: Leaving directory `/usr/lib/gd-2.0.11/test'
make[1]: Entering directory `/usr/lib/gd-2.0.11'
make[2]: Entering directory `/usr/lib/gd-2.0.11'
/bin/sh ./config/mkinstalldirs /usr/local/lib
 /bin/sh ./libtool --mode=install /usr/bin/install -c libgd.la
/usr/local/lib/libgd.la
/usr/bin/install -c .libs/libgd.so.2.0.0 /usr/local/lib/libgd.so.2.0.0
(cd /usr/local/lib && rm -f libgd.so.2 && ln -s libgd.so.2.0.0 libgd.so.2)
(cd /usr/local/lib && rm -f libgd.so && ln -s libgd.so.2.0.0 libgd.so)
/usr/bin/install -c .libs/libgd.lai /usr/local/lib/libgd.la
/usr/bin/install -c .libs/libgd.a /usr/local/lib/libgd.a
ranlib /usr/local/lib/libgd.a
chmod 644 /usr/local/lib/libgd.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/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.
----------------------------------------------------------------------
/bin/sh ./config/mkinstalldirs /usr/local/bin
  /bin/sh ./libtool --mode=install /usr/bin/install -c annotate
/usr/local/bin/annotate
/usr/bin/install -c .libs/annotate /usr/local/bin/annotate
  /bin/sh ./libtool --mode=install /usr/bin/install -c gdparttopng
/usr/local/bin/gdparttopng
/usr/bin/install -c .libs/gdparttopng /usr/local/bin/gdparttopng
  /bin/sh ./libtool --mode=install /usr/bin/install -c gdtopng
/usr/local/bin/gdtopng
/usr/bin/install -c .libs/gdtopng /usr/local/bin/gdtopng
  /bin/sh ./libtool --mode=install /usr/bin/install -c gd2copypal
/usr/local/bin/gd2copypal
/usr/bin/install -c .libs/gd2copypal /usr/local/bin/gd2copypal
  /bin/sh ./libtool --mode=install /usr/bin/install -c gd2topng
/usr/local/bin/gd2topng
/usr/bin/install -c .libs/gd2topng /usr/local/bin/gd2topng
  /bin/sh ./libtool --mode=install /usr/bin/install -c pngtogd
/usr/local/bin/pngtogd
/usr/bin/install -c .libs/pngtogd /usr/local/bin/pngtogd
  /bin/sh ./libtool --mode=install /usr/bin/install -c pngtogd2
/usr/local/bin/pngtogd2
/usr/bin/install -c .libs/pngtogd2 /usr/local/bin/pngtogd2
  /bin/sh ./libtool --mode=install /usr/bin/install -c webpng
/usr/local/bin/webpng
/usr/bin/install -c .libs/webpng /usr/local/bin/webpng
/bin/sh ./config/mkinstalldirs /usr/local/bin
 /usr/bin/install -c bdftogd /usr/local/bin/bdftogd
/bin/sh ./config/mkinstalldirs /usr/local/include
 /usr/bin/install -c -m 644 gd.h /usr/local/include/gd.h
 /usr/bin/install -c -m 644 gd_io.h /usr/local/include/gd_io.h
 /usr/bin/install -c -m 644 gdcache.h /usr/local/include/gdcache.h
 /usr/bin/install -c -m 644 gdfontg.h /usr/local/include/gdfontg.h
 /usr/bin/install -c -m 644 gdfontl.h /usr/local/include/gdfontl.h
 /usr/bin/install -c -m 644 gdfontmb.h /usr/local/include/gdfontmb.h
 /usr/bin/install -c -m 644 gdfonts.h /usr/local/include/gdfonts.h
 /usr/bin/install -c -m 644 gdfontt.h /usr/local/include/gdfontt.h
make[2]: Leaving directory `/usr/lib/gd-2.0.11'
make[1]: Leaving directory `/usr/lib/gd-2.0.11'
[root@merkezwww gd-2.0.11]#

                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

_______________________________________________
Linux mailing list
Linux@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.