Hi, all...
I have a problem. please help me...
I'm now using SPARC Solaris8(SUN Ultra10) and ORACE8i(8.1.5).
and I installed the gcc-2.95., make, ... etc GNU programs in "/usr/local"

I want to use vpopmail-4.10.5 with Oracle8.1.5 auth module.
I installed a vpopmail following..

1. edit voracle.h file

/* Edit to match your set up */
#define ORACLE_SERVICE       "sun"
#define ORACLE_USER          "vpopmail"
#define ORACLE_PASSWD        "vpoppass"
#define ORACLE_HOME          "ORACLE_HOME=/u01/app/oracle/product/8.1.5"
/* End of setup section*/

/* defaults - no need to change */
#define ORACLE_DEFAULT_TABLE "vpopmail"
#define ORACLE_DATABASE      "sun"
#define ORACLE_DOT_CHAR '_'
#define ORACLE_LARGE_USERS_TABLE "users"

2. Edit configure file
# vi configure
  :%s/\/usr\/local\/oracle\/lib/\/u01\/app\/oracle\/product\/8.1.5\/lib
  :%s/\/usr\/local\/oracle\/include/\/u01\/app\/oracle\/product\/8.1.5/g
  :%s/\/usr\/xpgr4\/bin\/id/\/usr\/xpg4\/bin\/id/g

3. Compile source
# ./configure --enable-oracle=y --enable-large-site=y 
--enable-hardquota=10000000
# proc voracle.pc
# make
vauth.c:622: conflicting types for `vauth_getpw_size'
voracle.h:70: previous declaration of `vauth_getpw_size'
vauth.c:1287: conflicting types for `vauth_getall'
vauth.h:52: previous declaration of `vauth_getall'
vauth.c: In function `vauth_getall':
vauth.c:1288: warning: return from incompatible pointer type
vauth.c: At top level:
vauth.c:1292: conflicting types for `vauth_getall_size'
voracle.h:72: previous declaration of `vauth_getall_size'
vauth.c:1512: conflicting types for `vauth_setpw'
vauth.h:51: previous declaration of `vauth_setpw'
vauth.c: In function `vauth_setpw':
vauth.c:1513: warning: passing arg 1 of `vauth_setpw_size' from incompatible 
pointer type
vauth.c: At top level:
vauth.c:1517: conflicting types for `vauth_setpw_size'
voracle.h:73: previous declaration of `vauth_setpw_size'
vauth.c: In function `vauth_setpw_size':
vauth.c:1535: warning: int format, uid_t arg (arg 5)
vauth.c:1535: warning: int format, gid_t arg (arg 6)
vauth.c:1546: warning: int format, uid_t arg (arg 5)
vauth.c:1546: warning: 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 `/usr/local/src/vpopmail-4.10.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-4.10.5'
make: *** [all-recursive-am] Error 2

What's problem?..
Please help me.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to