Hi Ken,

Here is my configure line:

[root@kepler vpopmail-4.8.5]# ./configure 
--enable-tcprules-prog=/usr/local/bin/tcprules \
                                                            --enable-oracle=y \

--enable-tcpserver-file=/var/qmail/control/relayclients.tcp

and the error is:

[root@kepler vpopmail-4.8.5]# make
make  all-recursive
make[1]: Entering directory `/opt/vpopmail-4.8.5'
Making all in cdb
make[2]: Entering directory `/opt/vpopmail-4.8.5/cdb'
make[2]: *** Warning: File `makelib' has modification time in the future (2000-07-07 
11:38:33 > 2000-07-07
00:12:53)
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
( ( ./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]: *** Warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/opt/vpopmail-4.8.5/cdb'
make[2]: Entering directory `/opt/vpopmail-4.8.5'
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c safestring.c
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c vpopmail.c
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c md5.c
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c bigdir.c
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c vauth.c
vauth.c:187: sqlda.h: No such file or directory
vauth.c:188: sqlcpr.h: No such file or directory
vauth.c:189: sqlca.h: No such file or directory
vauth.c:286: warning: `/*' within comment
vauth.c:290: warning: `/*' within comment
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/opt/vpopmail-4.8.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/vpopmail-4.8.5'
make: *** [all-recursive-am] Error 2

but my ORACLE_HOME is not the /usr/local/oracle/ , I'm correct the files rewriting the 
oracle ORACLE_HOME, and
the error is:

[root@kepler vpopmail-4.8.5]# make
cd . && aclocal
cd . && automake --foreign Makefile
cd . && autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --enable-tcprules-prog=/usr/local/bin/tcprules 
--enable-oracle=y
--enable-tcpserver-file=/var/qmail/control/relayclients.tcp --no-create --no-recursion
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
checking for crypt in -lcrypt... (cached) yes
checking for gethostbyaddr in -lnsl... (cached) yes
checking for getsockname in -lsocket... (cached) no
checking for shadow.h... (cached) yes
checking for shadow.h... (cached) yes
checking for setspent in -lshadow... (cached) no
yes
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 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
creating ./config.status
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
cd . && autoheader
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
creating config.h
config.h is unchanged
make  all-recursive
make[1]: Entering directory `/opt/vpopmail-4.8.5'
Making all in cdb
make[2]: Entering directory `/opt/vpopmail-4.8.5/cdb'
make[2]: *** Warning: File `makelib' has modification time in the future (2000-07-07 
11:38:33 > 2000-07-07
00:24:56)
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
( ( ./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]: *** Warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/opt/vpopmail-4.8.5/cdb'
make[2]: Entering directory `/opt/vpopmail-4.8.5'
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c safestring.c
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c vpopmail.c
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c md5.c
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c bigdir.c
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c vauth.c
vauth.c:286: warning: `/*' within comment
vauth.c:290: warning: `/*' within comment
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:1658: conflicting types for `vclose'
vauth.h:32: previous declaration of `vclose'
vauth.c: In function `vclose':
vauth.c:1679: warning: control reaches end of non-void 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 `/opt/vpopmail-4.8.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/vpopmail-4.8.5'
make: *** [all-recursive-am] Error 2

Thanks for your HELP !!

[ ]''s
Alexandre Biancalana



Ken Jones wrote:

> Alexandre Biancalana wrote:
> >
> > Hi All,
> >
> >     I have Qmail installed in Red Hat 6.2 and it works fine, but we need to 
>authenticate users with Oracle.
> >
> >     I have downloaded vpopmail package v4.8.4 but it does not seem to compile, 
>because I think this
> >
> > package has Oracle support. Does anybody know how to compile vpopmail and then 
>authenticate users with it?
> >
> >     Where can I find some documentation or some patch in order to fix this problem?
> >
> >     Have anybody made Oracle 8.1.6 work with Qmail?
> >
> >     Thanks,
> >
> >     Alexandre Biancalana
>
> I wrote and tested the oracle module. It was built against Oracle 8
> something.
>
> I still need to add some options to the configure script to allow you to
> set the path to oracle.
>
> Send me what problem you are having on the compile, and I'll help you
> work
> through it. Then we can use the problems you have run into as the start
> for an Oracle README file.
>
> Ken Jones

Reply via email to