GOT IT!!! Build to Ubuntu (Debian) system

Daniel O'Donnell <[email protected]>
Newsgroups gmane.text.refdb.general
Organization Department of English, University of Lethbridge
Message-ID <[email protected]>
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)


All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.