Hello,anyone:
Thanks for before:)
My system:
FreeBSD 4.2 release
Apache 1.3.14
php 4.03pl1
mysql 3.22.32
qmail 1.03
vpopmail 4.9.4
Now I met a new problem when I install sqwebmail-1.0.3.20001206.
There is something wrong.
Who can help me?
My step :
1../configure --enable-authvchkpw --without-authpam --without-authuserdb
--without-authpwd --without-authshadow --enable-webpass=no
--enable-imagedir=/usr/local/share/doc/apache/images
--enable-cgibindir=/usr/local/www/cgi-bin.default
2. edit authlib/Makefile
Replace
CRYPTLIBS = -lcrypt
With
CRYPTLIBS = -lcrypt -L/usr/local/lib/mysql -lmysqlclient
3.edit sqwebmail/Makefile
replace
LIBS = -lcrypt
with
LIBS = -lcrypt -L/usr/local/lib/mysql -lmysqlclient
4.make
The system tell me a error:
...................................
gcc -I/mail/include -g -O2 -Wall -I.. -I./.. -L/mail/lib -o authcustom
modauthcustom.o libauthmod.a libauth.a ../md5/libmd5.a -lcrypt
-L/usr/local/lib/mysql -lmysqlclient
/usr/local/lib/mysql/libmysqlclient.so: warning: tempnam() possibly used unsafely;
consider using mkstemp()
gcc -I/mail/include -g -O2 -Wall -I.. -I./.. -L/mail/lib -o authvchkpw
modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a -lvpopmail -lm -lcrypt
-L/usr/local/lib/mysql -lmysqlclient
/usr/local/lib/mysql/libmysqlclient.so: warning: tempnam() possibly used unsafely;
consider using mkstemp()
libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
/usr/home/src/sqwebmail-1.0.3.20001206/authlib/preauthvchkpw.c(.text+0x111): undefined
reference to `open_smtp_relay'
*** Error code 1
Stop in /usr/home/src/sqwebmail-1.0.3.20001206/authlib.
*** Error code 1
Stop in /usr/home/src/sqwebmail-1.0.3.20001206.
.........................................................