RE: [Exim] compiling on mysql and rh9

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Simon Bell
Date:  
À: exim-users
Sujet: RE: [Exim] compiling on mysql and rh9
Once again, after doing a make clean which appears to have fixed the
previous error, another error, which I think is due to me pointing the
lookup libs in the wrong direction, but as far as I can tell the
location im pointing them at is correct, unless anyone else using a
default redhat 9 configuration can correct me:

(from Makefile)

LOOKUP_INCLUDE=-I /usr/include/mysql -I
LOOKUP_LIBS=-L/usr/lib/mysql -lmysqlclient

output from make:

[root@lightning exim-4.20]# make
>>> New Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile


make[1]: Entering directory `/root/exim-4.20/build-Linux-i386'
/bin/sh ../scripts/Configure-config.h
make[2]: Entering directory `/root/exim-4.20/build-Linux-i386'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/root/exim-4.20/build-Linux-i386'
Building configuration file config.h
>>> config.h built


make[2]: Entering directory `/root/exim-4.20/build-Linux-i386/pcre'
gcc -c -O maketables.c
gcc -c -O get.c
gcc -c -O pcre.c
gcc -c -O study.c
rm -f libpcre.a
ar cq libpcre.a maketables.o get.o pcre.o study.o
ranlib libpcre.a
gcc -c -DNOPOSIX -O -I. pcretest.c
gcc -O -o ../pcretest pcretest.o libpcre.a
make[2]: Leaving directory `/root/exim-4.20/build-Linux-i386/pcre'
sed -e "s?CONFIGURE_FILE_USE_NODE??" \
-e "s?CONFIGURE_FILE?/usr/exim/configure?" \
-e "s?BIN_DIRECTORY?/usr/exim/bin?" \
-e "s?EXICYCLOG_MAX??" \
-e "s?COMPRESS_COMMAND?/usr/bin/gzip?" \
-e "s?COMPRESS_SUFFIX?gz?" \
-e "s?CHOWN_COMMAND?look_for_it?" \
-e "s?CHGRP_COMMAND?look_for_it?" \
-e "s?MV_COMMAND?/bin/mv?" \
-e "s?RM_COMMAND?/bin/rm?" \
../src/exicyclog.src > exicyclog-t
>>> exicyclog script built


sed -e "s?CONFIGURE_FILE_USE_NODE??" \
-e "s?CONFIGURE_FILE?/usr/exim/configure?" \
-e "s?BIN_DIRECTORY?/usr/exim/bin?" \
../src/exinext.src > exinext-t
>>> exinext script built


sed -e "s?CONFIGURE_FILE_USE_NODE??" \
-e "s?CONFIGURE_FILE?/usr/exim/configure?" \
-e "s?BIN_DIRECTORY?/usr/exim/bin?" \
-e "s?EXIWHAT_PS_CMD?/bin/ps?" \
-e "s?EXIWHAT_PS_ARG?ax?" \
-e "s?EXIWHAT_KILL_SIGNAL?-USR1?" \
-e "s?EXIWHAT_EGREP_ARG?'/exim( |$)'?" \
-e "s?EXIWHAT_MULTIKILL_CMD?killall?" \
-e "s?EXIWHAT_MULTIKILL_ARG?exim?" \
../src/exiwhat.src > exiwhat-t
>>> exiwhat script built


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
  -e "s?ZCAT_COMMAND?/usr/bin/zcat?" \
          -e "s?COMPRESS_SUFFIX?gz?" \
  ../src/exigrep.src > exigrep-t

>>> exigrep script built


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/eximstats.src > eximstats-t
>>> eximstats script built


sed -e "s?BIN_DIRECTORY?/usr/exim/bin?" \
-e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/exiqgrep.src > exiqgrep-t
>>> exiqgrep script built


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/exiqsumm.src > exiqsumm-t
>>> exiqsumm script built


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/transport-filter.src > transport-filter.pl-t
>>> transport-filter.pl script built


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/convert4r3.src > convert4r3-t
>>> convert4r3 script built


