On Sun, Jun 07, 2009 at 12:34:31PM -0400, Jorge Arellano Cid wrote:
On Sun, Jun 07, 2009 at 02:08:22AM +0000, corvid wrote:
Jorge wrote:
On Thu, Jun 04, 2009 at 06:26:40PM +0000, corvid wrote:
Paul wrote:
When opening dillo from the CLI I noticed the following message:
paths: Cannot open file '/home/user/.dillo/dillorc' paths: Cannot open file '/etc/dillo/dillorc' paths: Using internal defaults...
Checked my system and saw that dillorc had been installed in /usr/etc/dillorc
Checking config.log showed sysconfdir='${prefix}/etc', so no surprises there. But Paths::getPrefsFP() in src/paths.cc uses PATHS_RC_SYS, which is "/etc/dillo/", so my patch uses DILLORC_SYS, as specified in src/Makefile.am, instead. Now all is fine!
In addition, perhaps we should make sysconfdir have '/dillo' at the end. If I look in an etc dir and see dillorc, I'd know what it's for, but I wouldn't know what uses keysrc.
Yes, a '/dillo' suffix looks OK. Please merge both ideas and commit.
I defined a DILLO_SYSCONF instead of DILLORC_SYS so that a system keysrc will work someday. Please test.
dillorc and dpidrc got into "/usr/local/etc". (I was expecting them in "/usr/local/etc/dillo").
Works fine for me. Did you call ./autogen.sh before configuring/ compiling? Cheers, Johannes