(long) glib 2.10.3 failed to compile on hpux and Irix

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

 



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
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
================================

And the config.log :
================================
## --------- ##
## Platform. ##
## --------- ##

hostname = hpux4
uname -m = 9000/813
uname -r = B.11.00
uname -s = HP-UX
uname -v = A

/usr/bin/uname -p = unknown
/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:6153: checking locale.h usability
configure:6165: gcc -c -lintl -lgettextsrc  conftest.c >&5
gcc: -lintl: linker input file unused because linking not done
gcc: -lgettextsrc: linker input file unused because linking not done
configure:6171: $? = 0
configure:6175: test -z
                         || test ! -s conftest.err
configure:6178: $? = 0
configure:6181: test -s conftest.o
configure:6184: $? = 0
configure:6194: result: yes
configure:6198: checking locale.h presence
configure:6208: gcc -E  conftest.c
configure:6214: $? = 0
configure:6234: result: yes
configure:6269: checking for locale.h
configure:6276: result: yes
configure:6290: checking for LC_MESSAGES
configure:6311: gcc -o conftest -lintl -lgettextsrc   conftest.c  >&5
configure:6317: $? = 0
configure:6321: test -z
                         || test ! -s conftest.err
configure:6324: $? = 0
configure:6327: test -s conftest
configure:6330: $? = 0
configure:6342: result: yes
configure:6371: checking libintl.h usability
configure:6383: gcc -c -lintl -lgettextsrc  conftest.c >&5
gcc: -lintl: linker input file unused because linking not done
gcc: -lgettextsrc: linker input file unused because linking not done
configure:6389: $? = 0
configure:6393: test -z
                         || test ! -s conftest.err
configure:6396: $? = 0
configure:6399: test -s conftest.o
configure:6402: $? = 0
configure:6412: result: yes
configure:6416: checking libintl.h presence
configure:6426: gcc -E  conftest.c
configure:6432: $? = 0
configure:6452: result: yes
configure:6487: checking for libintl.h
configure:6494: result: yes
configure:6505: checking for ngettext in libc
configure:6528: gcc -o conftest -lintl -lgettextsrc   conftest.c  >&5
configure:6534: $? = 0
configure:6538: test -z
                         || test ! -s conftest.err
configure:6541: $? = 0
configure:6544: test -s conftest
configure:6547: $? = 0
configure:6560: result: yes
configure:6564: checking for dgettext in libc
configure:6587: gcc -o conftest -lintl -lgettextsrc   conftest.c  >&5
configure:6593: $? = 0
configure:6597: test -z
                         || test ! -s conftest.err
configure:6600: $? = 0
configure:6603: test -s conftest
configure:6606: $? = 0
configure:6619: result: yes
configure:6628: checking for bind_textdomain_codeset
configure:6685: gcc -o conftest -lintl -lgettextsrc   conftest.c  >&5
configure:6691: $? = 0
configure:6695: test -z
                         || test ! -s conftest.err
configure:6698: $? = 0
configure:6701: test -s conftest
configure:6704: $? = 0
configure:6716: 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
======================

I've double checked my PATH, includes and libraries. Now, I'm stuck.

What can/should I do ?


Any help is appreciated.
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux