Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2006 18:36:14 +1100
From:      Sam Lawrance <boris@brooknet.com.au>
To:        mikejs@mbay.net
Cc:        mharo@freebsd.org, freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: FreeBSD Port: mapserver-4.4.1
Message-ID:  <BBF1DB0B-A38E-40B8-B7FE-9E8BC8D250ED@brooknet.com.au>
In-Reply-To: <1137328475.46361.7.camel@freebsd54.san.rr.com>
References:  <1137328475.46361.7.camel@freebsd54.san.rr.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BBF1DB0B-A38E-40B8-B7FE-9E8BC8D250ED>