Re: Build problems

Markus Hoenicka <[email protected]> Wed, 07 Nov 2007 09:17:59 +0100
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Dan,

Quoting Dan O'Donnell <[email protected]>:

> 1) config --prefix= doesn't seem to be working exactly the way I thought
> it would: if I set it to /usr/share I seem to end up
> with /usr/share/share/refdb; setting it to /usr gets me /usr/share/refdb
>

The autotools handle all of the etc, share, lib, and other stuff  
themselves. You just indicate the top-level directory where all this  
stuff goes. This is usually one of /usr or /usr/local, rarely /opt or  
a folder under your home directory. I don't know whether ubuntu has  
strict rules for software not installed from packages, but /usr/local  
(the default) may be the better choice. But then I'd use  
--sysconfdir=/etc. Debian (and ubuntu probably too) allows to back up  
the configuration of the whole system by tarring /etc.

> 2) phpweb doesn't seem to be building: when I complete the build and run
> refdb-init, I end up with a directory /www. This has includes. but not
> refdblib.inc.php which is called by index.php. So I get a php error.
>

This is pretty embarrassing. I forgot to add refdblib.inc.php to the  
relevant Makefile.am. Now everyone out there trying to test the web  
interface thinks it's broken anyway. I'll upload a fixed archive later  
today.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/