From owner-freebsd-questions@FreeBSD.ORG Tue Jul 27 14:35:53 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 C762E1065672 for ; Tue, 27 Jul 2010 14:35:53 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5F1E68FC13 for ; Tue, 27 Jul 2010 14:35:53 +0000 (UTC) Received: by wyj26 with SMTP id 26so3801152wyj.13 for ; Tue, 27 Jul 2010 07:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=qBYD5EuuvJtcH36WLqcyD3n+culqHAfn+MeskoxgJas=; b=TgUv3sVj0/JWI7DNPZFxbu9G/8TQ9BSSOk43/RzQ8FRz17/re+8xAhpjyKOiu/KkqO AKz10WxPkDDBjV4yNOzPleniC/0TpDrVTnG0Cn7sGzZsApjIjenLlB2Uu5/MTB380HdN NyNv5Y7F1ygQUyqxcpCa4O0SR6gf9wECn8V0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=I+5oqRtcaQg8ErhlsqEsm8qHaG7aKzhXaWD7/MUHgyqlBTNhMgjJfdu04218ETAcU5 hfflAfUr6SAukRuzkZIb/uzcA3+zmp+PW3UIWu1noxrBCp3M9/Mr970bZpIiFhgMoQj2 bW3WbMixQ4k5cLhDSsnY6uL1PqOH6aeNcYmBw= MIME-Version: 1.0 Received: by 10.227.69.17 with SMTP id x17mr9037786wbi.87.1280241352276; Tue, 27 Jul 2010 07:35:52 -0700 (PDT) Received: by 10.216.171.10 with HTTP; Tue, 27 Jul 2010 07:35:52 -0700 (PDT) Date: Tue, 27 Jul 2010 14:35:52 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Gary Kline Subject: Re: popt-1.50 or better?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 14:35:53 -0000 >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.