Re: iconv and configure
Ben Suffolk <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Alex, iconv was installed from the FreeBSD ports system, and /usr/local tends to be where FreeBSD installs all its ports. Maybe I need to update the autoconf port? The work around you suggested was what I did in the end. I'll see if I can find out where autoconf gets it paths from, but any hints on where to look appreciated :-) Regards Ben On 29 Mar 2007, at 15:54, Alexander Malysh wrote: > Hi Ben, > > it's easy to update configure but as far as I see it's not a standart > location for iconv. I assume you installed it from sources and > autoconf > don't know /usr/local as location (that work on linux out of the > box). You > need to find why /usr/local is not in standart seek path by > autoconf. Due > to the fact that we use standart macros from autoconf it should work. > > As workaround you can always use: > ./configure --with-cflags="-L/usr/local/lib -I/usr/local/include" ... > > Ben Suffolk wrote: > >> Can I assume nobody knows how to update the configure script then? >> >> I managed to get it to compile by specifying some CFLAGS to configure >> (i.e. -L/usr/local/lib and -I/usr/local/include) but I know thats not >> really the answer. >> >> Regards >> >> Ben >> >> >> Begin forwarded message: >> >>> From: Ben Suffolk <[email protected]> >>> Date: 26 March 2007 10:59:35 BDT >>> To: Kannel Development list <[email protected]> >>> Subject: iconv and configure >>> >>> HI, >>> >>> I needed to use an alt-charset today for an smsc connection but >>> found when I added the option that no conversion was being done on >>> inbound sms :- >>> >>> 2007-03-26 08:32:21 [44173] [6] ERROR: Failed to convert msgdata >>> from charset <ISO-8859-15> to <UTF-8>, will leave as is. >>> >>> On investigation I see that, under FreeBSD (6.2), configure is not >>> picking up the existence of either iconv.h or libiconv. The are >>> both installed :- >>> >>> $ ls /usr/local/include/iconv.* >>> /usr/local/include/iconv.h >>> >>> $ ls /usr/local/lib/libiconv.* >>> /usr/local/lib/libiconv.a /usr/local/lib/libiconv.la / >>> usr/local/lib/libiconv.so /usr/local/lib/libiconv.so.3 >>> >>> I have to admin that the whole configure thing is a black art >>> mystery to me, so how please can somebody who practices in these >>> arts, tell me how do I update configure so that it will find and >>> use this library. >>> >>> Regards >>> >>> Ben >>> > > -- > Thanks, > Alex > >