免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1158 | 回复: 5
打印 上一主题 下一主题

安装vpopmail时,make有错误.求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-07-03 09:42 |只看该作者 |倒序浏览
过程如下,高手们帮忙.

[root@redhat src]# cd vpopmail-5.2.1/
[root@redhat vpopmail-5.2.1]# ll
总用量 1044
-rw-r--r--    1 han  han      959 2002-01-23  acconfig.h
-rw-r--r--    1 han  han     4396 2002-05-18  aclocal.m4
drwxrwxr-x    2 han  han      4096 2002-01-20  attic
-rw-r--r--    1 han  han     6266 2002-01-29  AUTHORS
-rw-r--r--    1 han  han      4012 2002-01-20  bigdir.c
drwxr-xr-x    2 han  han      4096 2002-05-18  cdb
-rw-r--r--    1 han  han     86100 2002-05-18  ChangeLog
-rw-r--r--    1 han  han      2141 2002-01-20  clearopensmtp.c
-rwxr-xr-x    1 han  han    17995 2002-01-20  config.guess
-rw-r--r--    1 root     root         3026 2002-05-18  config.h.in
-rwxr-xr-x    1 han han    22876 2002-01-20  config.sub
-rwxr-xr-x    1 han han   105788 2002-05-18  configure
-rw-r--r--    1 han  han    27108 2002-05-18  configure.in
drwxr-xr-x    2 han han     4096 2002-01-20  contrib
drwxr-xr-x    2 han han     4096 2002-01-20  convert
-rw-r--r--    1 han han     17989 2002-01-20  COPYING
drwxr-xr-x    4 han  han      4096 2002-01-20  doc
-rw-r--r--    1 han  han     26457 2002-01-20  FAQ
-rw-r--r--    1 han  han      2985 2002-01-20  file_lock.c
-rw-r--r--    1 han  han     2046 2002-01-20  file_lock.h
-rw-r--r--    1 han  han     7882 2002-02-02  INSTALL
-rwxr-xr-x    1 han  han     5584 2002-01-20  install-sh
drwxr-xr-x    2 han han      4096 2002-01-24  ldap
-rw-r--r--    1 root     root        17480 2002-05-18  maildirquota.c
-rw-r--r--    1 han  han     6249 2002-01-20  maildirquota.h
-rw-r--r--    1 han  han      4466 2002-01-23  Makefile.am
-rw-r--r--    1 han  han     24457 2002-05-18  Makefile.in
-rw-r--r--    1 han  han      8173 2002-01-20  md5.c
-rw-r--r--    1 han  han       602 2002-01-20  md5.h
-rwxr-xr-x    1 han  han      6274 2002-01-20  missing
-rwxr-xr-x    1 han  han       732 2002-01-20  mkinstalldirs
-rw-r--r--    1 han  han        42 2002-01-20  NEWS
drwxr-xr-x    2 han  han      4096 2002-01-20  oracle
-rw-r--r--    1 han  han       528 2002-01-20  quotawarn.msg
-rw-r--r--    1 han  han       378 2002-01-20  README
-rw-r--r--    1 han  han     12463 2002-01-24  README.ldap
-rw-r--r--    1 han  han      2632 2002-01-20  README.mysql
-rw-r--r--    1 han  han      252 2002-01-20  README.oracle
-rw-r--r--    1 han  han      3299 2002-01-20  README.quotas
-rw-r--r--    1 han  han        72 2002-01-20  README.sybase
-rw-r--r--    1 han  han       332 2002-01-20  README.vqmaillocal
-rw-r--r--    1 han  han      2260 2002-01-20  RELEASE.NOTES
-rw-r--r--    1 han  han        10 2002-05-18  stamp-h.in
-rw-r--r--    1 han  han        68 2002-01-27  TODO
-rw-r--r--    1 han  han      2762 2002-02-02  UPGRADE
-rw-r--r--    1 han  han       992 2002-02-02  UPGRADE.tren
-rw-r--r--    1 han  han      2440 2002-01-29  vaddaliasdomain.c
-rw-r--r--    1 han  han      5524 2002-01-20  vadddomain.c
-rw-r--r--    1 han  han      4637 2002-01-20  vadduser.c
-rw-r--r--    1 han  han      3440 2002-01-20  valias.c
-rw-r--r--    1 han  han      3829 2002-01-20  vauth.h
-rw-r--r--    1 han  han    28670 2002-01-23  vcdb.c
-rw-r--r--    1 han  han      1306 2002-01-20  vcdb.h
-rw-r--r--    1 han  han     15668 2002-02-04  vchkpw.c
-rw-r--r--    1 han  han      9077 2002-01-23  vconvert.c
-rw-r--r--    1 han  han      1929 2002-01-20  vdeldomain.c
-rw-r--r--    1 root     root        31715 2002-05-18  vdelivermail.c
-rw-r--r--    1 han han      1432 2002-01-20  vdelivermail.h
-rw-r--r--    1 han  han      3871 2002-01-20  vdeloldusers.c
-rw-r--r--    1 han  han      2264 2002-01-20  vdeluser.c
-rw-r--r--    1 han  han      5206 2002-01-20  vdominfo.c
-rw-r--r--    1 han  han      3087 2002-01-20  vipmap.c
-rw-r--r--    1 han  han      1860 2002-01-20  vkill.c
-rw-r--r--    1 han  han     25961 2002-01-25  vldap.c
-rw-r--r--    1 han  han       504 2002-01-23  vldap.h
-rw-r-----    1 han  han      1337 2002-01-20  vlog.h
-rw-r--r--    1 han  han      1697 2002-01-20  vmkpasswd.c
-rw-r--r--    1 han  han      7310 2002-02-02  vmoduser.c
-rw-r--r--    1 han  han     37563 2002-02-02  vmysql.c
-rw-r--r--    1 han han      7889  7月  2 16:31 vmysql.h
-rw-r--r--    1 han  han      6626 2002-01-20  voracle.h
-rw-r--r--    1 han  han     27997 2002-01-20  voracle.pc
-rw-r--r--    1 han  han      6521 2002-01-20  vpalias.c
-rw-r--r--    1 han han      2599 2002-01-20  vpasswd.c
-rw-r--r--    1 han  han     37503 2002-01-20  vpgsql.c
-rw-r--r--    1 han  han      2688 2002-01-20  vpgsql.h
-rw-r--r--    1 root     root         7716 2002-05-18  vpopbull.c
-rw-r--r--    1 root     root        59755 2002-05-18  vpopmail.c
-rw-r--r--    1 han  han        87 2002-05-18  vpopmail.config.sh
-rw-r--r--    1 han  han      5808 2002-02-05  vpopmail.h
-rw-r--r--    1 han  han     24764 2002-01-27  vqmaillocal.c
-rw-r--r--    1 han  han      3085 2002-01-20  vsetuserquota.c
-rw-r--r--    1 han  han     13929 2002-01-20  vsybase.c
-rw-r--r--    1 han han     3721 2002-01-20  vsybase.h
-rw-r--r--    1 han  han      9466 2002-02-02  vuserinfo.c
[root@redhat vpopmail-5.2.1]# ./configure --prefix=/home/vpopmail --enable-mysql=y --enable-incdir=/usr/include/mysql --enable-libdir=/usr/lib/mysql --enable-default-domain=try.com --enable-passwd=n --enable-defaultquota=5242880 --enable-tcprules-prog=/usr/local/bin/tcprules --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw --enable-ip-alias-domains=n
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-unknown-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking how to run the C preprocessor... gcc -E
checking for AIX... no
yes
checking for floor in -lm... yes
checking for compress in -lz... yes
checking for crypt in -lcrypt... yes
checking for gethostbyaddr in -lnsl... yes
checking for getsockname in -lsocket... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for sys/varargs.h... no
checking for working const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for getcwd... yes
checking for mkdir... yes
checking for strdup... yes
checking for strstr... yes
checking for fdatasync... yes
checking for sigaction... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
           vpopmail 5.2.1
            Current settings

