QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1025|回复: 2

安装pam-mysql出错`~~~在线苦等大虾帮忙

[复制链接]
发表于 2005-12-4 16:51:44 | 显示全部楼层 |阅读模式
小弟是想用VSFTPD+MYSQL作虚拟用户
谁知道装PAM-MYSQL却装不了
网上很多文章都说PAM-MYSQL编译的时候会报错
但只要将pam_mysql.lo复制过去就行了
但是我现在编译都没通过啊

[root@localhost pam_mysql-0.7pre3]# make
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -g -O2 -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c pam_mysql.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -g -O2 -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c pam_mysql.c -fPIC -DPIC -o .libs/pam_mysql.o
pam_mysql.c:38:1: warning: "_GNU_SOURCE" redefined
<command line>:2:1: warning: this is the location of the previous definition
In file included from pam_mysql.c:124:
/usr/include/md5.h:27: error: syntax error before "UINT4"
/usr/include/md5.h:30: error: syntax error before '}' token
/usr/include/md5.h:38: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:39: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:41: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:43: error: syntax error before "PROTO_LIST"
make: *** [pam_mysql.lo] 错误 1


=====================================
pam_mysql.lo这个文件生成不了啊
哪位大哥教教小弟是什么原因呢?
OS:RH EL4
pam_mysql-0.7pre3

PS:
[root@localhost pam_mysql-0.7pre3]# rpm -qa|grep pam
pam_passwdqc-0.7.5-2
spamassassin-3.0.1-0.EL4
pam_ccreds-1-3
pam-0.77-65.1
pam_smb-1.1.7-5
pam_krb5-2.1.2-1
pam-devel-0.77-65.1
[root@localhost pam_mysql-0.7pre3]# rpm -qa|grep mysql
mysql-bench-4.1.7-4.RHEL4.1
mysql-4.1.7-4.RHEL4.1
mod_auth_mysql-2.6.1-2.1
mysqlclient10-3.23.58-4.RHEL4.1
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
mysql-server-4.1.7-4.RHEL4.1
php-mysql-4.3.9-3.1
mysql-devel-4.1.7-4.RHEL4.1
[root@localhost pam_mysql-0.7pre3]# rpm -qa|grep db4
db4-utils-4.2.52-7.1
gpg-pubkey-db42a60e-37ea5438
db4-4.2.52-7.1
db4-devel-4.2.52-7.1
发表于 2005-12-5 08:37:38 | 显示全部楼层
./configure 了么?
回复

使用道具 举报

发表于 2005-12-7 15:25:24 | 显示全部楼层
http://mirror.cheetaweb.com/redhat/4ES/i386/RPMS.cheeta/pam_mysql-0.5cvs-1kees1.i386.rpm
去那下载rpm包安装,我前几天做postfix+mysql时无意中发现的.可以用在rhel4上.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 00:38 , Processed in 0.052338 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表