rolling my own php 5.2.3 with macports gd2 fails

Randall Perry listsub at
Sat Jun 30 18:53:03 PDT 2007

Ryan Schmidt wrote:
> On Jun 30, 2007, at 15:55, Randall Perry wrote:
>> I'm rolling my own php outside of macports.
> Any particular reason you're not using the MacPorts php5 port? 
> Anything we could change in the php5 port that would make it more 
> useful to you?
Generally, if I can build something myself, I will. I like to have 
complete control (and I can upgrade when I want, rather than waiting for 
the latest port to come out). When I run into problems that take too 
much time then I'll go with a macports or fink build.

If the easiest way for me to get gd into php is build a macports php 
then that's what I'll do. I just thought there might be a known issue 
that would allow me to continue to roll my own.

If I can get all the options shown below in my config command with 
macports that'd be great (with path changes where appropriate):

        ./configure \
        --with-gd=/opt/local \
        --with-png-dir=/opt/local \
        --with-jpeg-dir=/opt/local \
        --with-freetype-dir=/opt/local \
        --enable-ftp \
        --with-apxs=/usr/local/apache/bin/apxs \
        --with-pgsql \
        --with-xml \
        --enable-mbstring \
        --enable-mbregex \
        --enable-exif \
        --with-openssl \
        --with-openssl-dir=/usr/local/ssl \
        --with-pear --with-curl=/usr/local/lib \
        --with-mysql=/usr/local/mysql \
        --enable-imap \
        --with-imap=/usr/local/imap-2004a \
        --with-imap-ssl=/usr/local/imap-2004a \
        --with-zlib \

Randall Perry

Xserve Web Hosting/Co-location/Leasing
QuickTime Streaming
Mac Consulting/Sales

More information about the macports-users mailing list