Re: [Exim] Exim 3.22 doesn't compile (Linux 2.2.19 x86)

Top Page
Delete this message
Reply to this message
Author: S. Joel Bernstein
Date:  
To: Exim Users Mailing List
Subject: Re: [Exim] Exim 3.22 doesn't compile (Linux 2.2.19 x86)
John Burnham wrote:
> Yeah. It can't find mysql.h - check the value of LOOKUP_INCLUDE in your
> makefile.

Yep, did that... now it gets a little further but still fails in the same
places... mysql.h is in3 different places... which should LOOKUP_INCLUDE
point to?
cerberus:/usr/local/src/exim-3.22# locate mysql.h
/usr/include/mysql/mysql.h
/usr/local/src/exim-3.22/src/lookups/mysql.h
/usr/local/src/exim-3.22/build-Linux-i386/lookups/mysql.h

Joel
`Makefile' is up to date.

make[1]: Entering directory `/usr/local/src/exim-3.22/build-Linux-i386'
make[2]: Entering directory `/usr/local/src/exim-3.22/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  pcretest.c
gcc -O  -o ../../util/pcretest pcretest.o libpcre.a
make[2]: Leaving directory `/usr/local/src/exim-3.22/build-Linux-i386/pcre'
gcc -c -O    -I. dummies.c
gcc -c -O    -I. spool_in.c
gcc -c -O    -I. store.c
gcc -c -O    -I. string.c
gcc -c -O    -I. tree.c
gcc -o em_StripChart.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_StripChart.o | sed 's/o$/c/'`
gcc -o em_TextPop.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_TextPop.o | sed 's/o$/c/'`
gcc -o em_globals.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_globals.o | sed 's/o$/c/'`
gcc -o em_init.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_init.o | sed 's/o$/c/'`
gcc -o em_log.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_log.o | sed 's/o$/c/'`
gcc -o em_main.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_main.o | sed 's/o$/c/'`
gcc -o em_menu.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_menu.o | sed 's/o$/c/'`
gcc -o em_queue.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_queue.o | sed 's/o$/c/'`
gcc -o em_strip.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_strip.o | sed 's/o$/c/'`
gcc -o em_text.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_text.o | sed 's/o$/c/'`
gcc -o em_xs.o -c -O -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_xs.o | sed 's/o$/c/'`
gcc -o em_version.o -c \
  -O -I/usr/X11R6/include -I. ../exim_monitor/em_version.c
gcc -o eximon.bin em_version.o  -L/usr/X11R6/lib \
dummies.o spool_in.o store.o string.o tree.o em_StripChart.o em_TextPop.o em_globals.o em_init.o em_log.o em_main.o em_menu.o em_queue.o em_strip.o em_text.o em_xs.o -lXaw -lXmu -lXt -lXext -lX11 pcre/libpcre.a \
  -lnsl -lcrypt    -lc


>>> exim monitor binary built


gcc -c -O    -I. exim_dumpdb.c
gcc -c -O    -I. dbfn.c
gcc -c -O    -I. os.c
gcc -O  -o exim_dumpdb  exim_dumpdb.o dbfn.o dummies.o os.o store.o string.o \
  -lnsl -lcrypt  -ldb


>>> exim_dumpdb utility built


gcc -c -O    -I. exim_fixdb.c
gcc -O  -o exim_fixdb  exim_fixdb.o dbfn.o dummies.o os.o store.o string.o \
  -lnsl -lcrypt  -ldb


>>> exim_fixdb utility built


gcc -c -O    -I. exim_tidydb.c
gcc -O  -o exim_tidydb  exim_tidydb.o dbfn.o dummies.o os.o store.o string.o \
  -lnsl -lcrypt  -ldb


>>> exim_tidydb utility built


make[2]: Entering directory `/usr/local/src/exim-3.22/build-Linux-i386/libident'
gcc -O -DHAVE_ANSIHEADERS    -c -o ident.o ident.c
gcc -O -DHAVE_ANSIHEADERS    -c -o id_open.o id_open.c
gcc -O -DHAVE_ANSIHEADERS    -c -o id_close.o id_close.c
gcc -O -DHAVE_ANSIHEADERS    -c -o id_query.o id_query.c
gcc -O -DHAVE_ANSIHEADERS    -c -o id_parse.o id_parse.c
gcc -O -DHAVE_ANSIHEADERS    -c -o support.o support.c
gcc -O -DHAVE_ANSIHEADERS    -c -o version.o version.c
rm -f libident.a
ar cq libident.a ident.o id_open.o id_close.o id_query.o id_parse.o support.o version.o
ranlib libident.a
make[2]: Leaving directory `/usr/local/src/exim-3.22/build-Linux-i386/libident'


make[2]: Entering directory `/usr/local/src/exim-3.22/build-Linux-i386/lookups'
gcc -c -O -I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include cdb.c
gcc -c -O -I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include dbmdb.c
gcc -c -O -I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include dnsdb.c
gcc -c -O -I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include ldap.c
gcc -c -O -I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include lsearch.c
gcc -c -O -I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include mysql.c
mysql.c:30: mysql.h: No such file or directory
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/usr/local/src/exim-3.22/build-Linux-i386/lookups'

make[2]: Entering directory `/usr/local/src/exim-3.22/build-Linux-i386/directors'
gcc -c -O aliasfile.c
gcc -c -O forwardfile.c
gcc -c -O localuser.c
gcc -c -O smartuser.c
gcc -c -O df_extracted.c
gcc -c -O df_generated.c
gcc -c -O df_lookup.c
/bin/rm -f directors.a
ar cq directors.a aliasfile.o forwardfile.o localuser.o smartuser.o df_extracted.o df_generated.o df_lookup.o
ranlib directors.a
/bin/rm -rf ../drtables.o
make[2]: Leaving directory `/usr/local/src/exim-3.22/build-Linux-i386/directors'

make[2]: Entering directory `/usr/local/src/exim-3.22/build-Linux-i386/routers'
gcc -c -O domainlist.c
gcc -c -O ipliteral.c
gcc -c -O iplookup.c
gcc -c -O lookuphost.c
gcc -c -O queryprogram.c
/bin/rm -f routers.a
ar cq routers.a domainlist.o ipliteral.o iplookup.o lookuphost.o queryprogram.o
ranlib routers.a
/bin/rm -rf ../drtables.o
make[2]: Leaving directory `/usr/local/src/exim-3.22/build-Linux-i386/routers'

make[2]: Entering directory `/usr/local/src/exim-3.22/build-Linux-i386/transports'
gcc -c -O appendfile.c
gcc -c -O autoreply.c
gcc -c -O lmtp.c
gcc -c -O pipe.c
gcc -c -O 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 `/usr/local/src/exim-3.22/build-Linux-i386/transports'

make[2]: Entering directory `/usr/local/src/exim-3.22/build-Linux-i386/auths'
make[2]: `auths.a' is up to date.
make[2]: Leaving directory `/usr/local/src/exim-3.22/build-Linux-i386/auths'

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