[Mapserver-users] FreeBSD port

Jason Thaxter thaxter at gomoos.org
Tue Jun 1 17:48:23 EDT 2004


--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I made a PostGIS port (attached). It might be useful, or it may not work in
your particular circumstance.

On Mon, May 24, 2004 at 07:53:49PM -0500, Douglas K. Rand wrote:
> I have for quite a while wanted a mapserver entry in the FreeBSD ports
> collection (http://www.freebsd.org/ports) so that I could install
> Mapserver really easily on my FreeBSD boxes. Well, since
> procrastination didn't seem to be doing the trick, I decided to see if
> doing actual work would help.  I'm sorry to report that it seems to
> have helped. :)
> 
> I have a specific question about the configuration of mapserver and
> GD. Assuming that GD was correctly built and that the GD build
> includes JPEG, PNG, and FreeType (all of which are true if you build
> GD via the FreeBSD port) is it safe to leave off the --with-jpeg,
> --with-png, and --with-freetype options to mapserver's configure
> script? I have done so, and it seems to be working. 

Be careful that this isn't an accident... The best way to do this sort of
thing is to check the output of ./configure carefully and see if it's checking
for the presence of these libraries and autodetecting them correctly.

> The issue is that
> by having the Mapserver port depend on the GD port, GD gets built just
> fine and includes JPEG, PNG, and FreeType, and I don't want to
> duplicate those paths in the Mapserver port.

This is a good thing - the FreeBSD port of GD requires, so you can safely
assume they are installed.

> 
> Here, for your review and comments, is a FreeBSD port for Mapserver. 
> The knobs for TIFF, MING, PDF, WMS, GDAL, POSTGRESQL, and PHP are
> largely untested, they are my attempt to make the port complete. We
> don't use those features of Mapserver.

Perhaps you'd want to dump the Postgresql knob in favor of a PostGIS knob,
which would take care of it for you? One thing I know my port lacks, because
it's complicated, is support for Postgresql versions other than the "current"
version; that's not done elegantly.

> 
> Any and all comments are welcome.  I'm heading over to the bike shed
> now. 

Good luck!



-- 
----------------------------------------------
Jason Thaxter
GoMOOS, P.O. Box 4919, Portland, ME 04112-4919
Office Location: 1 Canal Plaza, 7th Floor
Office: 207.773.0423
Fax:    207.773.8672
Email:  thaxter at gomoos.org
------------www.gomoos.org--------------------

--yrj/dFKFPuw6o+aM
Content-Type: application/x-tar-gz
Content-Disposition: attachment; filename="postgis-port.tgz"
Content-Transfer-Encoding: base64

H4sIAATfq0AAA+1YbW/aSBDOV/ZXzLWJ2uiC8SukqNyVgJvSBshh0nw5CS32Am78wnmX0lyV
/36zxqbQtEGVUO5O9SMh7J3ZednZ2Zm1RwUdU854ZR5zMfV55WDvUFVTrVkW/qtazdI2/3Mc
aKpq6TWrZpjGgaoZlmEdgLV/U+5jwQVNAA7C+JPPHuDbRf+fwrsX//nNtOwx7iZ706FicKum
+d3413RjFX9dM0wNxzXL0DD+6t4seAA/efzJJYb9vOMA9TwOfDGfx4mASZzAlMXThM5nvgvx
+ANzBQcRg5gxkFOmCXP+uMgo5YQFVPhxRAOSbygFOhGwyQTJJ5ArecLnyEeD4BZYRMcB40++
lshZ8pElJwSZ4qUfTcEXUu+YwYIzDygHCmPq3rDIg0wa5Dq/ttuPcCBMLSP8lgsWcniOdhyf
QLhwZxD4NwxsZ9B5xsFp24Cz+wl1AybfM9nsk2ARRwlK7gWZxNI2nlren7Mo9czxw3nA4DWj
YpEwOZ+5/sR3U+2pYejdE6Bo9tIPAnSI8MU49IVAryTZjVGATyOXgWBcSNepAFwLqRw0RVUI
ub6+rsNMiHm9kuerkrAJ2iy1cCViokJ+KP7389/zpfJJvL89tiv/1Vr16/zXrWqR/4+BbtuC
51noy6pyqmgKrocy/fsYGqDr1dOJarxg5otTRqkxsaiqW6f0hUmtGjPVH9tqBf6DuJ//XXrD
Jn6wx72+I/91mexp/huqVjXT/NeqWpH/j4GnWODqgjdM8hTrW4JF3sXqxtJ6AmG2FWR9qpfm
qyLN/wrK2V7BOW0qGLgJVj3m1Usp3i6wvGvaCeiqaiDL9SwOMxISKUfBwxnFsprAS7F6eDWN
wzjmSpxMfyNPcc7h64SxM6d9iG/ksj8Y9ppdu1Eq5Yrl0Ht74HT6vUYpPbZIqzm0z/uDju0g
33pbk27TGdqDkdMZSsKO2gl/EmlkxrVcLpUvhlW8eBkFMfV4Z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