FreeBSD Port: mapserver-4.4.1

Sam Lawrance boris at brooknet.com.au
Sun Jan 15 23:36:20 PST 2006


[mapserver maintainer CC'ed]

On 15/01/2006, at 11:34 PM, Mike Sacauskis wrote:

> 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

That's great.  Perhaps you could have a go at updating the port?  Let  
me know if you need some help.

Check out the Porter's Handbook if it's you need more information.



More information about the freebsd-ports mailing list