Subject: Re: Mozilla Milestone 18
To: Jeremy C. Reed <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 10/14/2000 12:26:57
On Sat, 14 Oct 2000, Jeremy C. Reed wrote:

> On Sat, 14 Oct 2000, Frederick Bruckman wrote:
> > You have another xgettext in your path. This is what you're supposed
> > to see:

> 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).

If it belongs to a package, "pkg_info -F /usr/X11R6/bin/xgettext" may
show you which one.
> 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?

Not generally, no. (Though I do, in fact.) If we are installing
identically named binaries under $X11PREFIX and $LOCALBASE, it will
mess up xpkgwedge, so it's a bug.

> Or should I get rid of the one in X11?

If the misfit xgettext belongs to a package, we should fix it;
otherwise it's your call.