[HOME] [戻る]

玄箱インストールmemo(GD)

目次

gd-2.0.33

前提条件

インストール手順

tar zxf tgz/gd-2.0.33.tar.gz
cd gd-2.0.33/
./configure --prefix=/usr --without-x
make
su
make install

** Configuration summary for gd 2.0.33:

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

 realusersys
make5m13.956s3m55.210s1m17.350s

確認

root@kuro:/usr/bin# ls -lt |head -15
-rwxr-xr-x  1 root root    2376 Feb  8 01:42 gdlib-config
-rwxr-xr-x  1 root root    4006 Feb  8 01:42 bdftogd
-rwxr-xr-x  1 root root   29535 Feb  8 01:42 giftogd2
-rwxr-xr-x  1 root root   33134 Feb  8 01:42 gdcmpgif
-rwxr-xr-x  1 root root   27518 Feb  8 01:42 gd2togif
-rwxr-xr-x  1 root root   41200 Feb  8 01:42 webpng
-rwxr-xr-x  1 root root   28055 Feb  8 01:42 pngtogd2
-rwxr-xr-x  1 root root   27516 Feb  8 01:42 pngtogd
-rwxr-xr-x  1 root root   28580 Feb  8 01:42 gd2topng
-rwxr-xr-x  1 root root   27979 Feb  8 01:42 gd2copypal
-rwxr-xr-x  1 root root   27516 Feb  8 01:42 gdtopng
-rwxr-xr-x  1 root root   28308 Feb  8 01:42 gdparttopng
-rwxr-xr-x  1 root root   27172 Feb  8 01:42 annotate

strip -p giftogd2 gdcmpgif gd2togif webpng pngtogd2 pngtogd
strip -p gd2topng gd2copypal gdtopng gdparttopng annotate

cd /usr/bin
ls -lt |head -15

-rwxr-xr-x  1 root root    2376 Feb  8 01:42 gdlib-config
-rwxr-xr-x  1 root root    4006 Feb  8 01:42 bdftogd
-rwxr-xr-x  1 root root    4232 Feb  8 01:42 giftogd2
-rwxr-xr-x  1 root root    4616 Feb  8 01:42 gdcmpgif
-rwxr-xr-x  1 root root    3992 Feb  8 01:42 gd2togif
-rwxr-xr-x  1 root root    7048 Feb  8 01:42 webpng
-rwxr-xr-x  1 root root    4232 Feb  8 01:42 pngtogd2
-rwxr-xr-x  1 root root    3992 Feb  8 01:42 pngtogd
-rwxr-xr-x  1 root root    4428 Feb  8 01:42 gd2topng
-rwxr-xr-x  1 root root    4260 Feb  8 01:42 gd2copypal
-rwxr-xr-x  1 root root    3992 Feb  8 01:42 gdtopng
-rwxr-xr-x  1 root root    4308 Feb  8 01:42 gdparttopng
-rwxr-xr-x  1 root root    3368 Feb  8 01:42 annotate

cd /usr/lib
ls -lt |head -15

-rw-r--r--   1 root root  1152020 Feb  8 01:42 libgd.a
-rwxr-xr-x   1 root root      705 Feb  8 01:42 libgd.la
lrwxrwxrwx   1 root root       14 Feb  8 01:42 libgd.so -> libgd.so.2.0.0
lrwxrwxrwx   1 root root       14 Feb  8 01:42 libgd.so.2 -> libgd.so.2.0.0
-rwxr-xr-x   1 root root   696601 Feb  8 01:42 libgd.so.2.0.0

cd /usr/lib
strip -p libgd.so.2.0.0
ls -lt |head -15
-rw-r--r--   1 root root  1152020 Feb  8 01:42 libgd.a
-rwxr-xr-x   1 root root      705 Feb  8 01:42 libgd.la
lrwxrwxrwx   1 root root       14 Feb  8 01:42 libgd.so -> libgd.so.2.0.0
lrwxrwxrwx   1 root root       14 Feb  8 01:42 libgd.so.2 -> libgd.so.2.0.0
-rwxr-xr-x   1 root root   460528 Feb  8 01:42 libgd.so.2.0.0

2005/02/10
ご意見・ご感想は,こちらの掲示板 まで.