From owner-freebsd-questions Sat Sep 28 7:13:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 148F937B401 for ; Sat, 28 Sep 2002 07:13:09 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 2A35243E6A for ; Sat, 28 Sep 2002 07:13:07 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 5481 invoked from network); 28 Sep 2002 14:12:58 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 28 Sep 2002 14:12:58 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id CE2312FDAB2; Sat, 28 Sep 2002 16:12:41 +0200 (CEST) Date: Sat, 28 Sep 2002 16:12:41 +0200 From: Roman Neuhauser To: Jens Rehsack Cc: Inge Thorin Eids?ther , freebsd-questions@freebsd.org Subject: Re: Upgrading ports from sources outside ports tree Message-ID: <20020928141241.GT30361@freepuppy.bellavista.cz> Mail-Followup-To: Jens Rehsack , Inge Thorin Eids?ther , freebsd-questions@freebsd.org References: <20020927174436.1cf77f4d.webdude@phreaker.net> <3D954338.2A5991DA@liwing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D954338.2A5991DA@liwing.de> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # rehsack@liwing.de / 2002-09-28 07:50:48 +0200: > "Inge Thorin Eids?ther" wrote: > > I need to rebuild mod_php4 (for Apache2) from the latest sources, > > because of a bug that (among other things) causes the file_exists > > function in php 4.2.3 to work incorrectly. The bug has been fixed > > in the latest sources, but these are (as far as I can tell) not > > in the FreeBSD ports tree yet. > > > > Is there some manual way to do it that does not require me to be > > an experienced programmer? I tried renaming the source tarball to > > that of the old one, and build with NO_CHECKSUM=yes > > (and WITH_APACHE2=yes), but the thing blew up complaining about > > patches that failed to apply cleanly. > > Your main problem is, that the PHP4-dev (cvs snapshot) requires > libtool 1.4, but there's only 1.3 in ports tree. That's not actually a problem. Libtool compiles cleanly on FreeBSD (precisely: I have never had a single problem), so you can just * download required versions of libtool and other autotools (automake, autoconf...), and install them in, say, /opt. * configure, and compile php: % PATH=/opt/bin:$PATH ./buildconf % PATH=/opt/bin:$PATH ./configure --with-this --enable-that i don't use apache-2.0 yet (especially as the php4 developers themselves say combination of apache-2.0 with php4 is alpha quality at best), but this has always worked for me building HEAD checkouts which i need to get decent CLI support. > There is a php4-developer, derick@php.net, he is a very cooperatively > person, he runs php4-dev under FreeBSD, maybe he can help you. Derick Rethans is indeed one of the greatest assets of the php community. -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 4:04PM up 10 days, 23:19, 13 users, load averages: 0.01, 0.04, 0.00 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message