GD
2007年5月2日
kandk:~# apt-get install php4-gd Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: libgd2-xpm libt1-5 libxpm4 Suggested packages: libgd-tools The following packages will be REMOVED: libgd2-noxpm The following NEW packages will be installed: libgd2-xpm libt1-5 libxpm4 php4-gd 0 upgraded, 4 newly installed, 1 to remove and 0 not upgraded. Need to get 427kB of archives. After unpacking 684kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://linux.csua.berkeley.edu etch/main libxpm4 1:3.5.5-2 [35.5kB] Get:2 http://linux.csua.berkeley.edu etch/main libgd2-xpm 2.0.33-5.2 [204kB] Get:3 http://linux.csua.berkeley.edu etch/main libt1-5 5.1.0-2 [155kB] Get:4 http://linux.csua.berkeley.edu etch/main php4-gd 6:4.4.4-8+etch1 [32.3kB] Fetched 427kB in 2s (150kB/s) dpkg: libgd2-noxpm: dependency problems, but removing anyway as you request: analog depends on libgd2-noxpm (>= 2.0.33) | libgd2-xpm (>= 2.0.33); however: Package libgd2-noxpm is to be removed. Package libgd2-xpm is not installed. (Reading database ... 32205 files and directories currently installed.) Removing libgd2-noxpm ... Selecting previously deselected package libxpm4. (Reading database ... 32197 files and directories currently installed.) Unpacking libxpm4 (from .../libxpm4_1%3a3.5.5-2_powerpc.deb) ... Selecting previously deselected package libgd2-xpm. Unpacking libgd2-xpm (from .../libgd2-xpm_2.0.33-5.2_powerpc.deb) ... Selecting previously deselected package libt1-5. Unpacking libt1-5 (from .../libt1-5_5.1.0-2_powerpc.deb) ... Selecting previously deselected package php4-gd. Unpacking php4-gd (from .../php4-gd_6%3a4.4.4-8+etch1_powerpc.deb) ... Setting up libxpm4 (3.5.5-2) ... Setting up libgd2-xpm (2.0.33-5.2) ... Setting up libt1-5 (5.1.0-2) ... Setting up php4-gd (4.4.4-8+etch1) ... kandk:~# vi /etc/php4/apache2/php.ini extension=gd.so kandk:~# /etc/init.d/apache2 restart