zdyldy 发表于 2007-11-07 12:59

回复 #302 victorchang 的帖子

我已经安装过了啊.最开始我就安装了,是不是其它问题啊.

tubeman 发表于 2007-11-07 14:10

我照着手册作在安装mysql时,到这一步#cd/usr/local/src/mysql-5.0.45,提示我没有这个目录。这是怎么回事。后来手动建立了这个文件夹。在编译安装里头也没文件。后面的#cpsupport/mysql.server/etc/rc.d/init.d/mysqld就下不去了

marion 发表于 2007-11-07 19:44

回复 #304 tubeman 的帖子

/usr/local/src/mysql-5.0.45

这个目录指的是mysql-5.0.45.tar.gz解压后的目录。手动建立这个文件夹是没有任何意义的。

victorchang 发表于 2007-11-08 10:35

原帖由 zdyldy 于 2007-11-7 12:59 发表 http://bbs.chinaunix.net/images/common/back.gif
我已经安装过了啊.最开始我就安装了,是不是其它问题啊.
# echo "/usr/local/BerkeleyDB/lib" >> /etc/ld.so.conf
# ldconfig –v

上面这个设置了吗??如果没有设置,应该找不到所需so文件的...

marion 发表于 2007-11-08 18:04

回复 #292 zdyldy 的帖子

楼上说的应该是一解决办法。

如果还不行,去你的BerkeleyDB的安装目录下找到BerkeleyDB.pm,并使用类以下的命令对其进行链接:
ln-sv/path/to/your/BerkeleyDB.pm/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi

注意将其中的/path/to/your/BerkeleyDB.pm换成你的BerkeleyDB.pm文件 的路径。

micheal73 发表于 2007-11-08 20:13

marion 为什么我按照你的编译参数编译php会有错误呢?
六、安装php-5.2.3

# tar -zvxf php-5.2.3.tar.gz
# mkdir -p /usr/local/php
# cd php-5.2.3
# ./configure --prefix=/usr/local/php            
--with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with-xml(不要此参数)
--with-png-dir=/usr/local
--with-jpeg-dir=/usr/local
--with-zlib
--with-freetype-dir=/usr/local(不要此参数)
--with-gd
--enable-track-vars(不要此参数)
--enable-mbstring=all      
我必须把不要此参数的标记的那个编译参数去掉才可以,而且我./configure --help
找不到with-xml   enable--track-vars 这2个参数哦
帮我看一下吧

Yicho 发表于 2007-11-09 01:36

编译courier-authlib 的时候,发现问题

./configure \
> --prefix=/usr/local/courier-authlib \
> --sysconfdir=/etc \
> --without-authpam \
> --without-authldap \
> --without-authpwd \
> --without-authshadow \
> --without-authvchkpw \
> --without-authpgsql \
> --with-authmysql \
> --with-mysql-libs=/usr/local/mysql/lib/mysql \
> --with-mysql-includes=/usr/local/mysql/include/mysql \ #此处纠正楼主一个小小小小的笔误,是/include/mysql而不是/inculd/mysql
> --with-redhat \
> --with-authmysqlrc=/etc/authmysqlrc \
> --with-authdaemonrc=/etc/authdaemonrc \

。。。。

checking whether -lm is needed for floor... yes
checking for socket in -lsocket... no
checking for socket in -lsocket... (cached) no
checking for connect in -lsocket... no
checking for connect in -lsocket... (cached) no
checking for gdbm_open in -lgdbm... no
checking for gdbm_open... no
checking for dbopen in -ldb... no
checking for db_open in -ldb... no
checking for db_env_create in -ldb... no
checking for dbopen... no
checking for db_open... no
checking for db_env_create... no
configure: error: Cannot find either the gdbm or the db library.

而我之前已经安装了BerkeleyDB了啊,为什么找不到数据库呢?

[ 本帖最后由 Yicho 于 2007-11-9 02:35 编辑 ]

Yicho 发表于 2007-11-09 02:23

刚才装了个gdbm-devel竟然通过。按这样的话,安装db4-devel也应该通过。等下测试。

有个问题想问楼主,courier-authlib 与DB(或gdbm) 的关系是怎样的?BerkeleyDB保存了什么样的信息啊,还望赐教啊。

cnhawk386 发表于 2007-11-09 10:34

nit.sql文件中

INSERT INTO `mailbox` VALUES ('postmaster@extmail.org','postmaster','$1$phz1mRrj$3ok6BjeaoJYWDBsEPZb5C0','','PostMaster','','extmail.org/postmaster/Maildir/','extmail.org/postmaster','104857600S','52428800S','extmail.org',1000,1000,'2007-02-14 15:10:04','2010-11-08 15:10:04',1,0,0,0,0,0,0,0);

这里$1$phz1mRrj$3ok6BjeaoJYWDBsEPZb5C实际代表什么 插入数据库中应该怎么设定自己的密码呢??

MYSQLER 发表于 2007-11-09 11:10

本帖最后由 MYSQLER 于 2011-07-29 16:39 编辑

终于安装完了,但是等录是提示:Can't chdir to /var/mailbox/extmail.org/mysqler/Maildir/, No such file or directory[ 本帖最后由 MYSQLER 于 2007-11-9 11:20 编辑 ]
页: 21 22 23 24 25 26 27 28 29 30 [31] 32 33 34 35 36 37 38 39 40
查看完整版本: RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建)