From owner-freebsd-ports@FreeBSD.ORG Tue Feb 15 18:18:42 2005 Return-Path: Delivered-To: freebsd-ports@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 162CB16A4CE for ; Tue, 15 Feb 2005 18:18:42 +0000 (GMT) Received: from mta10-winn.mailhost.ntl.com (smtpout18.mailhost.ntl.com [212.250.162.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFA6A43D31 for ; Tue, 15 Feb 2005 18:18:40 +0000 (GMT) (envelope-from sfromley@ntlworld.com) Received: from aamta07-winn.mailhost.ntl.com ([212.250.162.8]) by mta10-winn.mailhost.ntl.com with ESMTP <20050215181839.YTFX20856.mta10-winn.mailhost.ntl.com@aamta07-winn.mailhost.ntl.com>; Tue, 15 Feb 2005 18:18:39 +0000 Received: from [192.168.124.185] (really [82.5.122.241]) by aamta07-winn.mailhost.ntl.com with ESMTP <20050215181839.PYRV3971.aamta07-winn.mailhost.ntl.com@[192.168.124.185]>; Tue, 15 Feb 2005 18:18:39 +0000 Received: from 127.0.0.1 (AVG SMTP 7.0.300 [265.8.8]); Tue, 15 Feb 2005 18:18:57 +0000 Message-ID: <42123D0F.6030301@ntlworld.com> Date: Tue, 15 Feb 2005 18:18:55 +0000 From: Eliot Earle User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en To: Mike Hunter References: <20050214193701.GA23360@ack.Berkeley.EDU> <20050214204341.GB82128@graf.pompo.net> <20050215174822.GA1140@ack.Berkeley.EDU> In-Reply-To: <20050215174822.GA1140@ack.Berkeley.EDU> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed cc: freebsd-ports@www.freebsd.org Subject: Re: More PHP issues (Was: php4-pear / phpize problem) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 18:18:42 -0000 Mike Hunter wrote: > When I try to install /usr/ports/www/mod_php4, I end up not being able to > install pear, because pear says that it needs /usr/local/bin/php, but I > can't install /usr/ports/lang/php4 because it conflicts with mod_php :( > My understanding is that anything that used to require mod_php4 now works with lang/php4 instead. so get rid of mod_php4 completely and get lang/php4 working. There's a lengthy MAKE_ARGS stanza in my /usr/local/etc/pkgtools.conf for lang/php4 that goes something like this (all on one line): 'lang/php4' => 'BATCH=YES WITH_GD=YES WITH_ZLIB=YES WITH_BZIP2=YES WITH_MCRYPT=YES WITH_MHASH=YES WITH_PDFLIB=YES WITH_IMAP=YES WITH_OPENSSL=YES WITH_MYSQL=YES WITH_SQLITE=YES WITH_XML=YES WITH_XMLRPC=YES WITH_XSLT=YES WITH_WDDX=YES WITH_DOMXML=YES WITH_FTP=YES WITH_CURL=YES WITH_GETTEXT=YES WITH_ICONV=YES WITH_PSPELL=YES WITH_MIME=YES WITH_MBSTRING=YES WITH_YP=YES WITH_BCMATH=YES WITH_HYPERWAVE=YES WITH_MCVE=YES WITH_MING=YES WITH_MCAL=YES WITH_SOCKETS=YES WITH_SYSVSEM=YES WITH_SYSVSHM=YES WITH_OPENLDAP=YES WITH_CALENDAR=YES WITH_SESSION=YES WITH_ZIP=YES WITH_DOMXSLT=YES WITH_CTYPE=YES WITH_PCRE=YES WITH_POSIX=YES WITH_TOKENIZER=YES', That should make 'portinstall'ing it easier. you probably want WITH_APACHE2=YES in there too, if that's what you're using. Once you have apache2 and lang/php4 working, you can move on to beating perl and pear into submission. pear-PEAR is dodo-esque, too. You want devel/php4-pear these days. Although something will always install pear-PEAR for you when you're not looking. It's impossible to get rid of it completely, and the ports implementation is (imho) *hateful*. perl 5.8.5 is best replaced with 5.8.6_2 (read the UPDATING caveat first) and at least then you won't be chasing use.perl around. That's my understanding, anyway. But I'm no expert. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005