[GRASS-dev] Is grass70b4 compiling on FreeBSD ?
Fábio Dias
fabio.dias at gmail.com
Tue Dec 30 20:29:01 PST 2014
Sorry for the delay, I got stuck recompiling all packages that used png :)
I looked at the output from configure (which I'll post fully tomorrow,
if needed), and no error was found regarding liconv. I was checking
the UPDATING file from ports, apparently, some functionality from
libiconv was moved to the standard libc. However, libiconv was later
reintroduced because some of the features were still missing from
libc. My guesstimate of the problem would be that, when testing for
libiconv functionality, without -liconv, configure gets the answer
from libc and doesn't include -liconv. When we try to compile, we use
stuff that isn't yet on libc and things go awry.
Changing the platform.make removed that error, but with the new
configure/configure.in (just changed in the svn), it doesn't work
anymore. I changed the makefile directly, on v.generalize (which is
the part that interests me the most), and it compiled successfully.
-=--=-=-
Fábio Augusto Salve Dias
http://sites.google.com/site/fabiodias/
On Tue, Dec 30, 2014 at 11:42 AM, Markus Neteler <neteler at osgeo.org> wrote:
> On Tue, Dec 30, 2014 at 1:31 AM, Fábio Dias <fabio.dias at gmail.com> wrote:
>> Hi,
>>
>> So, I started with a fresh checkout (from the URL you told me to switch to).
>
> ok, fine.
>
>> The full log is on http://pastebin.com/2n9vswif
>>
>> The "important" part, afaik, is :
>> /usr/home/diasf/releasebranch_7_0/dist.x86_64-unknown-freebsd10.1/lib/libgrass_gis.7.0.0svn.so:
>> undefined reference to `libiconv'
>> /usr/home/diasf/releasebranch_7_0/dist.x86_64-unknown-freebsd10.1/lib/libgrass_gis.7.0.0svn.so:
>> undefined reference to `libiconv_close'
>> /usr/home/diasf/releasebranch_7_0/dist.x86_64-unknown-freebsd10.1/lib/libgrass_gis.7.0.0svn.so:
>> undefined reference to `libiconv_open'
>>
>> So I've tried with --with-iconv on the configure, not that this option
>> exist... Then I manually changed a Makefile, on one of the directories
>> with error. Added -liconv to he LIBES var, then the make worked.
>
> Ok. You could enable that globally here:
>
> include/Make/Platform.make
>
> which is autogenerated. Please take a look at
> config.log
>
> and search therein for libiconv. It will contain the error why it wasn't found.
>
> Markus
More information about the grass-dev
mailing list