寻觅生命中的那一片浅草......

每日存档 三月 16th, 2008

安装gd2错误解决办法

[root@xxt401 gd-2.0.35]# make install

cd . && /bin/sh /tmp/jpeg-6b/gd-2.0.35/config/missing –run aclocal-1.9 -I config
aclocal:configure.ac:64: warning: macro `AM_ICONV’ not found in library
cd . && /bin/sh /tmp/jpeg-6b/gd-2.0.35/config/missing –run automake-1.9 –foreign
cd . && /bin/sh /tmp/jpeg-6b/gd-2.0.35/config/missing –run autoconf
configure.ac:64: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [configure] 错误 1

把报错信息“configure.ac:64: error: possibly undefined macro: AM_ICONV”拿到google里搜索,得到“But you need to have gettext”没有gettext这个包。

阅读全文»

cyrus-sasl2 安装出错

#tar zxvf cyrus-sasl-2.1.22.tar.gz

#cd cyrus-sasl-2.1.22

#./configure –prefix=/usr/local/sasl2            (注意使用续行符)

–disable-gssapi

–disable-anon

–disable-sample

–disable-digest

–enable-plain

–enable-login

–enable-sql

–with-mysql=/usr/local/mysql

–with-mysql-includes=/usr/local/mysql/include/mysql

阅读全文»

PHP+GD的安装

一、下载

gd-2.0.33.tar.gz http://www.boutell.com/gd/

jpegsrc.v6b.tar.gz http://www.ijg.org/

libpng-1.2.7.tar.tar http://sourceforge.net/projects/libpng/

zlib-1.2.2.tar.gz http://sourceforge.net/projects/zlib/

freetype-2.1.9.tar.gz http://sourceforge.net/projects/freetype/

php-4.3.9.tar.gz http://www.php.net
阅读全文»

RHEL AS 4.0下SSH乱码解决

默认为utf8,如出现乱码可设置为GBK

手动更改配置文件的命令:
shell> vi /etc/sysconfig/i18n
将LANG=”zh_CN.UTF-8″修改为:
LANG=”zh_CN.GBK”
保存并关闭,运行下面的命令使配置生效:
shell> source /etc/sysconfig/i18n
2008年三月
« 1月   4月 »
 12
3456789
10111213141516
17181920212223
24252627282930
31