---------------------------------------

vpopmail directory = /home/vpopmail
               uid = 508
               gid = 503
          ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
     roaming users = OFF --enable-roaming-users=n default
        user quota = 5242880 -enable-hardquota=5242880
       auth module = mysql --enable-mysql=y
mysql replication = OFF --enable-mysql-replication=n default
table optimization = many domains --enable-many-domains=y default
  system passwords = OFF --enable-passwd=n default
      file locking = ON  --enable-file-locking=y default
         file sync = OFF --enable-file-sync=n default disable vdelivermail fsync      auth logging = ON  --enable-auth-logging=y default
     mysql logging = OFF --enable-mysql-logging=n default
      clear passwd = ON  --enable-clear-passwd=y (default)
valias processing = OFF --enable-valias=n
        pop syslog = show only failure attempts
                     --enable-logging=e default
    default domain = try.com --enable-default-domain=try.com
          auth inc = -I/usr/include/mysql
          auth lib = -L/usr/lib/mysql  -lmysqlclient -lz
[root@redhat vpopmail-5.2.1]# make
make  all-recursive
make[1]: Entering directory `/var/src/vpopmail-5.2.1'
Making all in cdb
make[2]: Entering directory `/var/src/vpopmail-5.2.1/cdb'
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh >; systype
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo 'rm -f "$main"'; \
echo 'ar cr "$main" ${1+"$@"}'; \
case "`cat systype`" in \
sunos-5.*) ;; \
unix_sv*) ;; \
irix64-*) ;; \
irix-*) ;; \
dgux-*) ;; \
hp-ux-*) ;; \
sco*) ;; \
*) echo 'ranlib "$main"' ;; \
esac \
) >; makelib
chmod 755 makelib
( ( ./compile tryulong32.c && ./load tryulong32 && \
./tryulong32 ) >;/dev/null 2>;&1 \
&& cat uint32.h2 || cat uint32.h1 ) >; uint32.h
rm -f tryulong32.o tryulong32
./compile cdb_hash.c
./compile cdb_unpack.c
./compile cdb_seek.c
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
./compile cdbmake_pack.c
./compile cdbmake_hash.c
./compile cdbmake_add.c
./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
cdbmake_add.o
make[2]: Leaving directory `/var/src/vpopmail-5.2.1/cdb'
make[2]: Entering directory `/var/src/vpopmail-5.2.1'
gcc -I. -I/usr/include/mysql      -g -O2 -Wall -c vpopmail.c
gcc -I. -I/usr/include/mysql      -g -O2 -Wall -c md5.c
gcc -I. -I/usr/include/mysql      -g -O2 -Wall -c bigdir.c
gcc -I. -I/usr/include/mysql      -g -O2 -Wall -c vauth.c

