My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
HowToCompile  
Compilation instructions for Apache and mod_brokenlink.
Phase-Deploy
Updated Oct 2, 2010 by fuljen...@gmail.com

Howto compile Apache and mod_brokenlink

Tested on Ubuntu 9.04 Desktop

Install generic compiling tools:

 sudo apt-get install build-essential autoconf libtool

Installing Apache

Install APR-util headers

 sudo apt-get install libaprutil1-dev

Download apache latest version from http://httpd.apache.org/download.cgi

Unzip the file to the user "home" folder.

Enter into it.

 cd
 cd httpd-2.2.11
(2.2.11 or 2.2.12 or whatever)

Install APR

 cd srclib/apr
 ./configure --prefix=/usr/local/apache2 
 make
 sudo make install

Install APR-util

 cd ../apr-util
 ./configure --prefix=/usr/local/apache2 --with-apr=/usr/local/apache2
 make
 sudo make install

Install Apache

 cd ../../
 ./configure --prefix=/usr/local/apache2 --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 --enable-so
 make
 sudo make install

Install mod_brokenlink

 /usr/local/apache2/bin/apxs -c mod_brokenlink.c
 sudo /usr/local/apache2/bin/apxs -i -a -n brokenlink mod_brokenlink.la
 sudo /usr/local/apache2/bin/apachectl graceful

By default, things are in:

 /usr/local/apache2/conf
 /usr/local/apache2/htdocs
 /usr/local/apache2/logs

Unexplainable things about paths explained at DistrosDefaultLayout at Httpd Wiki.

Mercurial cheatsheet for developers

For the first time, inside the folder you want to create your local copy:

 hg clone https://modbrokenlink.googlecode.com/hg/ modbrokenlink
For each change:
 hg status
 
If there are changes on the server, to update your local copy:
 hg pull
 
Then do your changes and:
 hg commit -m "Your comment for the commit here"
 hg push
 
(password at Google Code settings)

More at: Mercurial Tutorial


Sign in to add a comment
Powered by Google Project Hosting