Offtopic: Glib unstable under openbsd 2.8



        Sorry about the off-topic but it's just I can't
        start working with gtk under OpenBSD just because
        this silly error I've not been able to fix:

        When I try to buid glib 1.3.2 from sources I get this
        error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        % /bin/sh ./configure --with-libiconv
[...]
checking for iconv_open... no
checking for libiconv_open in -liconv... no
configure: error: *** No iconv() implementation found in C library or libiconv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        But I did installed libiconv (under /usr/local) and
        ran:
        % ldconfig /usr/local/lib

        Just in case, here is the config.log:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[...]
configure:5467: checking for libiconv_open in -liconv
configure:5486: gcc -o conftest  -g -Wall -D_REENTRANT   conftest.c -liconv   1>&5
ld: -liconv: no match
collect2: ld returned 1 exit status
configure: failed program was:
#line 5475 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char libiconv_open();

int main() {
libiconv_open()
; return 0; }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        Does anybody have been able to compile it under OpenBSD 2.8?
        What am I doing wrong?

        Thanks a lot in advance.
        Regards,

                                         Eduardo.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]