By Rupert
Posts tagged leopard
MacOSX Utilities: iTerm + MarsEdit
Jul 29th
Postgres Clients Update: Navicat and EMS
Jul 28th

Navicat already produced some lite (free) versions for Postgres both for Windows and Mac. Browse over the feature matrix to find out which version works for you. Note that all versions allow you to edit the record which I can’t do in pgadmin3.

A quick look at EMS on Windows (VMWare) is also a note worthy client. Though the MDI interface is a bit complex, one good feature is to able to see your spatial geometry as text and the corresponding SRID immediately…


Installing Mapserver on MacOSX (by source)
Jul 26th
Just noticed that William of kyngchaos has updated the mapserver binary for MacOSX.
But right now, I need to tile these images bought from GeoEye, so I need TIFF support. Below is a summary of getting Mapserver installed by source. Note that I have the necessary GEOS, GDAL from kyngchaos as well from this ealier post.
1. Download the ff files:
-rw-r--r--@ 1 rupert admin 564313 Jul 26 10:32 agg-2.5.tar.gz
-rw-r--r--@ 1 rupert admin 1345700 Jul 26 10:22 gd-2.0.35.tar.gz
-rw-r--r--@ 1 rupert admin 613261 Jul 26 10:22 jpegsrc.v6b.tar.gz
-rw-r--r--@ 1 rupert admin 796551 Jul 26 10:22 libpng-1.2.29.tar.gz
-rw-r--r--@ 1 rupert admin 1948751 Jul 26 09:55 mapserver-5.2.0.tar.gz
-rw-r--r--@ 1 rupert admin 1336295 Jul 26 11:11 tiff-3.8.2.tar.gz
2. Install in the ff order:
- jpegsrc
- libpng
- gd (if you have trouble installing gd, then follow this pdf:installing_gd2_on_os_x_server)
- agg (make only)
- tiff
- mapserver
3. For mapserver, please install using the ff configure switches:
./configure \ --with-agg=/myhome/rupert/mapserver/agg-2.5 \ --with-jpeg \ --with-gd \ --with-freetype \ --with-png \ --with-ogr \ --with-proj \ --with-gd \ --with-httpd=/usr/local/apache2/bin/httpd \ --with-tiff \ --with-wfs \ --with-wcs \ --with-sos \ --with-wmsclient \ --with-wfsclient \ --with-tiff \ --with-gdal=/usr/local/bin/gdal/gdal-config \ --with-geos=/usr/local/bin/geos-config \ --with-postgis=/usr/local/pgsql/bin/pg_config
4. Mapserver output
rupert:mapserver-5.2.0 rupert$ ./mapserv -v MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS INPUT=TIFF INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
Jpeg decoder problem on TileCache on MacOSX Leopard
May 12th
There is a problem with a “jpeg decoder” because Python Imaging Library (PIL) cannot find the jpeg libraries. Remember that we installed kyngchaos UnixIO libraries, therefore the PIL setup.py script should point to use those libraries.
Actually, I even installed the jpegsrc manually. I believe there is no need to do this, since UnixIO Image libraries is sufficient enough for PIL to install. What is important is to ensure that python tests succeeded. Once you get passed that, then installing PIL should work.
1. Extract Imaging-1.1.6.tar.gz 2. Edit setup.py to reflect: JPEG_ROOT="/Library/Frameworks/UnixImageIO.framework/unix" 3. python setup.py build_ext -i 4. If no test fails, then go ahead and install 5. python setup.py install
Installing Apache2.2 ColdFusion8 on Mac OS X Leopard
May 7th
Ok so this post is a bit late as I saw it in my drafts, but better late than never. I did these even before I wrote the PostGres8.3/Postgis/pgRouting post.
1. Apache
reference: http://httpd.apache.org/
./configure –prefix=/usr/local/apache2 –with-m2m=prefork
make
sudo make install
- To start on boot, download apache2startup.tar.gz and extract to your /Library/StartupItems/
2. ColdFusion
- run the installer as you would normally do in any windows/linux installation. I would suggest you put your installation in /opt and not ~ (home) because Leopard might wipe it out when upgrading to a higher OS version.
- should automatically start on boot
- bind coldfusion to apache
- Just in case you need to start it on boot, download coldfusion8Startup.tar.gz
3. Installing mod_python on Apache
$ ./configure –with-apxs=/usr/local/apache2/bin/apxs
$ make
$ sudo make install
Comments