Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2006 12:34:35 +0000
From:      Mike Sacauskis <mikejs@mbay.net>
To:        freebsd-ports@freebsd.org
Subject:   FreeBSD Port: mapserver-4.4.1
Message-ID:  <1137328475.46361.7.camel@freebsd54.san.rr.com>

next in thread | raw e-mail | index | archive | help
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







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1137328475.46361.7.camel>