Many thanks to Wes Connell and Naofumi Yasufuku. I, however, made the following changes given that the configure script uses /usr/local as default PREFIX and to respect the directory architecture of IRIX.
Here it is and it does definitely work on IRIX 6.3: $ setenv LD_LIBRARY_PATH /usr/local/lib $ cd glib-2.06 $ env CPPFLAGS='-I/usr/local/include'\ LDFLAGS='-L/usr/local/lib'\ ./configure --libdir=/usr/local/lib\ --with-libiconv=gnu $ gmake $ su # setenv LD_LIBRARY_PATH /usr/local/lib # gmake install I believe the first command "setenv LD_LIBRARY_PATH /usr/local/lib" is important. Wes, as you say the configure scripts usually work fine. As you suggest, perhaps something has been changed since then? Cheers, Nadir Mrabet At 09:29 21/08/2002 +0900, Naofumi Yasufuku a écrit: >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 <[EMAIL PROTECTED]> 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 > > > ---------------------------------------------------------------------------- ============================================================== Nadir T. Mrabet Professor of Biochemistry EPI INSERM 0014 & Marine Research Unit 20 Lab of Cellular & Molecular Pathology in Nutrition UHP - Nancy I, School of Medicine, B.P. 184 54505 Vandoeuvre-les-Nancy Cedex (France) Phone : + 33 (0)3.83.68.32.73 Fax : + 33 (0)3.83.68.32.79 Email : [EMAIL PROTECTED] _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list