A NOTE has been added to this issue.
======================================================================
http://www.dbmail.org/mantis/view.php?id=1013
======================================================================
Reported By: creditlink
Assigned To:
======================================================================
Project: DBMail
Issue ID: 1013
Category: installation scripts
Reproducibility: always
Severity: minor
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 03-Jul-13 22:39 CEST
Last Modified: 04-Jul-13 00:25 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"
Issue History
Date Modified Username Field Change
======================================================================
03-Jul-13 22:39 creditlink New Issue
04-Jul-13 00:25 creditlink Note Added: 0003533
======================================================================
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev