From owner-freebsd-ports@FreeBSD.ORG Wed Mar 14 19:37:49 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CBD716A4CB for ; Wed, 14 Mar 2007 19:37:49 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 5E86B13C458 for ; Wed, 14 Mar 2007 19:37:49 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay7.apple.com (relay7.apple.com [17.128.113.37]) by mail-out4.apple.com (8.13.8/8.13.8) with ESMTP id l2EJbnIU004249 for ; Wed, 14 Mar 2007 12:37:49 -0700 (PDT) Received: from relay7.apple.com (unknown [127.0.0.1]) by relay7.apple.com (Symantec Mail Security) with ESMTP id 3830730083; Wed, 14 Mar 2007 12:37:49 -0700 (PDT) X-AuditID: 11807125-a0c78bb0000007df-e9-45f84f0d7245 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay7.apple.com (Apple SCV relay) with ESMTP id 212A330051; Wed, 14 Mar 2007 12:37:49 -0700 (PDT) In-Reply-To: <9481052.post@talk.nabble.com> References: <9481052.post@talk.nabble.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Wed, 14 Mar 2007 12:37:48 -0700 To: timmartin X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-ports@freebsd.org Subject: Re: php4 port - undefined ref to getopt_long X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 19:37:49 -0000 On Mar 14, 2007, at 11:56 AM, timmartin wrote: > this is all on freebsd 4.11 Please be aware that FreeBSD 4.11 is no longer supported-- the ports framework has been updated in a fashion which is no longer backwards compatible with that version of the OS, so you're going to be rolling your own software from here on out if you want to stay with that version. > 1) a while back i stopped being able to make my own ports index > because of a > bunch of gstreamer-plugins that wouldn't let me "make index" so i > started > having to "make fetchindex" instead. Sometimes this happens when people don't download the entire, complete port tree. Other times, the dependency tree for the Index really is broken...normally, the committers will fix it shortly so re-updating your ports tree a day later will let you rebuild the index locally. It's a moot point now, however. > 2) when i look at "portversion" outputs it seems as though it > doesn't really > know what versions are in the ports tree -- many ports have been > updated and > it doesn't seem to think so. When i ran portupgrade on said ports > it worked > just fine -- just portversion didn't know what was going on. Try running "pkgdb -Fu". > 3) today i stopped being able to build php4 -- i get the following > error > that stops the upgrade: > > ext/standard/basic_functions.lo(.text+0x1507): undefined reference to > `getopt_long' > > Anybody have an idea on how i can fix the situation? The only one that > really sucks is the last problem -- the other two i can live with > although > it'd be nice to fix them too. getopt_long is part of the standard C library under 5.x and later, but is not present in 4.x. If you can't update to a more recent version of FreeBSD, try installing the /usr/ports/devel/libgnugetopt port and convince PHP to build against it. -- -Chuck