Here is my Environment redhat 7.1 qmail 1.03 vpopmail 5.0 (FB) oracle 8.1.6
I DID: - qmail install - untar vpopmail - edit voracle.h /* Edit to match your set up */ #define ORACLE_SERVICE "oracle" #define ORACLE_USER "system" #define ORACLE_PASSWD "manager" #define ORACLE_HOME "ORACLE_HOME=/oracle/app/oracle/products/8.1.6" - and then [root@synn vpopmail-5.0]# ./configure --enable-oracle=y --enable-default- domain=aaa.com --enable- incdir=/oracle/app/oracle/products/8.1.6/precomp/publi c --enable-libdir=/oracle/app/oracle/products/8.1.6/precomp/public -- enable-many-domains=n loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) 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... (cached) 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... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for POSIXized ISC... no checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no yes checking for crypt in -lcrypt... (cached) yes checking for gethostbyaddr in -lnsl... (cached) yes checking for getsockname in -lsocket... (cached) no checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for sys/varargs.h... (cached) no checking for working const... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for getcwd... (cached) yes checking for mkdir... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for fdatasync... (cached) yes checking for sigaction... (cached) yes creating ./config.status creating Makefile creating config.h config.h is unchanged vpopmail 5.0 Current settings --------------------------------------- vpopmail directory = /home/vpopmail uid = 509 gid = 5003 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 = OFF --enable-hardquota=n default table optimization = one domain with many users --enable-many-domains=n auth module = oracle --enable-oracle=y system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = ON --enable-file-sync=y default auth logging = OFF --enable-auth-logging=n default mysql logging = OFF --enable-mysql-logging=n default mysql clear passwd = OFF --enable-clear-passwd=n default valias processing = OFF --enable-valias=n pop syslog = show only failure attempts --enable-logging=e default default domain = aaa.com --enable-default-domain=aaa.com auth inc = -I/oracle/app/oracle/products/8.1.6/precomp/public auth lib = -L/oracle/app/oracle/products/8.1.6/precomp/public - lclntsh -lclient8 - and then [root@synn vpopmail-5.0]# proc voracle.pc Pro*C/C++: Release 8.1.6.0.0 - Production on Thu Oct 11 11:41:41 2001 (c) Copyright 1999 Oracle Corporation. All rights reserved. System default option values taken from: /oracle/app/oracle/products/8.1.6/preco mp/admin/pcscfg.cfg [root@synn vpopmail-5.0]# - and then make........... [root@synn vpopmail-5.0]#make make all-recursive make[1]: Entering directory `/root/packages/qmail/vpopmail-5.0' Making all in cdb make[2]: Entering directory `/root/packages/qmail/vpopmail-5.0/cdb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/packages/qmail/vpopmail-5.0/cdb' make[2]: Entering directory `/root/packages/qmail/vpopmail-5.0' gcc -I. -I/oracle/app/oracle/products/8.1.6/precomp/public -g -O2 - Wall -c vauth.c vauth.c:110: warning: type defaults to `int' in declaration of `sqlcxt' vauth.c:112: warning: type defaults to `int' in declaration of `sqlcx2t' vauth.c:113: warning: type defaults to `int' in declaration of `sqlbuft' vauth.c:114: warning: type defaults to `int' in declaration of `sqlgs2t' vauth.c:115: warning: type defaults to `int' in declaration of `sqlorat' vauth.c: In function `vauth_adddomain': vauth.c:419: `SITE_SIZE' undeclared (first use in this function) vauth.c:419: (Each undeclared identifier is reported only once vauth.c:419: for each function it appears in.) vauth.c: In function `vauth_adduser': vauth.c:543: `SITE_SIZE' undeclared (first use in this function) vauth.c: In function `vauth_getpw': vauth.c:708: `SITE_SIZE' undeclared (first use in this function) vauth.c: In function `vauth_getpw_size': vauth.c:751: incompatible types in initialization vauth.c:751: incompatible types in initialization vauth.c:751: incompatible types in initialization vauth.c:751: incompatible type for argument 1 of `memset' vauth.c: In function `vauth_deldomain': vauth.c:966: `SITE_SIZE' undeclared (first use in this function) vauth.c: In function `vauth_deluser': vauth.c:1077: `SITE_SIZE' undeclared (first use in this function) vauth.c: In function `vauth_setquota': vauth.c:1191: `SITE_SIZE' undeclared (first use in this function) vauth.c: In function `vauth_getall': vauth.c:1297: `SITE_SIZE' undeclared (first use in this function) vauth.c: In function `vauth_setpw': vauth.c:1557: `SITE_SIZE' undeclared (first use in this function) vauth.c: In function `vauth_setpw_size': vauth.c:1589: warning: long unsigned int format, uid_t arg (arg 5) vauth.c:1589: warning: long unsigned int format, gid_t arg (arg 6) vauth.c:1602: warning: long unsigned int format, uid_t arg (arg 5) vauth.c:1602: warning: long unsigned int format, gid_t arg (arg 6) vauth.c: At top level: vauth.c:106: warning: `sqlstm' defined but not used vauth.c:118: warning: `IAPSUCC' defined but not used vauth.c:119: warning: `IAPFAIL' defined but not used vauth.c:120: warning: `IAPFTL' defined but not used make[2]: *** [vauth.o] Error 1 make[2]: Leaving directory `/root/packages/qmail/vpopmail-5.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/packages/qmail/vpopmail-5.0' make: *** [all-recursive-am] Error 2 [root@synn vpopmail-5.0]# what's wrong with my procedure ? and my gcc verion is... [root@synn vpopmail-5.0]# gcc --version egcs-2.91.66 In README.oracle, it says follows... what is this mean? "You might also need to create the tables by hand relay table" plz somebody help me~~ =================================================================== ¿ì¸® ÀÎÅͳÝ, Daum http://www.daum.net ȲöÇÑ ¿ø¼¦ °Ë»ö! Daum°Ë»ö ÄíÄ¡·Î ãÀÚ! ¢Ñ°Ë»öÇϱâ http://search.daum.net