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

文章带标签 Linux

安装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

grub菜单丢失,手动启动

今天在vmware上装了个RHEL5.0,一开始没有选择安装grub,我以为在没有双系统的情况下,系统会自动启动,结果是虚拟机启动后,屏幕一片黑,只有左上角有个光标,等了好长一段时间不见启动,就怀疑是grub的问题了,把安装盘挂上,光驱启动,选择linux rescue,然后chroot /mnt/sysimage,再grub-install /dev/sda
机器重启后,出现了grub的命令提示符:grub>,立即晕菜。网上查了一些命令,整理如下

阅读全文»

2025年七月
« 5月    
 123456
78910111213
14151617181920
21222324252627
28293031