sed -e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/convert4r4.src > convert4r4-t
>>> convert4r4 script built


sed -e "s?CONFIGURE_FILE_USE_NODE??" \
-e "s?CONFIGURE_FILE?/usr/exim/configure?" \
-e "s?BIN_DIRECTORY?/usr/exim/bin?" \
-e "s?PERL_COMMAND?/usr/bin/perl?" \
../src/exim_checkaccess.src > exim_checkaccess-t
>>> exim_checkaccess script built


gcc -c -O -o exim_dbmbuild.o exim_dbmbuild.c
gcc -o exim_dbmbuild exim_dbmbuild.o \
-lnsl -lcrypt -ldb

>>> exim_dbmbuild utility built


gcc -c -O  \
                              -DCOMPILE_UTILITY \
                              -DEXIM_DUMPDB \
                              -o exim_dumpdb.o exim_dbutil.c
gcc -c -O  \
                              -DCOMPILE_UTILITY \
                              -DOS_LOAD_AVERAGE \
                              -DFIND_RUNNING_INTERFACES \
                              -o util-os.o os.c
gcc -c -O  -DCOMPILE_UTILITY -o util-store.o store.c
gcc -O  -o exim_dumpdb  exim_dumpdb.o util-os.o util-store.o \
  -lnsl -lcrypt  -ldb


>>> exim_dumpdb utility built


gcc -c -O  \
                              -DCOMPILE_UTILITY \
                              -DEXIM_FIXDB \
                              -o exim_fixdb.o exim_dbutil.c
gcc -O  -o exim_fixdb  exim_fixdb.o util-os.o util-store.o \
  -lnsl -lcrypt  -ldb


>>> exim_fixdb utility built


gcc -c -O  \
                              -DCOMPILE_UTILITY \
                              -DEXIM_TIDYDB \
                              -o exim_tidydb.o exim_dbutil.c
gcc -O  -o exim_tidydb  exim_tidydb.o util-os.o util-store.o \
  -lnsl -lcrypt  -ldb


>>> exim_tidydb utility built


make[2]: Entering directory `/root/exim-4.20/build-Linux-i386/lookups'
gcc -c -O -I/usr/kerberos/include -I /usr/include/mysql -I cdb.c
gcc: no input files
make[2]: *** [cdb.o] Error 1
make[2]: Leaving directory `/root/exim-4.20/build-Linux-i386/lookups'

make[2]: Entering directory `/root/exim-4.20/build-Linux-i386/routers'
gcc -c -O -I/usr/kerberos/include accept.c
gcc -c -O -I/usr/kerberos/include dnslookup.c
gcc -c -O -I/usr/kerberos/include ipliteral.c
gcc -c -O -I/usr/kerberos/include iplookup.c
gcc -c -O -I/usr/kerberos/include manualroute.c
gcc -c -O -I/usr/kerberos/include queryprogram.c
gcc -c -O -I/usr/kerberos/include redirect.c
gcc -c -O -I/usr/kerberos/include rf_change_domain.c
gcc -c -O -I/usr/kerberos/include rf_expand_data.c
gcc -c -O -I/usr/kerberos/include rf_get_errors_address.c
gcc -c -O -I/usr/kerberos/include rf_get_munge_headers.c
gcc -c -O -I/usr/kerberos/include rf_get_transport.c
gcc -c -O -I/usr/kerberos/include rf_get_ugid.c
gcc -c -O -I/usr/kerberos/include rf_lookup_hostlist.c
gcc -c -O -I/usr/kerberos/include rf_queue_add.c
gcc -c -O -I/usr/kerberos/include rf_self_action.c
gcc -c -O -I/usr/kerberos/include rf_set_ugid.c
/bin/rm -f routers.a
ar cq routers.a accept.o dnslookup.o ipliteral.o iplookup.o
manualroute.o queryprogram.o redirect.o rf_change_domain.o
rf_expand_data.o rf_get_errors_address.o rf_get_munge_headers.o
rf_get_transport.o rf_get_ugid.o rf_lookup_hostlist.o rf_queue_add.o
rf_self_action.o rf_set_ugid.o
ranlib routers.a
/bin/rm -rf ../drtables.o
make[2]: Leaving directory `/root/exim-4.20/build-Linux-i386/routers'

