FreeBSD Port: mapserver-4.4.1
Mike Sacauskis
mikejs at mbay.net
Sun Jan 15 12:34:23 PST 2006
Hi
I was able to get mapserver-4.6.2 to build from source. I first
built /usr/lang/php4 without installing it.
I ran the ./configure --with-zlib=/usr/local/ --with-png=/usr/local/
--with-jpeg=/usr/local/ --with-xpm=/usr/local/
--with-libiconv=/usr/local/ --with-gd=/usr/local/
--with-php=/usr/ports/lang/php4/work/php-4.4.1/
--with-php-regex-dir=/usr/ports/lang/php4/work/php-4.4.1/regex
--with-freetype=/usr/local
I then had to hack the /mapserver-4.6.2/mapscript/php3/Makefile
CFLAGS = -O2 -fPIC -Wall $(PHP_INC) -DUSE_PHP_REGEX -DCOMPILE_DL=1
-DPHP4
PHP_INC = -I$(PHP_SRC_DIR) -I$(PHP_SRC_DIR)/dl -I$(PHP_SRC_DIR)/main \
-I$(PHP_SRC_DIR)Zend -I$(PHP_SRC_DIR)/include \
-I$(PHP_SRC_DIR)/TSRM -I/usr/home/devel/mapserver-4.6.2 \
-I/usr/local/include
Mike Sacauskis
More information about the freebsd-ports
mailing list