[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Net::FTPServer] make install fails on Solaris
From: |
Richard Jones |
Subject: |
Re: [Net::FTPServer] make install fails on Solaris |
Date: |
Tue, 22 Feb 2005 16:16:47 +0000 |
User-agent: |
Mutt/1.3.28i |
On Tue, Feb 22, 2005 at 03:31:51PM -0000, Colin Robertson wrote:
> A quick bug report: Running "perl Makefile.PL ; make install" fails on
> Solaris 9 because of the command "install -c -D -m 0644 ftpd.conf
> $(sysconfdir)/ftpd.conf" for installing the config file if there isn't
> one already there. The -D option is not available on the Solaris version
> of install, so it fails at that point.
I think this patch should fix it. I'm going to commit it to CVS.
----------------------------------------------------------------------
--- Makefile.PL 8 Feb 2004 19:21:55 -0000 1.4
+++ Makefile.PL 22 Feb 2005 16:15:54 -0000
@@ -291,8 +291,9 @@
install ::
@if [ ! "${NOCONF}" ]; then \
+ mkdir -p $(sysconfdir); \
if [ ! -f $(sysconfdir)/ftpd.conf ]; then \
- install -c -D -m 0644 ftpd.conf $(sysconfdir)/ftpd.conf; \
+ install -c -m 0644 ftpd.conf $(sysconfdir)/ftpd.conf; \
else \
install -c -m 0644 ftpd.conf $(sysconfdir)/ftpd.conf.new; \
echo "Old configuration file $(sysconfdir)/ftpd.conf not
overwritten."; \
----------------------------------------------------------------------
> colin
>
> http://www.bbc.co.uk/
So you use this at the Beeb then?
Rich.
--
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com