Re: (long) glib 2.10.3 failed to compile on hpux and Irix
- From: Sergei Steshenko <sergstesh yahoo com>
- To: theo crite <etchstable gmail com>, gtk-list gnome org
- Subject: Re: (long) glib 2.10.3 failed to compile on hpux and Irix
- Date: Mon, 14 Aug 2006 10:20:10 -0700 (PDT)
--- theo crite <etchstable gmail com> wrote:
> Hi,
>
> I'm having trouble to compile glib-2.10.3 on Irix and HPUX.
> I compiled all the dependences (expat, freetype, fontconfig, gettext,
> libiconv, zlib, poppler) and all make check were totaly succesfull
> exept gettext (All 226 tests passed (23 tests were not run) on Irix
> and 24 of 227 tests failed (22 tests were not run) on hpux).
>
> Here is the configure for SGI :
>
> ================================
> LDFLAGS='-lintl -lgettextsrc' ./configure
> --prefix=/tmp/compil/glib-2.10.3 --with-libiconv=gnu
> checking for a BSD-compatible install... /tmp/utils/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... mips-sgi-irix6.5
> checking host system type... mips-sgi-irix6.5
> checking for the BeOS... no
> checking for Win32... no
> checking whether to enable garbage collector friendliness... no
> checking whether to disable memory pools... no
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for c++... c++
> checking whether we are using the GNU C++ compiler... yes
> checking whether c++ accepts -g... yes
> checking dependency style of c++... gcc3
> checking for gcc option to accept ANSI C... none needed
> checking for a BSD-compatible install... /tmp/utils/bin/install -c
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGE_FILES value needed for large files... no
> checking for pkg-config... /tmp/compil/pkg-config-0.20/bin/pkg-config
> checking for gawk... (cached) gawk
> checking for perl5... perl5
> checking for indent... no
> checking for perl5... /usr/bin/perl5
> checking for libiconv_open in -liconv... yes
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking whether we are using the GNU C Library 2.1 or newer... no
> checking Whether to cache iconv descriptors... yes
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... no
> checking for unistd.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking for LC_MESSAGES... yes
> checking libintl.h usability... yes
> checking libintl.h presence... yes
> checking for libintl.h... yes
> checking for ngettext in libc... no
> checking for bindtextdomain in -lintl... yes
> checking for ngettext in -lintl... yes
> checking for dgettext in -lintl... yes
> checking for bind_textdomain_codeset... yes
> checking for msgfmt... 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
> ================================
>
> Folowing, part of config.log :
> ================================
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = octane
> uname -m = IP30
> uname -r = 6.5
> uname -s = IRIX64
> uname -v = 07201608
>
> /usr/bin/uname -p = mips
> /bin/uname -X = unknown
>
> /bin/arch = unknown
> /usr/bin/arch -k = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo = unknown
> /bin/machine = unknown
> /usr/bin/oslevel = unknown
> /bin/universe = unknown
>
> ...
> [SNIP]
> ...
>
> configure:7098: checking for bind_textdomain_codeset
> configure:7155: gcc -o conftest -g -O2 -lintl -lgettextsrc conftest.c
> -lintl >&5
> ld32: WARNING 84: /tmp/compil/gettext-0.14.5/lib/libintl.so is not
> used for resolving any symbol.
> ld32: WARNING 84: /tmp/compil/gettext-0.14.5/lib/libgettextsrc.so is
> not used for resolving any symbol.
> ld32: WARNING 85: definition of locale_charset in
> /tmp/compil/gettext-0.14.5/lib/libintl.so preempts that definition in
> /tmp/compil/libiconv-1.9.2/lib/libiconv.so.3.
> ld32: WARNING 85: definition of __register_frame in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of __register_frame_table in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of __deregister_frame in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of __register_frame_info_bases in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of __register_frame_info in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of __register_frame_info_table_bases in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of __register_frame_info_table in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of __deregister_frame_info_bases in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of __deregister_frame_info in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of _Unwind_Find_FDE in
> /home/Distrib/gcc-3.4.4/bin/../lib/gcc/mips-sgi-irix6.5/3.4.4/libgcc_eh.a(unwind-dw2-fde.o)
> preempts that definition in /home/Distrib/gcc-3.4.4/lib/libgcc_s.so.1.
> ld32: WARNING 85: definition of locale_charset in
> /tmp/compil/libiconv-1.9.2/lib/libiconv.so.3 preempts that definition
> in /tmp/compil/gettext-0.14.5/lib/libgettextlib-0.14.5.so.
> configure:7161: $? = 0
> configure:7165: test -z
> || test ! -s conftest.err
> configure:7168: $? = 0
> configure:7171: test -s conftest
> configure:7174: $? = 0
> configure:7186: result: yes
> configure:7226: checking for msgfmt
> configure:7256: result: no
> configure:7708: 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
> ================================
>
>
> For HPUX :
> CFLAGS="-lintl -lgettextsrc" .
> /configure --prefix=/tmp/compil/glib-2.10.3 --with-libiconv=gnu
> checking for a BSD-compatible install... /tmp/utils/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... hppa1.1-hp-hpux11.00
> checking host system type... hppa1.1-hp-hpux11.00
> checking for the BeOS... no
> checking for Win32... no
> checking whether to enable garbage collector friendliness... no
> checking whether to disable memory pools... no
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for c++... c++
> checking whether we are using the GNU C++ compiler... yes
> checking whether c++ accepts -g... yes
> checking dependency style of c++... gcc3
> checking for gcc option to accept ANSI C... none needed
> checking for a BSD-compatible install... /tmp/utils/install -c
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGE_FILES value needed for large files... no
>
=== message truncated ===
PATH does not deal with libraries.
You most likely have to set properly these ones:
CPPFLAGS for *.h files;
LD_LIBRARY_PATH for *.so files;
LDFLAGS - for *.so files, but in a different format.
--Sergei.
Applications From Scratch: http://appsfromscratch.berlios.de/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]