Dbvisit Community Dbvisit home       

Go Back   Dbvisit Community > General Technical > Platform

Thread Tools Search this Thread Display Modes
Old 04-02-2008, 01:34 PM
Arjen Visser Arjen Visser is offline
Dbvisit Team
Join Date: Jan 2008
Location: Auckland, New Zealand
Posts: 383
Default Install svn client (subversion-1.4.4) on HP-UX 11.11

Installing Subversion client (svn) on HP-UX has been very problematic. The errors we got were:
checking for inflate in -lz... no
configure: error: subversion requires zlib

(zlib was installed).

System is:
HP-UX B.11.11 U 9000/785 PA-RISC 2.0
ELF-64 executable object file - PA-RISC 2.0 (LP64)

Finally we managed to get it done.
We used gcc compiler: hp-gcc64-3.4.5 (download gcc-hppa64-3.4.5.depot.gz from hpacxx.external.hp.com/gcc/?C=S;O=A)

The steps are:
download subversion-1.4.4.tar.gz
download subversion-deps-1.4.4.tar.gz
gunzip subversion-1.4.4.tar.gz
tar xfv subversion-1.4.4.tar
gunzip subversion-deps-1.4.4.tar.gz
tar xfv subversion-deps-1.4.4.tar
cd subversion-1.4.4/
--- You will need to install zlib seperately.
--- PATH to zlib needs to be given:
export PATH
--- Set CC variable to correct gcc compiler
export CC

cd ./zlib
make test
make install
cd ..
./configure --without-berkeley-db --without-apache --without-apxs --without-swig --disable-nls --disable-shared --prefix=/usr/local CPPFLAGS="-Izlib/ -Lzlib/" \
--with-ldflags="/usr/local/include" LDFLAGS="-L/usr/local/lib -L/usr/local/include" --with-zlib=/usr/local/include/zlib
make install

--- Then svn was working and we could check out with:
svn checkout
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT +12. The time now is 12:41 AM.