<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mobile and gis dev notes &#187; Uncategorized</title>
	<atom:link href="http:///wordpress/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>/wordpress</link>
	<description>by rupert</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:26:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>homebrew + python</title>
		<link>/wordpress/2011/12/homebrew-python/</link>
		<comments>/wordpress/2011/12/homebrew-python/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 21:14:06 +0000</pubDate>
		<dc:creator>rupert</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">/wordpress/?p=1140</guid>
		<description><![CDATA[Read http://docs.python-guide.org/en/latest/starting/installation/ Installation /usr/local/Cellar% brew install python --framework ==&#62; Downloading http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2 File already downloaded in /Users/rupert/Library/Caches/Homebrew ==&#62; Patching patching file Lib/whichdb.py Hunk #1 succeeded at 91 with fuzz 1. ==&#62; ./configure --prefix=/usr/local/Cellar/python/2.7.2 --enable-framework=/usr/local/Cellar/python/2.7.2/Frameworks ==&#62; make ==&#62; make install ==&#62; Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.24.tar.gz File already downloaded in /Users/rupert/Library/Caches/Homebrew ==&#62; /usr/local/Cellar/python/2.7.2/bin/python setup.py install ==&#62; Caveats A &#34;distutils.cfg&#34; has [...]]]></description>
			<content:encoded><![CDATA[<p>Read <a href="http://docs.python-guide.org/en/latest/starting/installation/">http://docs.python-guide.org/en/latest/starting/installation/</a></p>
<p><strong>Installation</strong></p>

<div class="wp_syntax"><div class="code"><pre class="terminal" style="font-family:monospace;">/usr/local/Cellar% brew install python --framework
==&gt; Downloading http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.bz2
File already downloaded in /Users/rupert/Library/Caches/Homebrew
==&gt; Patching
patching file Lib/whichdb.py
Hunk #1 succeeded at 91 with fuzz 1.
==&gt; ./configure --prefix=/usr/local/Cellar/python/2.7.2 --enable-framework=/usr/local/Cellar/python/2.7.2/Frameworks
==&gt; make
==&gt; make install
==&gt; Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.24.tar.gz
File already downloaded in /Users/rupert/Library/Caches/Homebrew
==&gt; /usr/local/Cellar/python/2.7.2/bin/python setup.py install
==&gt; Caveats
A &quot;distutils.cfg&quot; has been written to:
  /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils
specifing the install-scripts folder as:
  /usr/local/share/python
&nbsp;
If you install Python packages via &quot;python setup.py install&quot;, easy_install, pip,
any provided scripts will go into the install-scripts folder above, so you may
want to add it to your PATH.
&nbsp;
Distribute has been installed, so easy_install is available.
To update distribute itself outside of Homebrew:
    /usr/local/share/python/easy_install pip
    /usr/local/share/python/pip install --upgrade distribute
&nbsp;
See: https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python
&nbsp;
Framework Python was installed to:
  /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework
&nbsp;
You may want to symlink this Framework to a standard OS X location,
such as:
    mkdir ~/Frameworks
    ln -s &quot;/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework&quot; ~/Frameworks
==&gt; Summary
/usr/local/Cellar/python/2.7.2: 4808 files, 77M, built in 86 seconds
brew install python --framework  76.78s user 21.49s system 112% cpu 1:27.00 total</pre></div></div>

<p><strong>Symlinks</strong></p>
<p>The following links were created below to ensure that 2.7 is the latest Python picked up during installation of other software (i.e postgresql)</p>

<div class="wp_syntax"><div class="code"><pre class="terminal" style="font-family:monospace;">sudo ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7 /System/Library/Frameworks/Python.framework/Versions/2.7
sudo ln -s /usr/local/share/python/easy_install /usr/bin/easy_install
sudo ln -s /usr/local/share/python/easy_install-2.7 /usr/bin/easy_install-2.7
sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /usr/bin/python2.7
sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config /usr/bin/python2.7-config
sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/bin/pydoc2.7 /usr/bin/pydoc2.7
sudo ln -s /usr/bin/python2.7 /usr/bin/python
sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7 /System/Library/Frameworks/Python.framework/Versions/Current
mkdir -p /Library/Python/2.7
ln -s /usr/local/lib/python2.7/site-packages /Library/Python/2.7/site-packages</pre></div></div>

<p><strong>Site-Packages. Where?</strong></p>
<p>Note that <strong>site-packages</strong> will be installed in</p>

<div class="wp_syntax"><div class="code"><pre class="terminal" style="font-family:monospace;">/usr/local/lib/python2.7/site-packages</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="terminal" style="font-family:monospace;">~% ls -la /Library/Python/2.6/site-packages
total 136
drwxrwxr-x  14 root    admin    476 30 Dec 18:13 ./
drwxrwxr-x   4 root    admin    136 30 Dec 18:11 ../
-rw-r--r--@  1 rupert  admin   6148 30 Dec 18:13 .DS_Store
-rw-rw-r--   1 root    admin    119 11 Feb  2010 README
-rw-r--r--   1 rupert  admin    241 30 Dec 18:01 easy-install.pth
-rw-r--r--   1 rupert  admin   3129 30 Dec 18:02 googlemaps-1.0.2-py2.6.egg-info
-rw-r--r--   1 rupert  admin  19703 16 Oct  2009 googlemaps.py
-rw-r--r--   1 rupert  admin  19153 30 Dec 18:02 googlemaps.pyc
drwxr-xr-x  39 root    admin   1326  7 Feb  2010 mod_python/
-rw-r--r--   1 root    admin    267  7 Feb  2010 mod_python-3.3.2_dev_20080819-py2.6.egg-info
drwxr-xr-x   8 rupert  admin    272 30 Dec 18:13 nominatim/
-rw-r--r--   1 rupert  admin   4462 30 Dec 18:08 nominatim-0.90-py2.6.egg
drwxr-xr-x  15 rupert  admin    510 30 Dec 18:01 simplejson/
drwxr-xr-x   4 rupert  admin    136 30 Dec 18:13 simplejson-2.3.1-py2.6.egg/
~% ls -la /Library/Python/2.7/site-packages
lrwxr-xr-x  1 root  admin  38 30 Dec 18:23 /Library/Python/2.7/site-packages@ -&gt; /usr/local/lib/python2.7/site-packages</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="terminal" style="font-family:monospace;">~% which python
/usr/local/bin/python
~% python --version
Python 2.7.2</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>/wordpress/2011/12/homebrew-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PHP on OSX</title>
		<link>/wordpress/2011/12/installing-php-on-osx/</link>
		<comments>/wordpress/2011/12/installing-php-on-osx/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 09:22:20 +0000</pubDate>
		<dc:creator>rupert</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">/wordpress/?p=1132</guid>
		<description><![CDATA[I need wordpress + nominatim running on OSX and since it uses php&#8230; http://www.php.net/manual/en/install.unix.apache2.php 1. Installation ./configure --prefix=/usr/local/php-5.3.8 --with-mysql --with-pgsql=/usr/local/postgresql --with-apxs2=/usr/local/apache2/bin/apxs make sudo make install rupert-mbp~/Desktop/php-5.3.8% sudo make install Password: Installing PHP SAPI module: apache2handler /usr/local/apache2.2.14/build/instdso.sh SH_LIBTOOL='/usr/local/apache2.2.14/build/libtool' libs/libphp5.so /usr/local/apache2.2.14/modules /usr/local/apache2.2.14/build/libtool --mode=install cp libs/libphp5.so /usr/local/apache2.2.14/modules/ cp libs/libphp5.so /usr/local/apache2.2.14/modules/libphp5.so Warning! dlname not found in /usr/local/apache2.2.14/modules/libphp5.so. Assuming installing [...]]]></description>
			<content:encoded><![CDATA[<p>I need wordpress + nominatim running on OSX and since it uses php&#8230;</p>
<p><a href="http://www.php.net/manual/en/install.unix.apache2.php">http://www.php.net/manual/en/install.unix.apache2.php</a></p>
<p><strong>1. Installation</strong></p>

<div class="wp_syntax"><div class="code"><pre class="terminal" style="font-family:monospace;">./configure --prefix=/usr/local/php-5.3.8 --with-mysql --with-pgsql=/usr/local/postgresql --with-apxs2=/usr/local/apache2/bin/apxs
make
sudo make install</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="terminal" style="font-family:monospace;">rupert-mbp~/Desktop/php-5.3.8% sudo make install
Password:
Installing PHP SAPI module:       apache2handler
/usr/local/apache2.2.14/build/instdso.sh SH_LIBTOOL='/usr/local/apache2.2.14/build/libtool' libs/libphp5.so /usr/local/apache2.2.14/modules
/usr/local/apache2.2.14/build/libtool --mode=install cp libs/libphp5.so /usr/local/apache2.2.14/modules/
cp libs/libphp5.so /usr/local/apache2.2.14/modules/libphp5.so
Warning!  dlname not found in /usr/local/apache2.2.14/modules/libphp5.so.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2.2.14/modules/libphp5.so
[activating module `php5' in /usr/local/apache2.2.14/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/php-5.3.8/bin/
Installing PHP CLI man page:      /usr/local/php-5.3.8/man/man1/
Installing build environment:     /usr/local/php-5.3.8/lib/php/build/
Installing header files:          /usr/local/php-5.3.8/include/php/
Installing helper programs:       /usr/local/php-5.3.8/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/php-5.3.8/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/local/php-5.3.8/lib/php/
[PEAR] Archive_Tar    - installed: 1.3.7
[PEAR] Console_Getopt - installed: 1.3.0
[PEAR] Structures_Graph- installed: 1.0.4
[PEAR] XML_Util       - installed: 1.2.1
[PEAR] PEAR           - installed: 1.9.4
Wrote PEAR system config file at: /usr/local/php-5.3.8/etc/pear.conf
You may want to add: /usr/local/php-5.3.8/lib/php to your php.ini include_path
/Users/rupert/Desktop/php-5.3.8/build/shtool install -c ext/phar/phar.phar /usr/local/php-5.3.8/bin
ln -s -f /usr/local/php-5.3.8/bin/phar.phar /usr/local/php-5.3.8/bin/phar
Installing PDO headers:          /usr/local/php-5.3.8/include/php/ext/pdo/
sudo make install  5.52s user 9.35s system 79% cpu 18.819 total</pre></div></div>

<p><strong>2. Configuration</strong><br />
Specify php.ini per virtualhost<br />
<VirtualHost 127.0.0.1:80><br />
  PHPINIDir /etc<br />
</VirtualHost></p>
]]></content:encoded>
			<wfw:commentRss>/wordpress/2011/12/installing-php-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>homebrew + php</title>
		<link>/wordpress/2011/11/homebrew-php/</link>
		<comments>/wordpress/2011/11/homebrew-php/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 04:09:18 +0000</pubDate>
		<dc:creator>rupert</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">/wordpress/?p=1092</guid>
		<description><![CDATA[Update This is now been depracated and used as reference only. I opted to install php via source here 1. Cleanup existing PHP So by default, OSX Leopard/Snow Leopard?, comes with apache2 and php installed. mv /usr/local/include/php /usr/local/include/php.old mv /usr/local/lib/php /usr/local/lib/php.old 2. Install PHP http://notfornoone.com/2010/07/install-php53-homebrew-snow-leopard/ ~/Desktop% brew install php --with-apache --with-mysql --with-pgsql ==&#62; Installing php [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update</strong><br />
This is now been depracated and used as reference only.  I opted to install php via source <a href="/wordpress/2011/12/installing-php-on-osx/">here</a></p>
<p><strong>1. Cleanup existing PHP</strong><br />
So by default, OSX Leopard/Snow Leopard?, comes with apache2 and php installed.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>include<span style="color: #000000; font-weight: bold;">/</span>php <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>include<span style="color: #000000; font-weight: bold;">/</span>php.old
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>php <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>php.old</pre></div></div>

<p>2. Install PHP</p>
<p><a href="http://notfornoone.com/2010/07/install-php53-homebrew-snow-leopard/">http://notfornoone.com/2010/07/install-php53-homebrew-snow-leopard/</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">~<span style="color: #000000; font-weight: bold;">/</span>Desktop<span style="color: #000000; font-weight: bold;">%</span> brew <span style="color: #c20cb9; font-weight: bold;">install</span> php <span style="color: #660033;">--with-apache</span> <span style="color: #660033;">--with-mysql</span> <span style="color: #660033;">--with-pgsql</span>
==<span style="color: #000000; font-weight: bold;">&gt;</span> Installing php dependency: jpeg
==<span style="color: #000000; font-weight: bold;">&gt;</span> Installing php dependency: mcrypt
==<span style="color: #000000; font-weight: bold;">&gt;</span> Installing php dependency: <span style="color: #c20cb9; font-weight: bold;">gettext</span>
==<span style="color: #000000; font-weight: bold;">&gt;</span> Installing php
....
==<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> .<span style="color: #000000; font-weight: bold;">/</span>php.ini-production <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>5.3.8<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini
==<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">644</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>5.3.8<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>.lock
==<span style="color: #000000; font-weight: bold;">&gt;</span> Caveats
   To <span style="color: #7a0874; font-weight: bold;">enable</span> PHP <span style="color: #000000; font-weight: bold;">in</span> Apache add the following to httpd.conf and restart Apache:
    LoadModule php5_module    <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>5.3.8<span style="color: #000000; font-weight: bold;">/</span>libexec<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>libphp5.so
&nbsp;
    The php.ini <span style="color: #c20cb9; font-weight: bold;">file</span> can be found <span style="color: #000000; font-weight: bold;">in</span>:
      <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>5.3.8<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini
brew <span style="color: #c20cb9; font-weight: bold;">install</span> php <span style="color: #660033;">--with-apache</span> <span style="color: #660033;">--with-mysql</span> <span style="color: #660033;">--with-pgsql</span> 452.56s user 272.47s system <span style="color: #000000;">126</span><span style="color: #000000; font-weight: bold;">%</span> cpu <span style="color: #000000;">9</span>:<span style="color: #000000;">31.75</span> total</pre></div></div>

<p>The most important here is the compiled libphp5.so which we will hook into apache2.</p>
<p><strong>3. Hookup Apache2 to libphp5</strong><br />
Depending on your installation, edit httpd.conf and make sure you have this line</p>

<div class="wp_syntax"><div class="code"><pre class="conf" style="font-family:monospace;">LoadModule php5_module    /usr/local/Cellar/php/5.3.8/libexec/apache2/libphp5.so</pre></div></div>

<p><strong>4. Test</strong></p>

<div class="wp_syntax"><div class="code"><pre class="terminal" style="font-family:monospace;">% php -m #List all php modules
mysql
mysqli
pdo_mysql
pdo_pgsql
pgsql
/usr/local/bin% l php #brew makes the symlinks
lrwxr-xr-x  1 rupert  admin    27B 14 Nov 14:42 php@ -&gt; ../Cellar/php/5.3.8/bin/php</pre></div></div>

<p>Well if you have a wordpress site, you can test if the whole thing works.</p>
<p><strong>5. Restart Apache</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>StartupItems<span style="color: #000000; font-weight: bold;">/</span>Apache2<span style="color: #000000; font-weight: bold;">/</span>Apache2 restart</pre></div></div>

<p><strong>UPDATE: Dec 19, 2011</strong><br />
Maintaining php installations via homebrew is such a pain. I reverted back via source.<br />
1. Download php from source<br />
2. Configure</p>

<div class="wp_syntax"><div class="code"><pre class="conf" style="font-family:monospace;">./configure --prefix=/usr/local/php5.3.8 \
  --mandir=/usr/share/man \
  --infodir=/usr/share/info \
  --sysconfdir=/etc \
  --with-config-file-path=/etc \
  --with-zlib \
  --with-zlib-dir=/usr \
  --with-openssl \
  --without-iconv \
  --enable-exif \
  --enable-ftp \
  --enable-mbstring \
  --enable-mbregex \
  --enable-sockets \
  --with-mysql=/usr/local/mysql \
  --with-pdo-mysql=/usr/local/mysql \
  --with-mysqli=/usr/local/mysql/bin/mysql_config \
  --with-apxs2=/usr/local/apache2/bin/apxs</pre></div></div>

<p>3. Make and Make Install</p>

<div class="wp_syntax"><div class="code"><pre class="terminal" style="font-family:monospace;">~/Desktop/php-5.3.8% sudo make install
Password:
Installing PHP SAPI module:       apache2handler
/usr/local/apache2.2.14/build/instdso.sh SH_LIBTOOL='/usr/local/apache2.2.14/build/libtool' libs/libphp5.so /usr/local/apache2.2.14/modules
/usr/local/apache2.2.14/build/libtool --mode=install cp libs/libphp5.so /usr/local/apache2.2.14/modules/
cp libs/libphp5.so /usr/local/apache2.2.14/modules/libphp5.so
Warning!  dlname not found in /usr/local/apache2.2.14/modules/libphp5.so.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2.2.14/modules/libphp5.so
[activating module `php5' in /usr/local/apache2.2.14/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/php5.3.8/bin/
Installing PHP CLI man page:      /usr/share/man/man1/
Installing build environment:     /usr/local/php5.3.8/lib/php/build/
Installing header files:          /usr/local/php5.3.8/include/php/
Installing helper programs:       /usr/local/php5.3.8/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/share/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/local/php5.3.8/lib/php/
[PEAR] Archive_Tar    - installed: 1.3.7
[PEAR] Console_Getopt - installed: 1.3.0
[PEAR] Structures_Graph- installed: 1.0.4
[PEAR] XML_Util: upgrade to a newer version (1.2.1 is not newer than 1.2.1)
[PEAR] PEAR           - installed: 1.9.4
Wrote PEAR system config file at: /etc/pear.conf
You may want to add: /usr/local/php5.3.8/lib/php to your php.ini include_path
/Users/rupert/Desktop/php-5.3.8/build/shtool install -c ext/phar/phar.phar /usr/local/php5.3.8/bin
ln -s -f /usr/local/php5.3.8/bin/phar.phar /usr/local/php5.3.8/bin/phar
Installing PDO headers:          /usr/local/php5.3.8/include/php/ext/pdo/
sudo make install  6.84s user 11.50s system 80% cpu 22.843 total</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>/wordpress/2011/11/homebrew-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM DB2 Express C and Spatial Extender</title>
		<link>/wordpress/2007/06/ibm-db2-express-c-and-spatial-extender/</link>
		<comments>/wordpress/2007/06/ibm-db2-express-c-and-spatial-extender/#comments</comments>
		<pubDate>Sat, 02 Jun 2007 15:28:18 +0000</pubDate>
		<dc:creator>rupert</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">/wordpress/?p=53</guid>
		<description><![CDATA[1. Download DB2 Express C db2exc_912_WIN_x86.zip 2. Download DB2 Spatial Extender from the DB9 Fix Pack. Choose your OS and browse over &#8220;DB2 Spatial Extender -> Language Independent&#8221;. There is a current problem installing the DB2 Spatial Extender from the main &#8220;Spatial Offering&#8221; Site with DB2 Express C because of the versions, DB2 Express C [...]]]></description>
			<content:encoded><![CDATA[<p>1. Download <a href="http://www-306.ibm.com/software/data/db2/express/">DB2 Express C db2exc_912_WIN_x86.zip</a></p>
<p>2. Download <a href="http://www-1.ibm.com/support/docview.wss?uid=swg21255572">DB2 Spatial Extender from the DB9 Fix Pack.</a> Choose your OS and browse over &#8220;DB2 Spatial Extender -> Language Independent&#8221;.  There is a current problem installing the DB2 Spatial Extender from the main &#8220;Spatial Offering&#8221; Site with DB2 Express C because of the versions, DB2 Express C was made after FP2 (Fix Pack 2), while DB2 Spatial Extender was made before FP2.  When installing the old DB2 Spatial Extender, it will prompt you with &#8220;No Action Available&#8221;, to resolve the problem, install the DB2 Spatial Extender FP2 (v9fp2_win_gse.exe).</p>
<p>3. <a href="http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0602tham2/index.html">Leveraging MySQL skills to learn DB2 Express</a> contains comparison between MySQL and DB2. It also contains default installation instructions which make installing easier.</p>
<p>4. <a href="http://www-03.ibm.com/developerworks/wikis/pages/viewpage.action?pageId=2658">New to DB2</a> from the <a href="http://www-03.ibm.com/developerworks/wikis/display/DB2/DB2+wiki">DB2 Wiki</a> is a good start in understanding DB2&#8242;s concepts.</p>
<p>5. Browse over the <a href="/wordpress/images/db2sbe90.pdf">User Guide of Spatial Extender</a> to understand the Spatial Extender capabilities.</p>
<p>6. Geoserver Integration? Read <a href="https://courseware.e-education.psu.edu/courses/geog585/content/home.html">Open Web Mapping from Penn State Univ.</a></p>
<p>7. Manually starting DB2 Services on boot:</p>
<p>DB2 &#8211; DB2COPY &#8211; DB2 &#8211; Allows applications to create, update, control, and manage relational databases.</p>
<p>DB2 Management Service (DB2COPY1) &#8211; Manages DB2 registry entries for backward compatibility purposes for the DB2 Copy DB2COPY1</p>
<p>DB2 Remote Command Server (DB2COPY1) &#8211; Supports remote DB2 command execution for the DB2 copy named DB2COPY1.</p>
<p>DB2 Security Server (DB2COPY1) &#8211; Authenticates DB2 database users when the authentication is performed at the client computer for the DB2 copy named DB2COPY1.</p>
<p>DB2DAS &#8211; DB2DAS00 &#8211; Supports local and remote database administrative requests.</p>
]]></content:encoded>
			<wfw:commentRss>/wordpress/2007/06/ibm-db2-express-c-and-spatial-extender/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