make[2]: Entering directory
`/root/exim-4.20/build-Linux-i386/transports'
gcc -c -O -I/usr/kerberos/include appendfile.c
gcc -c -O -I/usr/kerberos/include autoreply.c
gcc -c -O -I/usr/kerberos/include lmtp.c
gcc -c -O -I/usr/kerberos/include pipe.c
gcc -c -O -I/usr/kerberos/include smtp.c
/bin/rm -f transports.a
ar cq transports.a appendfile.o autoreply.o lmtp.o pipe.o smtp.o
ranlib transports.a
/bin/rm -rf ../drtables.o
make[2]: Leaving directory `/root/exim-4.20/build-Linux-i386/transports'

make[2]: Entering directory `/root/exim-4.20/build-Linux-i386/auths'
gcc -c -O -I/usr/kerberos/include b64encode.c
gcc -c -O -I/usr/kerberos/include b64decode.c
gcc -c -O -I/usr/kerberos/include call_pam.c
gcc -c -O -I/usr/kerberos/include call_pwcheck.c
gcc -c -O -I/usr/kerberos/include call_radius.c
gcc -c -O -I/usr/kerberos/include xtextencode.c
gcc -c -O -I/usr/kerberos/include xtextdecode.c
gcc -c -O -I/usr/kerberos/include get_data.c
gcc -c -O -I/usr/kerberos/include get_no64_data.c
gcc -c -O -I/usr/kerberos/include md5.c
gcc -c -O -I/usr/kerberos/include cram_md5.c
gcc -c -O -I/usr/kerberos/include plaintext.c
gcc -c -O -I/usr/kerberos/include pwcheck.c
gcc -c -O -I/usr/kerberos/include sha1.c
gcc -c -O -I/usr/kerberos/include auth-spa.c
gcc -c -O -I/usr/kerberos/include spa.c
/bin/rm -f auths.a
ar cq auths.a b64encode.o b64decode.o call_pam.o call_pwcheck.o
call_radius.o xtextencode.o xtextdecode.o get_data.o get_no64_data.o
md5.o cram_md5.o plaintext.o pwcheck.o sha1.o auth-spa.o spa.o
ranlib auths.a
/bin/rm -rf ../drtables.o
make[2]: Leaving directory `/root/exim-4.20/build-Linux-i386/auths'

make[1]: *** No rule to make target `lookups/lookups.a', needed by
`exim'. Stop.
make[1]: Leaving directory `/root/exim-4.20/build-Linux-i386'
make: *** [go] Error 2


Simon


-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On
Behalf Of Bruno Saverio Delbono
Sent: 10 June 2003 01:44
To: Simon Bell
Cc: exim-users@???
Subject: Re: [Exim] compiling on mysql and rh9


--
Moin Simon!
Simon Bell schrieb am Dienstag, den 10. Juni 2003:

>Now, im not getting the cannot find file errors, im getting this:


http://www.exim.org/pipermail/exim-users/Week-of-Mon-20000904/020687.htm
l


--
Bruno Saverio Delbono <bdelbono at leviathan dot lucifer dot at> Systems
Engineer - Open-Systems Group Inc. http://www.open-systems.org/~bruno/
GPG Fingerprint: 1AAC 0F81 54F6 C7AF 2EC4 8993 0594 88B3 E127 35C5
--
[ Content of type application/pgp-signature deleted ]
--

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##