Re: glib-2.0.6



Hi,

Personally I do the following instructions to compile and install glib-2.0.6
on IRIX.

 1. install GNU gettext and libiconv to /usr/local 
    (libdir is /usr/local/lib32)

 2. set LD_LIBRARY_PATH
    (because rld may complain that there is no -lintl and -liconv)

    $ setenv LD_LIBRARY_PATH "/usr/local/lib32:${LD_LIBRARY_PATH}"

 3. run configure and gmake like this

    $ cd glib-2.0.6
    $ env CPPFLAGS='-I/usr/local/include' \
          LDFLAGS='-L/usr/local/lib32' \
          ./configure --prefix=/usr/local/gtk \
                      --libdir=/usr/local/gtk/lib32 \
                      --with-libiconv=gnu

    $ gmake

 4. install

    $ su
    $ setenv LD_LIBRARY_PATH "/usr/local/lib32:${LD_LIBRARY_PATH}"
    $ gmake install

It works well.

Regards,
--Naofumi

At Tue, 20 Aug 2002 15:21:09 +0200,
Nadir T. Mrabet <Nadir Mrabet medecine uhp-nancy fr> wrote:
> 
> I am trying to compile glib-2.0.6 on a SGI O2 R10000 under IRIX 6.3.
> I use for that :
> setenv CFLAGS -O2 ./configure.
> pkg-config is installed, as is GNU gettext.
> 
> The 'configure' outcome is fine till it stops at the following message error
> signaling the lack of gettext support, although it is installed.
> 
> -------------./configure output--------------------------------------------
> ...............................................................................................................
> 
> checking for LC_MESSAGES... yes
> checking libintl.h usability... yes
> checking libintl.h presence... yes
> checking for libintl.h... yes
> checking for dgettext in libc... no
> checking for bindtextdomain in -lintl... no
> checking if -liconv is needed to use gettext...
> checking for dcgettext in -lintl... no
> configure: error:
> *** You must have either have gettext support in your C library, or use the
> *** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
> ----------------------------------------------------------------------------



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