Sam Varshavchik wrote:
Göran Höglund writes:

Hi,
Well I tried:
./configure CPPFLAGS=-I/usr/local/BerkeleyDB/include
CCLD=/usr/local/bin/ld
CXXLD=/usr/local/bin/ld

But ended up with the same result.
I guess BillT is on the track the configure script writes the following:
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.8 ld.so

I guess its easier to change IMAP server than reinstalling/compiling my
entire OS tools....

In addition to CXXLD and CCLD, also try setting LD=

Well, that definitely got me through the configure issue. But there was
still a problem in the Makefiles. Namely, despite these variables being
set /usr/ccs/bin/ld was still invoked when make time came. I noticed
that LD=(CC) in the Makefiles, which I didn't expect given we already
knew gcc would invoke /usr/ccs/bin/ld by default -- based on how gcc
itself was built. So... I got really ugly and temporarily symlinked
/usr/ccs/bin/ld to my Gnu ld. The make and installation completed
successfully!

I'm not sure of the overall safety of supplanting the ld this way, so I
returned it to normal upon completion of the build and installation. The
running install doesn't seem any worse for it.

Any idea why the Makefiles didn't comply with the variable settings
despite the fact that configure seemed to understand what was going on?

Bill


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to