Hi again everybody.
As requested by Ken, here are the runs, i tryied to comment everything i've
done since the begining.
gunzip vpopmail-4.10.30.tar.gz
tar -xvf vpopmail-4.10.30.tar
cd vpopmail-4.10.30
Configure options and run follows:
-------------------------------------------------------------
./configure \
--enable-oracle=y \
--enable-incdir=/home/oracle/precomp/public \
--enable-libdir=/home/oracle/precomp/public \
--enable-hardquota=3000000 \
--enable-logging=p \
--enable-relay-clear-minutes=180 \
--enable-roaming-users=y
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -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... missing
checking host system type... powerpc-ibm-aix4.3.3.0
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...yes
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 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
vpopmail directory = /home/vpopmail
uid = 215
gid = 205
ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
roaming users = ON --enable-roaming-users=y
tcpserver file = /home/vpopmail/etc/tcp.smtp
open_smtp file = /home/vpopmail/etc/open-smtp
user quota = 3000000 -enable-hardquota=3000000
table optimization = many domains --enable-many-domains=y default
auth module = oracle --enable-oracle=y
system passwords = OFF --enable-passwd=n
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 clear passwd = OFF --enable-clear-passwd=n default
valias processing = OFF --enable-valias=n
pop syslog = show failure attempts with clear text password
--enable-logging=p
default domain = --enable-default-domain=
auth inc = -I/home/oracle/precomp/public
auth lib = -L/home/oracle/precomp/public -lclntsh -lclient8
-----------------------------------------------------------------------
Please note the line:
makeinfo... missing
can this be really needed for vpopmail compiling?
After this, i edited voracle.h to look like this:
-----------------------------------------------------------------------
/* Edit to match your set up */
#define ORACLE_SERVICE "SORT"
#define ORACLE_USER "vpopmail"
#define ORACLE_PASSWD "*******"
#define ORACLE_HOME "ORACLE_HOME=/home/oracle"
/* End of setup section*/
-----------------------------------------------------------------------
COMMENTS:
This host (AIX 4.3.3 7) doesn't have oracle server installed,
only the client and precompilers in order to be able to pre-compile using
Oracle's
proC, here's proC's run; am i missing something here?
Then i use Oracle's proC to compile voracle.pc:
-----------------------------------------------------------------------
Pro*C/C++: Release 8.0.5.0.0 - Production on Wed Aug 8 13:37:58 2001
(c) Copyright 1998 Oracle Corporation. All rights reserved.
System default option values taken from:
/home/oracle/precomp/admin/pcscfg.cfg
-----------------------------------------------------------------------
and here's the make run after compiling voracle...
-----------------------------------------------------------------------
make
cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh
./config.status
creating config.h
config.h is unchanged
make all-recursive
Making all in cdb
( ( ./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
Target "all" is up to date.
Target "all" is up to date.
gcc -I. -I/home/oracle/precomp/public -g -O2 -Wall -c
vpopmail.c
gcc -I. -I/home/oracle/precomp/public -g -O2 -Wall -c md5.c
gcc -I. -I/home/oracle/precomp/public -g -O2 -Wall -c
bigdir.c
gcc -I. -I/home/oracle/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:428: `SITE_SIZE' undeclared (first use in this function)
vauth.c:428: (Each undeclared identifier is reported only once
vauth.c:428: for each function it appears in.)
vauth.c: In function `vauth_adduser':
vauth.c:539: `SITE_SIZE' undeclared (first use in this function)
vauth.c: In function `vauth_getpw':
vauth.c:694: `SITE_SIZE' undeclared (first use in this function)
vauth.c: In function `vauth_getpw_size':
vauth.c:734: incompatible type for argument 1 of `memset'
vauth.c: In function `vauth_deldomain':
vauth.c:948: `SITE_SIZE' undeclared (first use in this function)
vauth.c: In function `vauth_deluser':
vauth.c:1059: `SITE_SIZE' undeclared (first use in this function)
vauth.c: In function `vauth_setquota':
vauth.c:1173: `SITE_SIZE' undeclared (first use in this function)
vauth.c: In function `vauth_getall':
vauth.c:1279: `SITE_SIZE' undeclared (first use in this function)
vauth.c: In function `vauth_setpw':
vauth.c:1536: `SITE_SIZE' undeclared (first use in this function)
vauth.c: In function `vauth_setpw_size':
vauth.c:1566: warning: long unsigned int format, uid_t arg (arg 5)
vauth.c:1566: warning: long unsigned int format, gid_t arg (arg 6)
vauth.c:1577: warning: long unsigned int format, uid_t arg (arg 5)
vauth.c:1577: 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: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
------------------------------------------------------------------
As you can see i get lots of warnings (which i think might be normal) and a
final error which prevents compile from finishing, any comments?
Thanx again for your help Ken and everybody else.