Thursday, June 30, 2011

Installing Subversion from source and mod_dav_svn in Apache

Installing Subversion from  source was one of the most frustrating thing I have done because of its dependencies so I'll summarize here a short process to do it.

1.) Download and extract Subversion from here http://subversion.apache.org/download:
shell> cd /usr/local/src
shell> wget http://subversion.tigris.org/downloads/subversion-1.6.17.tar.gz
shell> sudo tar xzvf subversion-1.6.17.tar.gz

2.) Install the dependicies and development packages (they need to be the development '-dev'). Below are the libs that it took me awhile to find:
shell> sudo apt-get install libxml-dev
shell> sudo apt-get install libssl-dev
shell> sudo apt-get install zlib1g-dev

3.) Install Subversion. I will assume that you already installed Apache, mod_ssl and signed your certificates if not refer to this other blog post of mine in installing apache:
shell> cd /usr/local/src/subversion-1.6.17.tar.gz
shell> sudo ./configure --prefix=/usr/local/lib/subversion --with-apxs=/usr/local/apache2/bin/apxs --with-ssl

NOTES: Some installation that I read from other websites suggests you to include neon, apr, apr-utils like this for example:
shell> sudo ./configure --prefix=/usr/local/lib/subversion --with-apxs=/usr/local/apache2/bin/apxs --with-apr=PATH-TO-APR --with-apr-util=PATH-TO-UTIL --with-neon=PATH-TO-NEON --with-openssl=PATH-TO-OPENSSSL --with-ssl

You dont have to do the above! Infact when I did that build, that's when my headache started because of the dependencies. You also do not need to install the individual packages that are required namely apr, apr-utils, and neon. The install script will automatically search for the libraries included with the tar package you downloaded.

Then after configure finishes:
shell> sudo make
shell> sudo make install

This will install the mod_dav_svn.so and mod_authz_svn.so in the modules directory of your Apache installation.

EXTRAS: Some stuffs that I discovered along the way (just sharing :P ):

- This will return the list of files that are using this library that you installed through apt-get. In other words, the installed file locations:
shell> sudo dpkg -L libssl-dev

- Will look at your apt-get history and return which packages you have installed in the past
shell> grep -nwH install /var/log/dpkg.log ;: look at installs
shell> grep -nwH removes /var/log/dpkg.log ;: look at removes

- Download the source from the package distribution then install it yourself from source instead.
shell> sudo apt-get source libapache2-svn ;: will download and extract the source files
shell> sudo apt-get build-dep libapache2-svn ;: this will install all the dependencies
shell> cd subversion-1.6.12dfsg
shell> sudo ./configure --prefix=PATH --with-apxs=PATH-TO-APXS-FILE

Thats it!

22 comments:

Anonymous said...

Fail in 3.)

shell> cd /usr/local/src/subversion-1.6.17.tar.gz

use

shell> cd /usr/local/src/subversion-1.6.17

Unknown said...

Sergei , October 22, 1970 Born in Christian Louboutin Bois Dore Moscow State Ozherelye. Perhaps influenced by Cheap LV Handbags their parents worship warrior army, join the army in cheap jordans 1989, and into the elite airborne military service. 1991, by the influence of the Soviet Union, the uggs on sale Russian christian louboutin army general lack of funds, a large number ugg australia of Air Jordan 11 Gamma Blue soldiers seeking veterans, but under extremely difficult conditions still dedicated, praise superiors, and soon was sent to the famous christian louboutin shoes Ryazan Higher ugg Airborne Command School studies. After graduating in 1994, entered the famous Pskov 76th Guards Airborne discount christian louboutin Division, served as discount nike jordans the reconnaissance platoon, reconnaissance ugg soldes deputy company commander, company commander, battalion airborne regiment scouting director and other duties.From 2000 to Cheap Louis Vuitton Handbags 2004, where the forces have repeatedly ordered war with Chechen militants. Because of their opponents in order to form the squad activity and haunted impermanence, the Russians had to ugg boots mobilize elite troops set up large uggs outlet number of small units, "a Discount Louis Vuitton small wholesale jordan shoes play small" Implementation siege. commanding troops in Chechnya, Christian Louboutin Daffodile Ingushetia and other places over the mountains, to track the militants fled. Discount LV Handbags Although the militants were extremely vigilant, but as long as the task has never had outsmarted.August 8, 2008, Georgia suddenly invade South Ossetia (Russian peacekeepers stationed ugg pas cher there), the Russian military to respond quickly, including including the 76th Guards Airborne Division, more than christian louboutin remise 50% 3,000 people were immediately delivered to the pro-Russian Abkhazia, Georgia cheap nike jordan shoes Army contain two infantry brigades, effectively coordinate the cheap christian louboutin direction of the Russian Bags Louis Vuitton troops in South Ossetia.

Unknown said...

new york giants jerseys
juicy couture outlet
chanel outlet
ray ban sunglasses
robert griffin jersey,joe theismann jersey,andre roberts jersey,sonny jurgensen jersey,art monk jersey,bashaud breeland jersey,barry cofield jersey,perry riley jersey,e.j. biggers jersey,duke ihenacho jersey,josh morgan jersey
mizuno shoes
seahawks jersey
stuart weitzman sale
nike free,nike free run,free running,free run,nike running
five fingers shoes
tory burch outlet online
uggs outlet
cheap oakley sunglasses
cheap jordans
mizuno running shoes
derrick rose jersey
cowboys jerseys
barcelona soccer jersey
bottega veneta wallet
nike roshe
chanel outlet,chanel handbags,chanel bags,chanel outlet,chanel 2.55
supra shoes
giants jersey
stephen curry jersey
miami dolphins jerseys
bottega veneta outlet
indianapolis colts jerseys
nike air max 2015
ray ban outlet
arizona cardinals jerseys
the north face clearance
coach outlet store
nike trainers
chelsea jersey
washington redskins jerseys
zhuweiming0627

Unknown said...

kate spade handbags
lebron 12
nike air max
prada shoes
los angeles clippers jerseys
nike shoes
nba jerseys wholesale
nike air max,air max uk,air max 90,nike air max 90,air max shoes
arthur jones jersey,deonte thompson jersey,courtney upshaw jersey,timmy jernigan jersey,jeromy miles jersey,haloti ngata jersey,joe flacco jersey,steve smith sr jersey
dallas cowboys jersey
cartier love bracelet
north face jackets
atlanta falcons jersey
the north face jackets
air max 90
new orleans saints jerseys
uggs on sale
gucci outlet online
green bay packers jerseys
peter konz jersey,paul worrilow jersey,prince shembo jersey
michael kors handbags
49ers jersey
evening dresses outlet
the north face outlet store
lebron shoes
nike sneakers
nike air max
mbt shoes outlet
north face jackets
nike free run
zhuweiming0627

Unknown said...

2015-09-16 zhengjx
Ralph Lauren UK Sale Polo Shirts
Christian Louboutin Outlet For Women
ugg boots
Louis Vuitton Outlet Authentic Handbags Discount
michael kors handbags
Louis Vuitton Handbags Outlet On Sale
Louis Vuitton Outlet Purses and Handbags For Sale
canada goose
hermes birkin
New Jordans Cheap For Sale
Abercrombie & Fitch Clothing With Big Discount
Coach Factory Outlet Handbags 70% OFF
Lebron 12,11,10 Shoes For Sale
cheap uggs sale
Michael Kors Outlet Online Sale Free Shipping
Louis Vuitton Handbags Outlet Sale
Air Jordan 4 Retro Free Shipping
coach outlet store online
Louis Vuitton Handbags Outlet Stores Online
Ray Ban Sunglasses Outlet Store Online
ugg boots
michael kors handbag
michael kors outlet
Abercrombie And Fitch New York Clothing Warehouse
ralph lauren uk
Cheap Oakley Sunglasses Outlet With Discount
tory burch outlet
nike air max
Coach Outlet Store Online Free Shipping
Michael Kors Outlet USA Store

Unknown said...

cheng0928
louis vuitton handbags, http://www.louisvuittonhandbag.us/
hermes birkin, http://www.hermesbirkin.org/
mbt shoes, http://www.mbtshoesoutlet.us.com/
swarovski outlet, http://www.swarovski-outlet.co.uk/
hogan, http://www.scarpehogan-outlet.it/
ray ban, http://www.occhiali-rayban.it/
nfl jerseys wholesale, http://www.nfljerseys-wholesale.us.com/
nba jerseys, http://www.nbajerseys.us.com/
longchamp handbags, http://www.longchamphandbag.us.com/
cheap nhl jerseys, http://www.nhljerseys.us.com/
cheap mlb jerseys, http://www.cheapmlbjerseys.net/
north face jackets, http://www.thenorthfaces.in.net/
cheap snapbacks, http://www.cheapsnapbacks.us.com/
adidas wings, http://www.adidaswings.net/
basketball shoes, http://www.basketballshoes.us.com/
lebron james shoes, http://www.lebronjamesshoes.in.net/
lacoste polo shirts, http://www.lacostepoloshirts.cc/
vans shoes, http://www.vans-shoes.cc/
ugg boots, http://www.uggboot.com.co/
hermes belt, http://www.hermesbelts.us/

Unknown said...

ray ban sunglasses, http://www.raybansunglassesonline.us.com/
nike trainers, http://www.niketrainers.me.uk/
gucci handbags, http://www.guccihandbags-outlet.co.uk/
herve leger, http://www.herveleger.us.com/
timberland boots, http://www.timberlandboots.name/
coach outlet online, http://www.coachoutletonline-store.us.com/
michael kors outlet, http://www.michaelkorsoutletcanada.in.net/
juicy couture outlet, http://www.juicycoutureoutlet.net/
calvin klein underwear, http://www.calvinklein.in.net/
ray ban sunglasses, http://www.raybansunglass.us.com/
prada outlet, http://www.pradaoutlet.us/
lululemon outlet, http://www.lululemonoutletstore.in.net/
tory burch shoes, http://www.toryburchshoesoutlet.com/
michael kors outlet, http://www.michaelkorsoutlet.org.uk/
replica watches, http://www.replicawatchesforsale.us.com/
pandora jewelry, http://www.pandorajewelryoutlet.us.com/
nfl jerseys wholesale, http://www.nfljerseys-wholesale.us.com/
michael kors outlet, http://www.michaelkorsoutletonlinstore.us.com/
oakley outlet, http://www.oakleyoutlet.in.net/
oakley sunglasses, http://www.oakleysunglasses-outlet.us.com/
michael kors bags, http://www.michaelkorsbags.uk/
ray ban sunglasses, http://www.ray-bansunglasses.eu.com/
oakley sunglasses, http://www.oakley.in.net/
air max 2015, http://www.airmax2015.in.net/
the north face uk, http://www.thenorthfaces.org.uk/
swarovski outlet, http://www.swarovski-outlet.co.uk/
pandora jewelry, http://www.pandora.eu.com/
chanel handbags, http://www.chanelhandbags-outlet.co.uk/
1002maoqiuyun

chenlina said...

chenlina20151127
tory burch outlet
ugg boots
ugg boots
ugg outlet
ralph lauren outlet
louis vuitton handbags
coach outlet store online
ray ban sunglasses
coach factory outlet online
abercrombie kids
louis vuitton
ugg boots outlet
ray ban sunglasses
oakley sunglasses
polo ralph lauren
michael kors handbags
instyler max
coach outlet
the north face uk
ugg boots for women
air max 90
coach outlet online
true religion jeans outlet
cheap uggs
ugg sale
timberland outlet
uggs sale
uggs outlet
michael kors outlet
cheap toms
cheap uggs
ugg boots
louis vuitton outlet
louis vuitton
toms outlet
louis vuitton
prada handbags
abercrombie
ray ban sunglasses outlet
ralph lauren outlet
as

oakleyses said...

tory burch outlet, longchamp outlet, burberry, ray ban sunglasses, tiffany and co, nike outlet, replica watches, louis vuitton, ray ban sunglasses, nike air max, jordan shoes, polo ralph lauren outlet, michael kors outlet, tiffany jewelry, michael kors outlet, christian louboutin outlet, burberry outlet online, michael kors outlet, michael kors, oakley sunglasses, longchamp, prada outlet, prada handbags, cheap oakley sunglasses, oakley sunglasses, oakley sunglasses, ugg boots, louboutin shoes, michael kors outlet, ugg boots, polo ralph lauren outlet, louis vuitton outlet, nike free, chanel handbags, louboutin outlet, louis vuitton outlet, oakley sunglasses, ugg boots, replica watches, michael kors outlet, kate spade outlet, uggs on sale, nike air max, louboutin, louis vuitton, louis vuitton

oakleyses said...

air jordan pas cher, ray ban uk, nike roshe, true religion jeans, air force, abercrombie and fitch, north face, new balance pas cher, sac longchamp, longchamp pas cher, mulberry, oakley pas cher, nike free run uk, coach outlet, nike blazer, hermes, michael kors, nike air max, air max, hollister pas cher, true religion jeans, ralph lauren pas cher, vans pas cher, michael kors, coach outlet, true religion jeans, hollister, michael kors, north face, nike air max, nike roshe run, coach purses, burberry, lululemon, michael kors, lacoste pas cher, hogan, tn pas cher, sac guess, replica handbags, louboutin pas cher, vanessa bruno, timberland, kate spade handbags, converse pas cher, ralph lauren uk, nike free

oakleyses said...

moncler, moncler outlet, marc jacobs, moncler, hollister, montre pas cher, vans, ray ban, replica watches, pandora charms, louis vuitton, supra shoes, sac louis vuitton pas cher, pandora jewelry, swarovski, pandora charms, moncler, bottes ugg, barbour, canada goose, ugg,uggs,uggs canada, louis vuitton, doke gabbana outlet, converse, louis vuitton, lancel, louis vuitton, hollister, moncler, pandora jewelry, doudoune canada goose, juicy couture outlet, nike air max, converse outlet, barbour jackets, moncler, ugg,ugg australia,ugg italia, links of london, moncler, gucci, canada goose outlet, canada goose, canada goose outlet, coach outlet, canada goose uk, ugg boots uk, canada goose, juicy couture outlet, ugg pas cher, wedding dresses, canada goose

chenlina said...

chenlina20160127
louis vuitton
kobe 11
nba jerseys
michael kors outlet online
michael kors outlet
canada goose coats
christian louboutin shoes
chanel bags
coach outlet store online
abercrombie and fitch new york
jordan retro
oakley sunglasses cheap
mont blanc legend
ray ban sunglasses
hollister
oakley sunglasses
ugg outlet
jordan concords
louis vuitton handbags
tod's shoes
nike huarache
p90x
michael kors outlet online
uggs outlet
ralph lauren outlet
air force 1
ralph lauren uk
michael kors outlet online
kevin durant basketball shoes
michael kors outlet
tory burch outlet
instyler max
chanel bags
polo ralph lauren outlet
ugg boots
tory burch outlet online
kobe 9
oakley sunglasses
air max uk
michael kors outlet
as

Unknown said...

tiffany and co
louis vuitton outlet
clarisonic
true religion jeans
timberland outlet
true religion outlet
louis vuitton outlet
cheap uggs
coach outlet
true religion outlet
mlb jerseys
oakley sunglasses
adidas outlet
michael kors outlet
longchamp handbags
beats by dre
rolex watches
ray ban sunglasses
ugg boots
ugg australia
moncler uk
ray ban sunglasses
louis vuitton paris
toms shoes
louis vuitton handbags
coach factory outlet
moncler uk
gucci outlet
canada goose outlet
adidas nmd
timberland boots
juicy couture
burberry outlet
ugg boots
the north face jackets
timberland boots
new york knicks jerseys
nike outlet store
ugg sale
ugg italia
201611.5wengdongdong

raybanoutlet001 said...

cheap jordan shoes
nike roshe run
titans jersey
nike air huarache
denver broncos jerseys
michael kors handbags outlet
salvatore ferragamo
michael kors handbags
moncler jackets
michael kors handbags outlet

Unknown said...

michael kors uk
the north face
cheap ray ban sunglasses
dolce and gabbana outlet
toms shoes
michael kors outlet
yeezy boost 350 black
longchamps
nike trainers
cleveland browns jerseys

Unknown said...


jordans for cheap
tory burch shoes
http://www.kobebasketballshoes.us.com
adidas store
adidas online shop
nike huarache
nike polo shirts
ultra boost
michael kors outlet
yeezy boost

Unknown said...

nike tn
omega watches sale
ugg outlet
ugg outlet
ugg outlet
coach outlet store
prada outlet
jordan 4
michael kors purses
coach outlet store online

Unknown said...

mulberry
michael kors outlet canada
michael kors outlet clearance
north face outlet
ugg boots
tory burch outlet online
coach outlet online
michael kors outlet store
birkin handbags
uggs on sale
mt1225

zzyytt said...

air jordan 12
air jordan 6
adidas yeezy
yeezy
yeezy boost
longchamp
adidas store
nike free run
moncler
pandora bracelet

zzyytt said...

yeezy shoes
vanvan cleef and arpels
adidas superstar UK
james harden shoes
nike huarache
huarache shoes
nike zoom
yeezy boost
moncler
ferragamo sale

Unknown said...

jordan 4
nike huarache
adidas nmd
true religion outlet
michael kors handbags
nike air max
goyard handbags
nike air max 270
kobe shoes
longchamp handbags

5689 said...

zzzzz2018.11.6
ugg boots clearance
canadian goose
pandora charms
ugg boots clearance
pandora outlet
pandora outlet
ralph lauren uk
mbt shoes
louboutin shoes
nike outlet