rolling my own php 5.2.3 with macports gd2 fails

Randall Perry listsub at systame.com
Sat Jun 30 09:24:38 PDT 2007


config succeeds, but make fails. My config command and make errors 
appear below. If I remove --with-gd from config, make succeeds.

Anyone else run into this?

config command
--------------------------
        ./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 \
        --with-zlib-dir=/opt/local/lib

make errors
--------------------
/usr/bin/ld: Undefined symbols:
_gdFontCacheShutdown
_gdImageAlphaBlending
_gdImageColorAllocateAlpha
_gdImageColorClosestAlpha
_gdImageColorExactAlpha
_gdImageColorResolveAlpha
_gdImageCopyResampled
_gdImageCreateFromGif
_gdImageCreateFromGifCtx
_gdImageCreateTrueColor
_gdImageFilledArc
_gdImageFilledEllipse
_gdImageGifCtx
_gdImagePngCtxEx
_gdImageSaveAlpha
_gdImageSetThickness
_gdImageStringFTEx
_gdImageTrueColorToPalette
_gdNewDynamicCtxEx
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1

-- 
Randall Perry





More information about the macports-users mailing list