Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32814 - exim 4.24 wont compile
Summary: exim 4.24 wont compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-05 11:22 UTC by Thomas Stein
Modified: 2003-11-07 06:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Stein 2003-11-05 11:22:27 UTC
When i try to emerge exim-4.24 i get this:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lgds
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory
`/var/tmp/portage/exim-4.24/work/exim-4.24/build-exim-gentoo'
make: *** [go] Error 2

!!! ERROR: net-mail/exim-4.24 failed.
!!! Function src_compile, Line 152, Exitcode 2
!!! make failed

-lgds?


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2003-11-05 14:42:55 UTC
I had to ebuild exim-4.24.ebuild unpack
then remove -lgds from Local/Makefile under the work dir
then ebuild exim-4.24.ebuild compile, install, qmerge

It is mentioned as being used by postgresql but there is no trace of it on
a machine with postgresql installed.
Comment 2 Dennis Freise 2003-11-06 07:33:06 UTC
Quote from Local/Makefile:
'-lgds is for Interbase.'

Just wanted to state that out :) Emerge shows the same behaviour for me.
MySQL installed, neither postgresql nor interbase installed.
Comment 3 Simon Arlott 2003-11-07 05:28:39 UTC
exim-4.22/src/EDITME: # LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient
-lpq
exim-4.24/src/EDITME: # LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient
-lpq -lgds

exim now has a ' -lgds' on the end of the line for LOOKUP_LIBS
the new ebuild does not handle this

this line:
sed -i "s:# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq:LOOKUP_LIBS=$LOOKUP_LIBS:"
\

should be changed to: sed -i "s:# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber
-lmysqlclient -lpq -lgds:LOOKUP_LIBS=$LOOKUP_LIBS:" \

(in /usr/portage/net-mail/exim/exim-4.24.ebuild)
Comment 4 Kurt Lieber (RETIRED) gentoo-dev 2003-11-07 06:14:40 UTC
fixed in cvs.  please test to see if it works now.