[exim] Can't build exim 4.69 on Slackware 11 system

Góra strony
Delete this message
Reply to this message
Autor: Ivan Lezhnjov Jr.
Data:  
Dla: exim-users
Temat: [exim] Can't build exim 4.69 on Slackware 11 system
Hello there.

i'm trying to build Exim 4.69 on Slackware 11 system from source code but run
into the following problem:

> make[2]: Entering directory
> `/home/users/ilj/downloads/software/exim/exim-4.69/build-Linux-pentium4/tra
>nsports' make[2]: `transports.a' is up to date.
> make[2]: Leaving directory
> `/home/users/ilj/downloads/software/exim/exim-4.69/build-Linux-pentium4/tra
>nsports'
>
> make[2]: Entering directory
> `/home/users/ilj/downloads/software/exim/exim-4.69/build-Linux-pentium4/aut
>hs' make[2]: `auths.a' is up to date.
> make[2]: Leaving directory
> `/home/users/ilj/downloads/software/exim/exim-4.69/build-Linux-pentium4/aut
>hs'
>
>
> awk '{ print ($1+1) }' cnumber.h > cnumber.temp
> rm -f cnumber.h; mv cnumber.temp cnumber.h
> gcc version.c
> rm -f exim
> gcc -o exim
>
> rfc2047.o(.text+0x397): In function `rfc2047_decode2':
> : undefined reference to `libiconv_open'
>
> rfc2047.o(.text+0x462): In function `rfc2047_decode2':
> : undefined reference to `libiconv'
>
> rfc2047.o(.text+0x548): In function `rfc2047_decode2':
> : undefined reference to `libiconv_close'
>
> smtp_in.o(.text+0x1ae5): In function `smtp_start_session':
> : undefined reference to `hosts_ctl'
>
> collect2: ld returned 1 exit status
> make[1]: *** [exim] Error 1
> make[1]: Leaving directory
> `/home/users/ilj/downloads/software/exim/exim-4.69/build-Linux-pentium4'
> make: *** [go] Error 2


I tried to Google for any information that could help solve the problem and
figured EXTRALIBS_EXIM=-ldl in Local/Makefile might help. It turned out
adding EXTRALIBS_EXIM=-ldl didn't exactly helped solve the problem but
actually lead to generation of another, different error message:

> gcc regex.c
> gcc spam.c
> gcc spool_mbox.c
> gcc demime.c
> gcc bmi_spam.c
> gcc spf.c
> gcc srs.c
> gcc dk.c
> gcc dkim-exim.c
>
> awk '{ print ($1+1) }' cnumber.h > cnumber.temp
> rm -f cnumber.h; mv cnumber.temp cnumber.h
> gcc version.c
> rm -f exim
> gcc -o exim
>
> smtp_in.o(.text+0x1ae5): In function `smtp_start_session':
> : undefined reference to `hosts_ctl'
>
> collect2: ld returned 1 exit status
> make[1]: *** [exim] Error 1
> make[1]: Leaving directory
> `/home/users/ilj/downloads/software/exim/exim-4.69/build-Linux-pentium4'
> make: *** [go] Error 2


So, my question is what goes wrong here and how can it be fixed?

--

Ivan Lezhnjov Jr.

Europe, Ukraine, Simferopol

Running
Source Mage GNU/Linux, kernel version 2.6.24 build #5

+----------------------------------------------------------------------+

           Key ID 0x5811D90C
  Key Fingerprint 2A52 5C8C 38BE C04F D8DE  A169 19E2 E49A 5811 D90C
          Use GPG Exercise Your Right To Privacy