The following issue has been RESOLVED.
======================================================================
http://www.dbmail.org/mantis/view.php?id=1013
======================================================================
Reported By: creditlink
Assigned To: paul
======================================================================
Project: DBMail
Issue ID: 1013
Category: installation scripts
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
target:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 03-Jul-13 22:39 CEST
Last Modified: 04-Jul-13 09:54 CEST
======================================================================
Summary: quote errors in configure scripts
Description:
In the following snippet from configure, you will see that "${prefix}"
won't be expanded (under bash, anyway) because of the single quotes.
if test "x$localstatedir" = 'x${prefix}/var'; then
DM_STATEDIR='/var/run'
else
DM_STATEDIR=$localstatedir
fi
if test "x$sysconfdir" = 'x${prefix}/etc'; then
DM_CONFDIR='/etc'
else
DM_CONFDIR=$sysconfdir
fi
======================================================================
----------------------------------------------------------------------
(0003533) creditlink (reporter) - 04-Jul-13 00:25
http://www.dbmail.org/mantis/view.php?id=1013#c3533
----------------------------------------------------------------------
Whoops. I got that wrong. I made the change I thought was going to solve
the problem and just made it worse. I don't know enough about
configure/make to sort this out.
It looks like sysconfdir should default to /usr/local/etc. It ends up
being /etc/
Changing the single to double quote leaves me with the compiled program
looking for the literal string "${prefix}/etc/dbmail.conf"
----------------------------------------------------------------------
(0003534) paul (administrator) - 04-Jul-13 09:54
http://www.dbmail.org/mantis/view.php?id=1013#c3534
----------------------------------------------------------------------
below commit-id fixes this.
http://git.dbmail.eu/paul/dbmail/commit/?id=368b451c7b0b015019c01a47e3b966b7b5bfdb8d
Issue History
Date Modified Username Field Change
======================================================================
03-Jul-13 22:39 creditlink New Issue
04-Jul-13 00:25 creditlink Note Added: 0003533
04-Jul-13 09:54 paul Note Added: 0003534
04-Jul-13 09:54 paul Assigned To => paul
04-Jul-13 09:54 paul Status new => resolved
04-Jul-13 09:54 paul Resolution open => fixed
======================================================================
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev