[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

need help compiling Debian source package: exim



Hi,

I need some direction as to what to do to resolve the error that the debian/rules script in the source directory is giving me. I've attached the the output in rules-ouput.txt, but here's the last few lines with the error:

make[3]: Entering directory `/usr/src/exim-3.12/build-Linux-i386/auths'
gcc -c -O2 -g -Wall -I/usr/include/db1  b64encode.c
gcc -c -O2 -g -Wall -I/usr/include/db1  b64decode.c
gcc -c -O2 -g -Wall -I/usr/include/db1  call_pam.c
call_pam.c: In function `pam_converse':
call_pam.c:71: warning: statement with no effect
call_pam.c: In function `auth_call_pam':
call_pam.c:123: warning: assignment from incompatible pointer type
gcc -c -O2 -g -Wall -I/usr/include/db1  xtextencode.c
gcc -c -O2 -g -Wall -I/usr/include/db1  xtextdecode.c
gcc -c -O2 -g -Wall -I/usr/include/db1  get_data.c
gcc -c -O2 -g -Wall -I/usr/include/db1  md5.c
gcc -c -O2 -g -Wall -I/usr/include/db1  cram_md5.c
gcc -c -O2 -g -Wall -I/usr/include/db1  plaintext.c
/bin/rm -f auths.a
ar cq auths.a b64encode.o b64decode.o call_pam.o xtextencode.o xtextdecode.o get_data.o md5.o cram_md5.o plaintext.o
ranlib auths.a
/bin/rm -rf ../drtables.o
make[3]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386/auths'

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

The src/lookups/Makefile defines something for lookups.a though and it follows the same form as directors & transports which built fine ... ?

TIA,
Eugene van Zyl
test -f src/exim.c -a -f debian/rules
# Set up local build files
mkdir Local
chmod +x debian/config-ipv6
debian/config-ipv6
patch -o Local/Makefile src/EDITME debian/editme-diff
patching file `src/EDITME'
# This cp can be replaced with a patch like the one above if needed
cp exim_monitor/EDITME Local/eximon.conf
make
make[1]: Entering directory `/usr/src/exim-3.12'
>>> rebuilt Makefile unchanged

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

/bin/sh ../scripts/Configure-eximon
sed -e s?CONFIGURE_FILE?/etc/exim.conf? \
  -e s?BIN_DIRECTORY?/usr/sbin? \
  -e s?BASENAME_COMMAND?look_for_it? \
  -e s?HOSTNAME_COMMAND?/bin/hostname? \
  -e s?X11_LD_LIBRARY?/usr/X11R6/lib? \
  ../src/eximon.src >> eximon
>>> eximon script built

gcc -c -O2 -g -Wall -I/usr/include/db1   -I. os.c
os.c: In function `os_getloadavg':
os.c:28: warning: implicit declaration of function `sysinfo'
gcc -c -O2 -g -Wall -I/usr/include/db1   -I. spool_in.c
gcc -c -O2 -g -Wall -I/usr/include/db1   -I. store.c
gcc -c -O2 -g -Wall -I/usr/include/db1   -I. string.c
gcc -c -O2 -g -Wall -I/usr/include/db1   -I. tree.c
gcc -o em_StripChart.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_StripChart.o | sed 's/o$/c/'`
gcc -o em_TextPop.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_TextPop.o | sed 's/o$/c/'`
gcc -o em_globals.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_globals.o | sed 's/o$/c/'`
gcc -o em_init.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_init.o | sed 's/o$/c/'`
gcc -o em_log.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_log.o | sed 's/o$/c/'`
gcc -o em_main.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_main.o | sed 's/o$/c/'`
gcc -o em_menu.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_menu.o | sed 's/o$/c/'`
gcc -o em_queue.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_queue.o | sed 's/o$/c/'`
gcc -o em_strip.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_strip.o | sed 's/o$/c/'`
gcc -o em_text.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_text.o | sed 's/o$/c/'`
gcc -o em_xs.o -c -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. -I../exim_monitor \
   ../exim_monitor/`echo em_xs.o | sed 's/o$/c/'`
gcc -o em_version.o -c \
  -O2 -g -Wall -I/usr/include/db1 -I/usr/X11R6/include -I. ../exim_monitor/em_version.c
gcc -o eximon.bin em_version.o  -L/usr/X11R6/lib \
dummies.o os.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 -lICE -lXaw -lXmu -lXt -lXext -lX11 -lpcre \
  -lnsl -lcrypt  -lpam  -lc

>>> exim monitor binary built

sed -e s?CONFIGURE_FILE?/etc/exim.conf? \
  -e s?BIN_DIRECTORY?/usr/sbin? \
  -e s?EXICYCLOG_MAX?10? \
  -e s?COMPRESS_COMMAND?/bin/gzip? \
  -e s?COMPRESS_SUFFIX?gz? \
  -e s?CHOWN_COMMAND?/bin/chown? \
  -e s?CHGRP_COMMAND?/bin/chgrp? \
  -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?/etc/exim.conf? -e s?BIN_DIRECTORY?/usr/sbin? ../src/exinext.src > exinext-t
>>> exinext script built

sed -e s?CONFIGURE_FILE?/etc/exim.conf? \
  -e s?BIN_DIRECTORY?/usr/sbin? \
  -e s?EXIWHAT_PS_CMD?/bin/ps? \
  -e s?EXIWHAT_PS_ARG?ax? \
  -e s?EXIWHAT_KILL_ARG?-USR1? \
  -e s?EXIWHAT_EGREP_ARG?'/exim( |$)'? \
  ../src/exiwhat.src > exiwhat-t
>>> exiwhat script built

sed -e s?PERL_COMMAND?/usr/bin/perl? \
  -e s?ZCAT_COMMAND?/bin/zcat? \
          -e s?COMPRESS_SUFFIX?gz? \
  ../src/exigrep.src > ../util/exigrep-t
>>> exigrep script built in util directory

sed -e s?PERL_COMMAND?/usr/bin/perl? \
  -e s?ZCAT_COMMAND?/bin/zcat? \
          -e s?COMPRESS_SUFFIX?gz? \
  ../src/exigrep.src > ../util/exigrep-t
>>> exigrep script built in util directory

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

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

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

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

gcc -O2 -g -Wall -I/usr/include/db1  -o exim_dbmbuild  exim_dbmbuild.c \
  os.o -lnsl -lcrypt -lpam -ldb1

>>> exim_dbmbuild utility built

gcc -c -O2 -g -Wall -I/usr/include/db1   -I. exim_dumpdb.c
gcc -c -O2 -g -Wall -I/usr/include/db1   -I. dbfn.c
gcc -O2 -g -Wall -I/usr/include/db1  -o exim_dumpdb  exim_dumpdb.o dbfn.o dummies.o os.o store.o string.o \
  -lnsl -lcrypt -lpam -ldb1

>>> exim_dumpdb utility built

gcc -c -O2 -g -Wall -I/usr/include/db1   -I. exim_fixdb.c
gcc -O2 -g -Wall -I/usr/include/db1  -o exim_fixdb  exim_fixdb.o dbfn.o dummies.o os.o store.o string.o \
  -lnsl -lcrypt -lpam -ldb1

>>> exim_fixdb utility built

gcc -c -O2 -g -Wall -I/usr/include/db1   -I. exim_tidydb.c
gcc -O2 -g -Wall -I/usr/include/db1  -o exim_tidydb  exim_tidydb.o dbfn.o dummies.o os.o store.o string.o \
  -lnsl -lcrypt -lpam -ldb1

>>> exim_tidydb utility built

gcc -O2 -g -Wall -I/usr/include/db1  -o exim_lock  exim_lock.c  \
  -lnsl -lcrypt -lpam

>>> exim_lock utility built

make[3]: Entering directory `/usr/src/exim-3.12/build-Linux-i386/libident'
gcc -O2 -g -Wall -I/usr/include/db1 -DHAVE_ANSIHEADERS -DHAVE_IPV6=1   -c -o ident.o ident.c
gcc -O2 -g -Wall -I/usr/include/db1 -DHAVE_ANSIHEADERS -DHAVE_IPV6=1   -c -o id_open.o id_open.c
gcc -O2 -g -Wall -I/usr/include/db1 -DHAVE_ANSIHEADERS -DHAVE_IPV6=1   -c -o id_close.o id_close.c
gcc -O2 -g -Wall -I/usr/include/db1 -DHAVE_ANSIHEADERS -DHAVE_IPV6=1   -c -o id_query.o id_query.c
gcc -O2 -g -Wall -I/usr/include/db1 -DHAVE_ANSIHEADERS -DHAVE_IPV6=1   -c -o id_parse.o id_parse.c
gcc -O2 -g -Wall -I/usr/include/db1 -DHAVE_ANSIHEADERS -DHAVE_IPV6=1   -c -o support.o support.c
gcc -O2 -g -Wall -I/usr/include/db1 -DHAVE_ANSIHEADERS -DHAVE_IPV6=1   -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[3]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386/libident'

make[3]: Entering directory `/usr/src/exim-3.12/build-Linux-i386/lookups'
gcc -c -O2 -g -Wall -I/usr/include/db1  cdb.c
gcc -c -O2 -g -Wall -I/usr/include/db1  dbmdb.c
gcc -c -O2 -g -Wall -I/usr/include/db1  dnsdb.c
gcc -c -O2 -g -Wall -I/usr/include/db1  ldap.c
ldap.c:31: lber.h: No such file or directory
ldap.c:32: ldap.h: No such file or directory
make[3]: *** [ldap.o] Error 1
make[3]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386/lookups'

make[3]: Entering directory `/usr/src/exim-3.12/build-Linux-i386/directors'
gcc -c -O2 -g -Wall -I/usr/include/db1  aliasfile.c
gcc -c -O2 -g -Wall -I/usr/include/db1  forwardfile.c
gcc -c -O2 -g -Wall -I/usr/include/db1  localuser.c
gcc -c -O2 -g -Wall -I/usr/include/db1  smartuser.c
gcc -c -O2 -g -Wall -I/usr/include/db1  df_extracted.c
gcc -c -O2 -g -Wall -I/usr/include/db1  df_generated.c
/bin/rm -f directors.a
ar cq directors.a aliasfile.o forwardfile.o localuser.o smartuser.o df_extracted.o df_generated.o
ranlib directors.a
/bin/rm -rf ../drtables.o
make[3]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386/directors'

make[3]: Entering directory `/usr/src/exim-3.12/build-Linux-i386/routers'
gcc -c -O2 -g -Wall -I/usr/include/db1  domainlist.c
gcc -c -O2 -g -Wall -I/usr/include/db1  ipliteral.c
gcc -c -O2 -g -Wall -I/usr/include/db1  iplookup.c
gcc -c -O2 -g -Wall -I/usr/include/db1  lookuphost.c
gcc -c -O2 -g -Wall -I/usr/include/db1  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[3]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386/routers'

make[3]: Entering directory `/usr/src/exim-3.12/build-Linux-i386/transports'
gcc -c -O2 -g -Wall -I/usr/include/db1  appendfile.c
gcc -c -O2 -g -Wall -I/usr/include/db1  autoreply.c
gcc -c -O2 -g -Wall -I/usr/include/db1  pipe.c
gcc -c -O2 -g -Wall -I/usr/include/db1  smtp.c
/bin/rm -f transports.a
ar cq transports.a appendfile.o autoreply.o pipe.o smtp.o
ranlib transports.a
/bin/rm -rf ../drtables.o
make[3]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386/transports'

make[3]: Entering directory `/usr/src/exim-3.12/build-Linux-i386/auths'
gcc -c -O2 -g -Wall -I/usr/include/db1  b64encode.c
gcc -c -O2 -g -Wall -I/usr/include/db1  b64decode.c
gcc -c -O2 -g -Wall -I/usr/include/db1  call_pam.c
call_pam.c: In function `pam_converse':
call_pam.c:71: warning: statement with no effect
call_pam.c: In function `auth_call_pam':
call_pam.c:123: warning: assignment from incompatible pointer type
gcc -c -O2 -g -Wall -I/usr/include/db1  xtextencode.c
gcc -c -O2 -g -Wall -I/usr/include/db1  xtextdecode.c
gcc -c -O2 -g -Wall -I/usr/include/db1  get_data.c
gcc -c -O2 -g -Wall -I/usr/include/db1  md5.c
gcc -c -O2 -g -Wall -I/usr/include/db1  cram_md5.c
gcc -c -O2 -g -Wall -I/usr/include/db1  plaintext.c
/bin/rm -f auths.a
ar cq auths.a b64encode.o b64decode.o call_pam.o xtextencode.o xtextdecode.o get_data.o md5.o cram_md5.o plaintext.o
ranlib auths.a
/bin/rm -rf ../drtables.o
make[3]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386/auths'

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

Reply to: