The following link is available for French users

Have a look at http://www.davidgis.fr/documentation/ming/ming_compilation.html

See if you have apache2 on your laptop

if not

apt-get install apache2 apache2-common

Download Ming at http://ming.sourceforge.net/

Then

tar xzf ming-0.3.0.tar.gz

cd ming-0.3.0

./autogen.sh

./configure

make && make install

ldconfig

Download PHP (I've used version 5.1.6) from http://www.php.net

tar xjf php-5.1.6.tar.bz2

cd php-5.1.6

./buidconf --force

./configure --with-ming --enable-fastcgi --with-freetype-dir=/usr --with-zlib --with-ttf --with-gd

With configure I had a error from libxml2. So I did

apt-get install libxml2-dev

but I don't know if the command above will work for U ;-)

then

make

make install

Copy the PHP CGI located in /usr/local/bin/ to /usr/lib/cgi-bin/

cp /usr/local/bin/php /usr/lib/cgi-bin/

Add the following lines to your /etc/apache2/apache2.conf:

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

Include /etc/apache2/mods-available/actions.load

AddType application/x-httpd-php .php .php3 .php5

Action application/x-httpd-php "/cgi-bin/php"

Then restart Apache

/etc/init.d/apache restart

libming: Compiling_on_Ubuntu_Dapper_(French_Doc) (last edited 2009-06-25 03:09:35 by localhost)