Subject: Re: Mozilla Milestone 18
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/14/2000 09:53:13
On Sat, 14 Oct 2000, Frederick Bruckman wrote:

> On Sat, 14 Oct 2000, Jeremy C. Reed wrote:
> 
> > The configure script for popt for ORBit has:
> > 
> > echo "configure:2325: checking for GNU xgettext" >&5
> > xgettext --version 2>&1 | grep 'GNU gettext' >/dev/null 2>&1 || { echo
> > "configure: error:
> > *** GNU gettext is required. The latest version
> > *** is always available from ftp://ftp.gnu.org/gnu/gettext/." 1>&2; exit
> > 1; }
> > 
> > (I have gettext-0.10.35nb1.)
> > $ xgettext --version
> > Unrecognized option: -
> 
> You have another xgettext in your path. This is what you're supposed
> to see:
> 
> fredb@handy-> xgettext --version
> xgettext (GNU gettext) 0.10.35
> Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> Written by Ulrich Drepper.

You are right -- I do.

/usr/X11R6/bin/xgettext is the first one in my path, plus I have
/usr/pkg/bin/xgettext. (The man page for xgettext doesn't indicate GNU or
X11.)

-r-xr-xr-x  1 root  wheel  24576 Dec 16  1999 /usr/X11R6/bin/xgettext
-r-xr-xr-x  1 root  wheel  69632 Oct 14 00:59 /usr/pkg/bin/xgettext

I am not sure where the X11 one came from, as far as I can tell (tar tzf
on the x sets doesn't show it).

By the way my path is:
/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin:/usr/pkg/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/pkg/sbin

I haven't seen it documented, but does this mean that to use pkgsrc, I
should have /usr/pkg/bin before /usr/X11R6/bin?

Or should I get rid of the one in X11?

Thanks for all the assistance.

   Jeremy C. Reed
   http://www.reedmedia.net/