1.1.9 configure problems [lengthy]



Hi,

I hope I am addressing this to the right list, I was a little unsure whether to
send it here or to devel-list. I also wanted to search the mailing list archives
but the broker at redhat.com was continuously busy =\

Anyways, I am trying to get 1.1.9 to run under FreeBSD CURRENT and glib compiles
and installs great, be it aside from the no thread warning (we do have ptreads
however, so I am curious about why that fails).

But I am having some difficulties with the configure script from gtk 1.1.9 and in
particular with gettext. It seems configure cannot find gettext while it has been
installed for sure.

It's in my PATH and it is located in /usr/local/bin/gettext

xgettext: /usr/local/bin/xgettext

some version numbers:

gettext (GNU gettext) 0.10.35
xgettext (GNU gettext) 0.10.35
Autoconf version 2.12
automake (GNU automake) 1.3
GNU Make version 3.77, by Richard Stallman and Roland McGrath.

configure output:


creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i386-unknown-freebsd3.0
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/libexec/aout/ld
checking if the linker (/usr/libexec/aout/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/libexec/aout/ld) is GNU ld... no
checking whether the linker (/usr/libexec/aout/ld) supports shared libraries...
yes
checking command to parse /usr/bin/nm -p output... no
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/aout/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd3.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i386-unknown-freebsd3.0
checking whether build environment is sane... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking for perl5... perl5
checking for indent... indent
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... no
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for stpcpy... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes

if I run configure with --disable-nls than it still fouls up =\

checking for libintl.h... no
checking whether catgets can be used... no
found xgettext program is not GNU xgettext; ignore it

It isn't GNU xgettext? Hmmm...

checking for catalogs to be installed...  de pt
checking for gettext... no

Oh? Why? It is in the PATH and it's the required version.

checking for gettext in -lintl... no
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.1.9... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for XShapeCombineMask in -lXext... yes
checking for XConvertCase in -lX11... yes
checking for XUnregisterIMInstantiateCallback in -lX11... yes
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking need -DX_LOCALE... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking return type of signal handlers... void
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... no
checking for wctype.h... no
checking for iswalnum... no
checking for iswalnum in -lw... no
checking if iswalnum() and friends are properly defined... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating gtk-config
creating po/Makefile.in
creating docs/Makefile
creating gdk/Makefile
creating gtk/Makefile
creating gtk/gtkfeatures.h
creating config.h

Now, with --disable-nls, afaik it shouldn't create/use CATALOGS in the Makefile's
in /po and /gtk

however this is what the Makefile's have:

CC = gcc
GENCAT = 
GMSGFMT = PATH=../src:$$PATH 
MSGFMT = 
XGETTEXT = PATH=../src:$$PATH :
MSGMERGE = PATH=../src:$$PATH msgmerge

CATALOGS =  deNONE ptNONE

This is because it cannot find the gettext afaik. Normally de.po and pt.po should
be there. de.po and pt.po are also not created (logically mayhaps ;)

Things I would like to know are: 

1) Where does it get the gettext detection from? AFAIK as I have been
able to glance from the sources it uses the libc.

2) Why does it still create a faulty CATALOGS entry in the Makefile's when I
specify --disable-nls?

Any (other) pointers, hints, tests appreciated as I tried about every flag by now.

thanks,

---
Jeroen Ruigrok van der Werven            Life is the only Pain 
asmodai(at)wxs.nl                              we endeavour...
Network/Security Specialist      <http://home.wxs.nl/~asmodai>
BSD & picoBSD: The Power to Serve     <http://www.freebsd.org>



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