Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2000 09:52:03 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        "Chris D. Faulhaber" <jedgar@fxp.org>
Cc:        ports@freebsd.org
Subject:   Fixed - Re: news/pan port broken?
Message-ID:  <20000423095203.A233@parish>
In-Reply-To: <20000423030315.H232@parish>; from mark@ukug.uk.freebsd.org on Sun, Apr 23, 2000 at 03:03:15AM %2B0100
References:  <20000423022937.G232@parish> <Pine.BSF.4.10.10004222140460.3582-100000@pawn.primelocation.net> <20000423030315.H232@parish>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 23, 2000 at 03:03:15AM +0100, Mark Ovens wrote:
> On Sat, Apr 22, 2000 at 09:41:26PM -0400, Chris D. Faulhaber wrote:
> > On Sun, 23 Apr 2000, Mark Ovens wrote:
> > 
> > > On Sat, Apr 22, 2000 at 09:20:54PM -0400, Chris D. Faulhaber wrote:
> > > > On Sun, 23 Apr 2000, Mark Ovens wrote:
> > > > 
> > > > > > How old/what version is your gtk12 port?
> > > > > > 
> > > > > 
> > > > > parish# pv -v | grep gtk
> > > > > gtk-1.0.6,1.2.6             ?   multiple versions (index has 1.0.6,1.2.7)
> > > > > parish# 
> > > > > 
> > > > > I need to u/g to 1.2.7, yes?
> > > > > 
> > > > 
> > > > You shouldn't need to.  gettext has been a LIB_DEPEND for gtk+ since
> > > > 1.2.0, and a BUILD_/RUN_DEPEND before that.  The issue may be why gettext
> > > > wasn't installed with 1.2.6.
> > > > 
> > > 
> > > It was:
> > > 
> > > parish# pv -v | grep gettext
> > > gettext-0.10.35             =   up-to-date
> > > parish# 
> > > 
> > > Ah, just a thought, AFAIK gtk was installed when I was still running
> > > 3.4-STABLE, could it be that the port(s) need rebuilding now I'm on
> > > 4-STABLE?
> > > 
> > 
> > Shouldn't need to, but can't hurt trying.
> > 
> 
> Hmm, I u/g gtk to 1.2.7 (which required me to u/g glib-1.2.6 to 1.2.7)
> but pan failed with the same errors, so I re-built gettext-0.10.35 but
> still pan fails to build with the same errors :(
> 
> Where to now?
> 

I've found (and fixed) the problem. Closer inspection of the error
messages show it to be the check for xgettext in
/usr/ports/devel/ORBit/work/ORBit-0.5.1/popt/configure:

	echo $ac_n "checking for GNU xgettext""... $ac_c" 1>&6
	echo "configure:2282: checking for GNU xgettext" >&5
	xgettext --version 2>&1 | grep 'GNU gettext' >/dev/null 2>&1
	|| { echo "configure: error:
[snip]

turns out I have 2 versions of xgettext:

# ls -l `which -a xgettext`
-rwxr-xr-x  1 root  wheel  14504 Sep 19  1999 /usr/X11R6/bin/xgettext
-r-xr-xr-x  1 root  wheel  55552 Apr 23 02:57 /usr/local/bin/xgettext

# /usr/X11R6/bin/xgettext --version
Unrecognized option: -

usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>]
            ... [-p<path>] [-x<xlist>] - | file
       xgettext -h (HELP)
No input files specified, exiting ...

usage: xgettext [-adnuv] [-c<flag>] [-m<tag>] [-o<default>]
            ... [-p<path>] [-x<xlist>] - | file
       xgettext -h (HELP)
# /usr/local/bin/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.

and /usr/X11R6/bin was before /usr/local/bin in my $PATH. Swapping them
around fixed the problem:)

Thanks for your help.

> > -----
> > Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
> > --------------------------------------------------------
> > FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
> > 
> 
> -- 
>         ...and on the eighth day God created UNIX
> ________________________________________________________________
>       FreeBSD - The Power To Serve http://www.freebsd.org
>       My Webpage http://ukug.uk.freebsd.org/~mark/
> mailto:mark@ukug.uk.freebsd.org             http://www.radan.com
> 

-- 
        ...and on the eighth day God created UNIX
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000423095203.A233>