Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 18:37:20 -0800
From:      "kyle" <kyle@xraided.net>
To:        "'Jared ''Danger'' Earle'" <jared@23x.net>
Cc:        freebsd-stable@freebsd.org
Subject:   RE: mod_php4 and portupgrade
Message-ID:  <000001c40c91$ef9531e0$800101df@kyle>
In-Reply-To: <F055B8B2-7871-11D8-A844-000A958F180A@23x.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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
<ft2build.h>"
/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"




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?000001c40c91$ef9531e0$800101df>