On Wednesday, August 27, 2003, at 09:55 AM, Hani Mouneimne wrote:
Came across the following on make install . Also noted some options on the
FreeBSD "install" are different to linux but not greatly. Also tried using
the install-sh and same error.

Can you try with this patch?


--- vpopmail-5.3.26/Makefile.am Tue Aug 26 16:45:32 2003
+++ vpopmail-5.3.27/Makefile.am Tue Aug 26 21:31:27 2003
@@ -89,7 +89,7 @@
 DEFS=-I. @auth_inc@ 
 
 install-data-local:
-       $(INSTALL) -d [EMAIL PROTECTED]@ --mode=0700 [EMAIL PROTECTED]@ \
+       $(INSTALL) -d -g @vpopgroup@ -m 0700 -o @vpopuser@ \
          $(DESTDIR)@vpopmaildir@/@domains_dir@
 
        $(INSTALL) -d $(DESTDIR)@vpopmaildir@/etc
@@ -106,22 +106,22 @@
          chmod 0600        $(MYSQLCONF) ; \
        fi
 
-       $(INSTALL) --owner=root --mode=0600 --group=root -D \
+       $(INSTALL) -o root -m 0644 -g root -D \
          libvpopmail.a $(DESTDIR)@vpopmaildir@/lib/libvpopmail.a
 
-       $(INSTALL) [EMAIL PROTECTED]@ --mode=0444 [EMAIL PROTECTED]@ -D \
+       $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ -D \
          config.h $(DESTDIR)@vpopmaildir@/include/vpopmail_config.h
 
-       $(INSTALL) [EMAIL PROTECTED]@ --mode=0444 [EMAIL PROTECTED]@ \
+       $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
          vpopmail.h config.h vauth.h vlimits.h \
          $(DESTDIR)@vpopmaildir@/include/
 
        $(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/man_html
        $(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/doc_html
-       $(INSTALL) [EMAIL PROTECTED]@ --mode=0444 [EMAIL PROTECTED]@ \
+       $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
          doc/man_html/* $(DESTDIR)@vpopmaildir@/doc/man_html/
 
-       $(INSTALL) [EMAIL PROTECTED]@ --mode=0444 [EMAIL PROTECTED]@ \
+       $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
          doc/doc_html/* $(DESTDIR)@vpopmaildir@/doc/doc_html/
 
 fix-priv:



--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester

Reply via email to