Hello,
I'm having a very difficult time compiling oracle support into vpopmail
5.2.1 (and 4.9.X). I followed the directions in this post
http://www.mail-archive.com/vchkpw@inter7.com/msg08675.html changing the
incdir and libdir to point to my oracle 8.1.7 install (Programmer
Install). I can compile voracle.pc perfectly but only after i run the
configure script which is different from the post above. If i don't run
the configure script first i get an error like this.

Error at line 31, column 10 in file voracle.pc
#include "config.h"
..........1
PCC-S02015, unable to open include file

I believe this happens because i have not ran the configure script yet
to create that file. I think it has somthing to do with the configure
options i'm using, but i really have no idea at this point.

I've attached the full output of the make as well. Thanks for any help
you can offer.

The system is RH 7.2 with oracle 8.1.7.


-- 
*** Ryan Moser (_R_j_M_) ***
     [EMAIL PROTECTED]
[root@web3 vpopmail-5.2.1]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'
Making all in cdb
make[2]: Entering directory `/usr/local/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 `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
gcc3 -I. -I/u01/app/oracle/product/8.1.7/precomp/public      -g -O2 -Wall -c vpopmail.c
gcc3 -I. -I/u01/app/oracle/product/8.1.7/precomp/public      -g -O2 -Wall -c md5.c
gcc3 -I. -I/u01/app/oracle/product/8.1.7/precomp/public      -g -O2 -Wall -c bigdir.c
gcc3 -I. -I/u01/app/oracle/product/8.1.7/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_getpw':
vauth.c:689: warning: return from incompatible pointer type
vauth.c: At top level:
vauth.c:693: conflicting types for `vauth_getpw_size'
voracle.h:70: previous declaration of `vauth_getpw_size'
vauth.c: In function `vauth_getall':
vauth.c:1281: warning: return from incompatible pointer type
vauth.c: At top level:
vauth.c:1285: conflicting types for `vauth_getall_size'
voracle.h:72: previous declaration of `vauth_getall_size'
vauth.c: In function `vauth_setpw':
vauth.c:1544: warning: passing arg 1 of `vauth_setpw_size' from incompatible pointer 
type
vauth.c: At top level:
vauth.c:1548: conflicting types for `vauth_setpw_size'
voracle.h:73: previous declaration of `vauth_setpw_size'
vauth.c: In function `vread_dir_control':
vauth.c:1976: `DIR_CONTROL_SELECT' undeclared (first use in this function)
vauth.c:1976: (Each undeclared identifier is reported only once
vauth.c:1976: for each function it appears in.)
vauth.c: In function `vcreate_dir_control':
vauth.c:2390: `DIR_CONTROL_TABLE_LAYOUT' undeclared (first use in this function)
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-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to