Date: Thu, 12 Jul 2007 13:22:50 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: freebsd-ports@freebsd.org Subject: Re: GMSGFMT variable not defined Message-ID: <op.tvc6och19aq2h7@mezz.mezzweb.com> In-Reply-To: <op.tvc59lwl9aq2h7@mezz.mezzweb.com> References: <4696562F.4050505@studio4plus.com> <op.tvc3zmis9aq2h7@mezz.mezzweb.com> <469666F2.8070800@studio4plus.com> <op.tvc59lwl9aq2h7@mezz.mezzweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Jul 2007 13:13:59 -0500, Jeremy Messenger <mezz7@cox.net> wro= te: > On Thu, 12 Jul 2007 12:37:54 -0500, Marcin Simonides = > <marcin@studio4plus.com> wrote: > >> Jeremy Messenger wrote: >>> On Thu, 12 Jul 2007 11:26:23 -0500, Marcin Simonides >> [...] >>>> >>>> I've checked with the program's aclocal.m4, it contains a line: >>>> >>>> AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) >>>> >>>> which looks right to me - GMSGFMT should be set to $MSGFMT if the = >>>> program is not found. msgfmt is being recognised by configure *but*= = >>>> both MSFGMT and GMSGFMT are set to "nothing" in the program's = >>>> po/Makefile. >>>> >>>> There is a check for msgfmt (successful) in the configure's output,= = >>>> but none for gmsgfmt (the configure.am. >>> Can you show us the configure output? >> >> Certainly: >> >> =3D=3D=3D> Configuring for gnome-subtitles-0.6 >> checking for pkg-config... /usr/local/bin/pkg-config >> checking pkg-config is at least version 0.9.0... yes >> checking for a BSD-compatible install... /usr/bin/install -c -o root = -g = >> wheel >> checking whether build environment is sane... yes >> checking for gawk... gawk >> checking whether gmake sets $(MAKE)... yes >> checking whether to enable maintainer-specific portions of Makefiles.= .. = >> no >> checking for style of include used by gmake... GNU >> checking for gcc... cc >> 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 cc accepts -g... yes >> checking for cc option to accept ISO C89... none needed >> checking dependency style of cc... none >> checking for intltool >=3D 0.35.0... 0.35.5 found >> checking for perl... /usr/bin/perl >> checking for XML::Parser... ok >> checking for iconv... /usr/local/bin/iconv >> checking for msgfmt... /usr/local/bin/msgfmt >> checking for msgmerge... /usr/local/bin/msgmerge >> checking for xgettext... /usr/local/bin/xgettext >> checking for a BSD-compatible install... /usr/bin/install -c -o root = -g = >> wheel >> checking how to run the C preprocessor... cc -E >> checking for grep that handles long lines and -e... /usr/bin/grep >> checking for egrep... /usr/bin/grep -E >> 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... yes >> checking for unistd.h... yes >> checking build system type... i386-portbld-freebsd6.2 >> checking host system type... i386-portbld-freebsd6.2 >> checking locale.h usability... yes >> checking locale.h presence... yes >> checking for locale.h... yes >> checking for LC_MESSAGES... yes >> checking libintl.h usability... no >> checking libintl.h presence... no >> checking for libintl.h... no > <snip> > > Here, this is problem. Have you tried to add this below in your Makefi= le = > yet? > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > CONFIGURE_ENV=3D CPPFLAGS=3D"-I${LOCALBASE}/include" \ > LDFLAGS=3D"-L${LOCALBASE}/lib" > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D In case if you don't know why this is need. It is because of the test in= the configure doesn't add -I/usr/local/include and -L/usr/local/lib when= trying to compile test with gettext. It should show failure results in config.log for can't find header and library, which wasn't search in /usr/local. Cheers, Mezz > After you add, you should see the change from 'no' to 'yes' and extra = = > details of lines related with this. An example of before and after on = = > editors/gedit: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- before Thu Jul 12 13:07:27 2007 > +++ after Thu Jul 12 13:07:55 2007 > @@ -166,9 +166,19 @@ > checking locale.h presence... yes > checking for locale.h... yes > checking for LC_MESSAGES... yes > -checking libintl.h usability... no > -checking libintl.h presence... no > -checking for libintl.h... no > +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... /usr/local/bin/msgfmt > +checking for dcgettext... yes > +checking if msgfmt accepts -c... yes > +checking for gmsgfmt... /usr/local/bin/msgfmt > +checking for xgettext... /usr/local/bin/xgettext > checking for ENCHANT... yes > checking whether iso-codes has iso-639 and iso-3166 domains... yes > checking for attr_copy_fd in -lattr... no > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Cheers, > Mezz -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tvc6och19aq2h7>