[exim] Re: iconv

Pàgina inicial
Delete this message
Reply to this message
Autor: Steve Sargent
Data:  
A: exim-users
Assumpte: [exim] Re: iconv
I have now got to the bottom of this!!!!

The easiest way round it is to edit the Makefile in OS/Makefile-SunOS5
thus:-

7c7
< HAVE_ICONV=yes
---
> HAVE_ICONV=no



Then exim does not try to use it at all.


I have managed to make it compile and run with the HAVE_ICONV=yes
estting left alone by editing the Local/Makefile to have this setting:-


521,523c521,523
< # HAVE_ICONV=yes
< # CFLAGS=-O -I/usr/local/include
< # EXTRALIBS_EXIM=-L/usr/local/lib -liconv
---
> HAVE_ICONV=yes
> CFLAGS=-O -I /usr/local/include -I /usr/include
> EXTRALIBS_EXIM=-R/usr/local/lib -L/usr/local/lib -liconv



The -R/usr/local/lib part tells it where to find the iconv library at
run time!!!


Just as a matter of interest, what difference does it make to exim to be
with or without the iconv stuff?




Philip Hazel wrote:
> On Wed, 9 Nov 2005, Steve Sargent wrote:
>
>
>>I wonder if you could help. I'v been running exim for some years now and I
>>suddenly seem to be having problems compiling it.
>
>
> Hello Steve, yes, I remember your name.
>
> This kind of question is best asked on the exim-users mailing list,
> because there are folks there with all kinds of experience, and in
> different operating systems. They usually respond much quicker than I
> do, and often with a better answer.
>
>
>>I have changed the Makefile thus:-
>>
>>
>>521,523c521,523
>>< # HAVE_ICONV=yes
>>< # CFLAGS=-O -I/usr/local/include
>>< # EXTRALIBS_EXIM=-L/usr/local/lib -liconv
>>---
>>
>>>HAVE_ICONV=yes
>>>CFLAGS=-O -I /usr/local/include -I /usr/include
>>>EXTRALIBS_EXIM=-L/usr/local/lib -liconv
>
>
> I'm afraid I have no idea if that makes sense for an iconv()
> installation on Solaris 5.8.
>
>
>>bash$ ldd build-SunOS5-5.8-sparc/exim
>>        libresolv.so.2 =>        /usr/lib/libresolv.so.2
>>        libsocket.so.1 =>        /usr/lib/libsocket.so.1
>>        libnsl.so.1 =>   /usr/lib/libnsl.so.1
>>        libkstat.so.1 =>         /usr/lib/libkstat.so.1
>>        libm.so.1 =>     /usr/lib/libm.so.1
>>        libiconv.so.2 =>         (file not found)
>>        libc.so.1 =>     /usr/lib/libc.so.1
>>        libdl.so.1 =>    /usr/lib/libdl.so.1
>>        libmp.so.2 =>    /usr/lib/libmp.so.2
>>        /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1

>
>
> Looks as though libiconv isn't installed or isn't properly installed.
> Taking a quick look at a Solaris 5.9 box, it seems that iconv() is
> standardly available, but I have a dim recollection that this is recent
> in Solaris. However, though the man page shows it, I can't seem to find
> the actual library - but maybe it's folded into the standard library.
>
> Philip
>


--
Steve Sargent, Vox +44 020 7882 3220, Fax +44 020 8980 2001
QMUL Computing Services, Mile End Road, London E1 4NS, UK
Email : S.L.Sargent@???
WWW page: http://www.qmul.ac.uk/~cgaa160/index.html

                                 PIPER       _|_
                                 PA28R  ____/___\___
                                 ___________[=o=]___________
                                 ARROW    e/  o  \e