vauth.c:28:19: mysql.h: 没有那个文件或目录
In file included from vauth.c:32:
vmysql.h:53:22: warning: multi-line string literals are deprecated
vauth.c:35: parse error before "mysql_update"
vauth.c:35: warning: type defaults to `int' in declaration of `mysql_update'
vauth.c:35: warning: data definition has no type or storage class
vauth.c:36: parse error before "mysql_read_getall"
vauth.c:36: warning: type defaults to `int' in declaration of `mysql_read_getall'
vauth.c:36: warning: data definition has no type or storage class
vauth.c:54: parse error before '*' token
vauth.c:54: warning: type defaults to `int' in declaration of `res_update'
vauth.c:54: warning: data definition has no type or storage class
vauth.c:55: parse error before '*' token
vauth.c:55: warning: type defaults to `int' in declaration of `res_read_getall'
vauth.c:55: warning: data definition has no type or storage class
vauth.c:63: parse error before "row"
vauth.c:63: warning: type defaults to `int' in declaration of `row'
vauth.c:63: warning: data definition has no type or storage class
vauth.c:64: parse error before "row_getall"
vauth.c:64: warning: type defaults to `int' in declaration of `row_getall'
vauth.c:64: warning: data definition has no type or storage class
vauth.c: In function `vauth_open_update':
vauth.c:108: warning: implicit declaration of function `mysql_init'
vauth.c:111: warning: implicit declaration of function `mysql_real_connect'
vauth.c:116: warning: implicit declaration of function `mysql_error'
vauth.c:116: warning: format argument is not a pointer (arg 3)
vauth.c:127: warning: format argument is not a pointer (arg 3)
vauth.c:135: warning: implicit declaration of function `mysql_query'
vauth.c:140: warning: format argument is not a pointer (arg 2)
vauth.c:143: warning: implicit declaration of function `mysql_store_result'
vauth.c:143: warning: assignment makes pointer from integer without a cast
vauth.c:144: warning: implicit declaration of function `mysql_free_result'
vauth.c:147: warning: implicit declaration of function `mysql_select_db'
vauth.c: In function `vauth_adddomain':
vauth.c:239: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_adduser':
vauth.c:314: warning: format argument is not a pointer (arg 2)
vauth.c:317: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_getpw':
vauth.c:366: warning: format argument is not a pointer (arg 2)
vauth.c:370: warning: assignment makes pointer from integer without a cast
vauth.c:375: warning: implicit declaration of function `mysql_num_rows'
vauth.c:394: warning: implicit declaration of function `mysql_fetch_row'
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:395: subscripted value is neither array nor pointer
vauth.c:396: subscripted value is neither array nor pointer
vauth.c:396: subscripted value is neither array nor pointer
vauth.c:396: subscripted value is neither array nor pointer
vauth.c:396: subscripted value is neither array nor pointer
vauth.c:396: subscripted value is neither array nor pointer
vauth.c:396: subscripted value is neither array nor pointer
vauth.c:397: subscripted value is neither array nor pointer
vauth.c:397: subscripted value is neither array nor pointer
vauth.c:398: subscripted value is neither array nor pointer
vauth.c:398: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:399: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:400: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:401: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c:403: subscripted value is neither array nor pointer
vauth.c: In function `vauth_deldomain':
vauth.c:433: warning: assignment makes pointer from integer without a cast
vauth.c:446: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_deluser':
vauth.c:479: warning: assignment makes pointer from integer without a cast
vauth.c:489: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_setquota':
vauth.c:521: warning: format argument is not a pointer (arg 2)
vauth.c:524: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vauth_getall':
vauth.c:561: warning: format argument is not a pointer (arg 2)
vauth.c:565: warning: assignment makes pointer from integer without a cast
vauth.c:587: warning: comparison between pointer and integer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:588: subscripted value is neither array nor pointer
vauth.c:589: subscripted value is neither array nor pointer
vauth.c:589: subscripted value is neither array nor pointer
vauth.c:589: subscripted value is neither array nor pointer
vauth.c:589: subscripted value is neither array nor pointer
vauth.c:589: subscripted value is neither array nor pointer
vauth.c:589: subscripted value is neither array nor pointer
vauth.c:590: subscripted value is neither array nor pointer
vauth.c:590: subscripted value is neither array nor pointer
vauth.c:591: subscripted value is neither array nor pointer
vauth.c:591: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:592: subscripted value is neither array nor pointer
vauth.c:593: subscripted value is neither array nor pointer
vauth.c:593: subscripted value is neither array nor pointer
vauth.c:593: subscripted value is neither array nor pointer
vauth.c:593: subscripted value is neither array nor pointer
vauth.c:593: subscripted value is neither array nor pointer
vauth.c:593: subscripted value is neither array nor pointer
vauth.c:594: subscripted value is neither array nor pointer
vauth.c:595: subscripted value is neither array nor pointer
vauth.c:595: subscripted value is neither array nor pointer
vauth.c:595: subscripted value is neither array nor pointer
vauth.c:595: subscripted value is neither array nor pointer
vauth.c:595: subscripted value is neither array nor pointer
vauth.c:598: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c:599: subscripted value is neither array nor pointer
vauth.c: In function `vauth_setpw':
vauth.c:687: warning: format argument is not a pointer (arg 2)
vauth.c:691: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vclose':
vauth.c:799: warning: implicit declaration of function `mysql_close'
vauth.c: In function `vread_dir_control':
vauth.c:954: warning: assignment makes pointer from integer without a cast
vauth.c:959: warning: comparison between pointer and integer
vauth.c:961: subscripted value is neither array nor pointer
vauth.c:962: subscripted value is neither array nor pointer
vauth.c:963: subscripted value is neither array nor pointer
vauth.c:965: subscripted value is neither array nor pointer
vauth.c:966: subscripted value is neither array nor pointer
vauth.c:967: subscripted value is neither array nor pointer
vauth.c:969: subscripted value is neither array nor pointer
vauth.c:970: subscripted value is neither array nor pointer
vauth.c:971: subscripted value is neither array nor pointer
vauth.c:973: subscripted value is neither array nor pointer
vauth.c:974: subscripted value is neither array nor pointer
vauth.c:975: subscripted value is neither array nor pointer
vauth.c:977: subscripted value is neither array nor pointer
vauth.c:978: subscripted value is neither array nor pointer
vauth.c:979: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c:981: subscripted value is neither array nor pointer
vauth.c: In function `vwrite_dir_control':
vauth.c:1031: warning: format argument is not a pointer (arg 2)
vauth.c:1035: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vcreate_dir_control':
vauth.c:1049: warning: format argument is not a pointer (arg 2)
vauth.c:1052: warning: assignment makes pointer from integer without a cast
vauth.c:1072: warning: format argument is not a pointer (arg 2)
vauth.c:1075: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vdel_dir_control':
vauth.c:1091: warning: format argument is not a pointer (arg 2)
vauth.c:1095: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vset_lastauth':
vauth.c:1114: warning: format argument is not a pointer (arg 2)
vauth.c:1117: warning: assignment makes pointer from integer without a cast
vauth.c: In function `vget_lastauth':
vauth.c:1135: warning: format argument is not a pointer (arg 2)
vauth.c:1139: warning: assignment makes pointer from integer without a cast
vauth.c:1142: subscripted value is neither array nor pointer
vauth.c: In function `vget_lastauthip':
vauth.c:1160: warning: format argument is not a pointer (arg 2)
vauth.c:1164: warning: assignment makes pointer from integer without a cast
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c:1166: subscripted value is neither array nor pointer
vauth.c: In function `vcreate_lastauth_table':
vauth.c:1180: warning: format argument is not a pointer (arg 2)
vauth.c:1183: warning: assignment makes pointer from integer without a cast
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/var/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2
[root@redhat vpopmail-5.2.1]#

论坛徽章:
0
2 [报告]
发表于 2004-07-03 09:45 |只看该作者

安装vpopmail时,make有错误.求助

修改源文件中的一些地方了嘛?
vauth.c:28:19: mysql.h: 没有那个文件或目录
这句话很可疑,看看那个文件关于mysql的东西

论坛徽章:
0
3 [报告]
发表于 2004-07-03 09:57 |只看该作者

安装vpopmail时,make有错误.求助

vi vmysql.h

或者  find    mysql.h

看他在不在你指定的位置

论坛徽章:
0
4 [报告]
发表于 2004-07-03 10:46 |只看该作者

安装vpopmail时,make有错误.求助

按照下面的步骤,仔细检查一下:


四、安装vpopmail

1.建立目录

# mkdir /home/vpopmail
# mkdir /home/vpopmail/etc

2.添加用户和组

# groupadd vchkpw
# useradd -g vchkpw vpopmail

3.添加mysql的vpopmail用户,用于操作vpopmail数据库

# mysqladmin -u root password ****
# mysql -u root -p
mysql>;create database vpopmail;
mysql>;grant all on vpopmail.* to vpopmail@localhost identified by "ASSWD";

4.编译安装vpopmail

# tar zxvf vpopmail-5.2.1.tar.gz
# cd vpopmail-5.2.1
# vi vmysql.h  
=========================== vmysql.h ==============================
#define MYSQL_UPDATE_SERVER "localhost"  
#define MYSQL_UPDATE_USER "vpopmail"
#define MYSQL_UPDATE_PASSWD "****" (改成你设置的密码)  

#define MYSQL_READ_SERVER "localhost"  
#define MYSQL_READ_USER "vpopmail"  
#define MYSQL_READ_PASSWD "****" (改成你设置的密码)

在54行和58行后加 \  
#define TABLE_LAYOUT "pw_name char(32) not null, \  
pw_domain char(64) not null, <===== 54  
pw_passwd char(40), \  
pw_uid int, pw_gid int, \  
pw_gecos char(4, \  
pw_dir char(160), <===== 58  
pw_shell char(20), \  
primary key (pw_name, pw_domain ) "  
=========================== vmysql.h ==============================

论坛徽章:
0
5 [报告]
发表于 2004-07-03 16:01 |只看该作者

安装vpopmail时,make有错误.求助

网上这方面的资料很多,自己可以去看呀,挺简单的.

论坛徽章:
0
6 [报告]
发表于 2004-07-05 09:51 |只看该作者

安装vpopmail时,make有错误.求助

谢谢几位,我按照你们的提示试试.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP