[Refdb-users] GOT IT!!! Build to Ubuntu (Debian) system
Status: Beta
Brought to you by:
mhoenicka
From: Daniel O'D. <dan...@ul...> - 2006-06-22 02:48:57
|
Got it, and in less that 12 hours. Most of the trouble I've been having comes from not understanding details of README files, but since this is probably a common problem, I thought I'd write out what worked. Again in Wiki format. ==Installing refdb from a clean install of Ubuntu 6.06 LTS== * Ensure that the community and multiverse repositories are enabled. ** Open sources.list with your favorite editor sudo nano /etc/apt/sources.list ** Remove the comment hashes from the relevant repositories ** Reload sudo apt-get update * Load the necessary binaries (place all one one line) sudo apt-get install make mysql-client mysql-server libmysqlclient15-dev zlib1g-dev libbtparse0 libbtparse-dev libreadline5-dev install gcc libexpat1-dev * Add a password to mysql mysqladmin -u root password '<your favourite password here>' * Get source files for libdbi0 =>8.0. In the download directory do the following (this assumes you are downloading from the University of Minnesota Mirror; you can also choose a different mirror if there is a more convenient one): wget http://umn.dl.sourceforge.net/sourceforge/libdbi/libdbi-0.8.1.tar.gz tar zxvf libdbi-0.8.1.tar.gz cd libdbi-0.8.1/ ./configure make sudo make install cd .. * Get source files for libdbi drivers and install: wget http://umn.dl.sourceforge.net/sourceforge/libdbi-drivers/libdbi-drivers-0.8.1a.tar.gz tar zxvf libdbi-drivers-0.8.1a.tar.gz cd libdbi-drivers-0.8.1/ ./configure --with-mysql make sudo make install cd .. * Symlink the libdbi libraries (installed in /usr/local/lib) to /usr/lib (where refdb will look for them): ln -s /usr/local/lib/libdbi.a /usr/lib/libdbi.a ln -s /usr/local/lib/libdbi.la /usr/lib/libdbi.la ln -s /usr/local/lib/libdbi.so /usr/lib/libdbi.so ln -s /usr/local/lib/libdbi.so.0 /usr/lib/libdbi.so.0 ln -s /usr/local/lib/libdbi.so.0.0.5 /usr/lib/libdbi.so.0.0.5 * Get install refdb (note: during make you will get a recurring invalid pointer error. This is not important): wget http://refdb.sourceforge.net/pre/refdb-latest.tar.gz tar zxvf refdb-latest.tar.gz cd refdb-0.9.7-pre7/ ./configure --sysconfdir=/etc --with-refdb-url=http://localhost/refdb make sudo make install cd .. * Run the installation script (answer all questions) cd /usr/local/bin/ sudo refdb-init.sh * test installation (see section 4.9. Testing your installation) -- Daniel Paul O'Donnell, PhD Associate Professor and Chair Director, Digital Medievalist Project <http://www.digitalmedievalist.org/> Department of English University of Lethbridge Lethbridge AB T1K 3M4 Tel. +1 (403) 329-2378 Fax. +1 (403) 382-7191 :@wiglaf (dapper ubuntu) |