From owner-freebsd-stable@FreeBSD.ORG Wed Mar 17 18:37:21 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC9C316A4CE for ; Wed, 17 Mar 2004 18:37:20 -0800 (PST) Received: from xraided.net (xraided.net [66.88.26.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FFEB43D1F for ; Wed, 17 Mar 2004 18:37:20 -0800 (PST) (envelope-from kyle@xraided.net) Received: from [66.88.29.118] (account kyle HELO kyle) by xraided.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1653406; Wed, 17 Mar 2004 18:37:20 -0800 From: "kyle" To: "'Jared ''Danger'' Earle'" Date: Wed, 17 Mar 2004 18:37:20 -0800 Message-ID: <000001c40c91$ef9531e0$800101df@kyle> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-stable@freebsd.org Subject: RE: mod_php4 and portupgrade X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 02:37:21 -0000 Ok, so, apparently I'm a miserable failure... I changed my MAKEARGS section accordingly: 'lang/php4' => 'BATCH=YES WITH_CTYPE=yes WITH_CURL=yes WITH_EXIF=yes WITH_FTP=yes WITH_GD=yes WITH_MYSQL=yes WITH_OPENSSL =yes WITH_OVERLOAD=yes WITH_PCRE=yes WITH_POSIX=yes WITH_POSTGRESQL=yes WITH_SESSION=yes WITH_TOKENIZER=yes WITH_XML=yes WITH_ZLIB=yes', However, after running "portinstall php4", this comes up: In file included from /usr/ports/lang/php4/work/php-4.3.4/ext/gd/libgd/gdft.c:63: /usr/local/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h' hasn't been included yet!" /usr/local/include/freetype2/freetype/freetype.h:21: #error "Please always use macros to include FreeType header files." /usr/local/include/freetype2/freetype/freetype.h:22: #error "Example:" /usr/local/include/freetype2/freetype/freetype.h:23: #error " #include " /usr/local/include/freetype2/freetype/freetype.h:24: #error " #include FT_FREETYPE_H" *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.3.4. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall70434.0 make BATCH=YES WITH_CTYPE=yes WITH_CURL=yes WITH_EXIF=yes WITH_FTP=yes WITH_GD=yes WITH_MYSQL=yes WITH_OPENSSL=yes WITH_OVERLOAD=yes WITH_PCRE=yes WITH_POSIX=yes WITH_POSTGRESQL=yes WITH_SESSION=yes WITH_TOKENIZER=yes WITH_XML=yes WITH_ZLIB=yes ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/php4 (unknown build error) I assume if I take out GD support it would work, however, for my online picture gallery, I need this support. I even tried a couple other things: "portinstall mod_php4" with lang/php4 in pkgtools.conf, and also tried both with www/mod_php4 in pkgtools.conf... neither worked. This seems very odd to me that I'm having all these problems soon as I try to futz with it, especially since I've never run into problems with the mod_php4 port... Oh well. Any ideas? -Kyle Mott -----Original Message----- From: Jared ''Danger'' Earle [mailto:jared@23x.net] Sent: Wednesday, March 17, 2004 4:20 PM To: kyle Cc: freebsd-stable@freebsd.org Subject: Re: mod_php4 and portupgrade On 17 Mar 2004, at 22:37, kyle wrote: > Ok. When I do "portinstall mod_php4" (or make install/make > reinstall/portupgrade), it still comes up with that gui for me to > choose > which options I want... I don't want this gui to come up... I want to > be > able to use make install/reinstall, portinstall/portupgrade w/o having > to always specify which options I want to use. Isn't there a way to do > this? I believe I was closer before, in setting up pkgtools.conf... Any > ideas? Set 'BATCH=YES' in /usr/local/etc/pkgtools.conf to remove the GUI thing. Oh, and use lang/php4 and not mod_php4 these days. The port of www/mod_php4 is a placeholder for lang/php4. jearle@debaser$ grep lang /usr/ports/www/mod_php4/Makefile # Makefile of the master port (lang/php4). MASTERDIR= ${.CURDIR}/../../lang/php4 jearle@debaser$ grep -A10 'lang/php4' /usr/local/etc/pkgtools.conf 'lang/php4' => 'WITH_APACHE2=YES BATCH=YES WITH_GD=YES WITH_ZLIB=YES WITH_BZIP2=YES WITH_MCRYPT=YES WITH_MHASH=YES WITH_PDFLIB=YES WITH_IMAP=YES WITH_MYSQL=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_ZIP=YES WITH_DOMXSLT=YES WITH_CTYPE=YES WITH_DOMXML=YES WITH_CALENDAR=YES WITH_SESSION=YES WITH_PCRE=YES WITH_POSIX=YES WITH_TOKENIZER=YES', I hope this helps. -- Jared Earle, Nightfall Games, jared@23x.net - http://www.23x.net "Watashi-wa shin no SUPORUKU desu"