[nsd-users] Installation hiccup with 3.2.2
Miklos Honti
mhonti at esearch.ie
Mon Jun 29 11:05:09 UTC 2009
Stephane Bortzmeyer wrote:
> On Sat, Jun 13, 2009 at 01:10:46PM +0200,
> Chris Hills <chaz at chaz6.com> wrote
> a message of 48 lines which said:
>
>
>> mkdir: cannot create directory `/usr/local/nsd/3.2.2/var/db/nsd/': File
>> exists
>>
>
> I believe it is the same problem as reported here for Gentoo, OpenBSD,
> etc. The attached patch should solve it.
>
>
I think the root of the problem is an additional '/' in configure.ac.
As I can see the determination of the $piddir has been changed in 3.2.2.
Trunk and 3.2.1 has an other solution without this problem, I guess
there is a good reason why 3.2.2 is different, unfortunately it has this
small issue.
After delete it and run autoconfig installation (in my case RPM build)
will run without any problem.
Here is the patch (remove the '/' after $piddir value):
---------------------------------------------------------------------------------------------------------------------------------------
diff -crB nsd-3.2.2/configure.ac nsd-3.2.2-mh/configure.ac
*** nsd-3.2.2/configure.ac 2009-04-03 12:56:43.000000000 +0100
--- nsd-3.2.2-mh/configure.ac 2009-06-29 12:03:09.000000000 +0100
***************
*** 66,74 ****
# to /var/run/nsd.pid by default
#
if test -d ${localstatedir}/run; then
! piddir=${localstatedir}/run/
else
! piddir=${dbdir}/
fi
pidfile=${piddir}nsd.pid
--- 66,74 ----
# to /var/run/nsd.pid by default
#
if test -d ${localstatedir}/run; then
! piddir=${localstatedir}/run
else
! piddir=${dbdir}
fi
pidfile=${piddir}nsd.pid
---------------------------------------------------------------------------------------------------------------------------------------
Regards,
Miklos
******************************************************************************************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please reply to the sender indicating that fact and delete the copy you received.
In addition, if you are not the intended recipient, you should not print, copy, retransmit, disseminate, or otherwise use the information
contained in this communication. Thank you.
Newsweaver is a Trade Mark of E-Search Ltd. Registered in Ireland No. 254994.
Registered Office: 34 South Main St, Bandon, Co. Cork, Ireland. International Telephone Number: +353 23 8829880.
******************************************************************************************************************************************
More information about the nsd-users
mailing list