From owner-freebsd-questions@FreeBSD.ORG Tue Jul 27 19:00:41 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C073106564A for ; Tue, 27 Jul 2010 19:00:41 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id B26398FC08 for ; Tue, 27 Jul 2010 19:00:40 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o6RJ0dWK042367; Tue, 27 Jul 2010 12:00:39 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 27 Jul 2010 12:00:38 -0700 (PDT) Date: Tue, 27 Jul 2010 12:00:38 -0700 From: Gary Kline To: bf1783@gmail.com Message-ID: <20100727190038.GB76011@thought.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. Cc: freebsd-questions@FreeBSD.org Subject: Re: popt-1.50 or better?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 19:00:41 -0000 On Tue, Jul 27, 2010 at 02:35:52PM +0000, b. f. wrote: > >On Sat, Jul 24, 2010 at 10:53:03PM +0000, b. f. wrote: > >> >here are the last few lines of output from configure, ots-0.5.0: > >> > > >> >checking for pkg-config... /usr/X11R6/bin/pkg-config > >> >checking for glib-2.0 >= 2.0 libxml-2.0 >= 2.4.23... yes > >> >checking OTS_CFLAGS... -I/usr/local/include/glib-2.0 > >> >-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 > >> >-I/usr/local/include > >> >checking OTS_LIBS... -L/usr/local/lib -lglib-2.0 -lxml2 > >> >checking for poptParseArgvString in -lpopt... no > >> >configure: error: popt 1.5 or newer is required to build ots. > >> >You can download the latest version from > >> >ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/ > >> > >> > >> poptParseArgvString is in the $PREFIX/lib/libpopt.so.0 library from > >> our devel/popt port. The latest available version of this software is > >> 1.16, in the Red Hat repos. Look at the configure script to determine > >> why it can't find the symbol. Maybe you need to reinstall devel/popt, > >> or patch the configure script. > >> > > > > > > can anybody tell me how to upgrade just this one file: > > devel/popt? i tried various forms up portupgrade. zip. > > I'm at a loss here. First of all, you mean "upgrade this port", > right? Because devel/popt is a port, not a file. If you have an old > version of devel/popt, it would seem that any of the standard updating > tools would work. If you just want to reinstall it, you could simply: > > cd /usr/ports/devel/popt && make deinstall clean install && make clean > > Then you could check your libpopt.so.0: > > ldconfig -vr | fgrep popt > objdump -T /usr/local/lib/libpopt.so.0 | fgrep poptParseArgvString > > Of course, I've assumed that PREFIX=LOCALBASE=/usr/local and > PORTSDIR=/usr/ports. Make the proper substitutions if they aren't. > > I don't see any error logs or an IGNORE for textproc/ots, so I'm > assuming that it builds properly on the package-building cluster. If > that's the case, then there is something wrong with _your_ build: a > corrupted file, polluted environment, error after autodetection, etc. > But we won't know what is wrong until you show the corresponding part > of the configure script and errors in the config.log. > > b. i already did the make deinstall reinstall. so, looks like i do have the latest version. also, yup: p2 11:54 [5898] objdump -T /usr/local/lib/libpopt.so.0 | fgrep poptParseArgvString 00004400 g DF .text 00000212 Base poptParseArgvString tx for the clue. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel