Re: [SQU] Squid 2.4.PRE-STABLE build errors

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 16 Jan 2001 22:14:19 +0100

Florin Andrei wrote:

> mkdir: cannot create directory `/usr/local/squid/usr/sbin': No such file
> or directory
> make[1]: *** [install] Error 255
> make[1]: Leaving directory `/root/work/squid-2.4.PRE-STABLE/scripts'
> make: *** [install] Error 1
>
> Probably "mkdir -p" should be used instead.

Thanks. See the attached patch, or download a new snapshot from the CVS
server.

--
Henrik Nordstrom
Squid hacker

Index: auth_modules/LDAP/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/auth_modules/LDAP/Attic/Makefile.in,v
retrieving revision 1.2
diff -u -w -r1.2 Makefile.in
--- auth_modules/LDAP/Makefile.in 2000/06/24 22:04:33 1.2
+++ auth_modules/LDAP/Makefile.in 2001/01/16 21:07:47
@@ -45,11 +45,11 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(libexecdir); then \
                 echo "mkdir $(libexecdir)"; \
- mkdir $(libexecdir); \
+ mkdir -p $(libexecdir); \
         fi
 
 # Michael Lupp <mike@nemesis.saar.de> wants to know about additions
Index: auth_modules/MSNT/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/auth_modules/MSNT/Attic/Makefile.in,v
retrieving revision 1.4
diff -u -w -r1.4 Makefile.in
--- auth_modules/MSNT/Makefile.in 2000/11/03 18:08:02 1.4
+++ auth_modules/MSNT/Makefile.in 2001/01/16 21:07:47
@@ -62,11 +62,11 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(libexecdir); then \
                 echo "mkdir $(libexecdir)"; \
- mkdir $(libexecdir); \
+ mkdir -p $(libexecdir); \
         fi
 
 # Michael Lupp <mike@nemesis.saar.de> wants to know about additions
Index: auth_modules/NCSA/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/auth_modules/NCSA/Attic/Makefile.in,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile.in
--- auth_modules/NCSA/Makefile.in 1998/08/17 23:22:46 1.1
+++ auth_modules/NCSA/Makefile.in 2001/01/16 21:07:47
@@ -64,11 +64,11 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(bindir); then \
                 echo "mkdir $(bindir)"; \
- mkdir $(bindir); \
+ mkdir -p $(bindir); \
         fi
 
 # Michael Lupp <mike@nemesis.saar.de> wants to know about additions
Index: auth_modules/PAM/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/auth_modules/PAM/Attic/Makefile.in,v
retrieving revision 1.3
diff -u -w -r1.3 Makefile.in
--- auth_modules/PAM/Makefile.in 2000/08/19 15:16:29 1.3
+++ auth_modules/PAM/Makefile.in 2001/01/16 21:07:47
@@ -60,11 +60,11 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(libexecdir); then \
                 echo "mkdir $(libexecdir)"; \
- mkdir $(libexecdir); \
+ mkdir -p $(libexecdir); \
         fi
 
 # Michael Lupp <mike@nemesis.saar.de> wants to know about additions
Index: auth_modules/SMB/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/auth_modules/SMB/Attic/Makefile.in,v
retrieving revision 1.3
diff -u -w -r1.3 Makefile.in
--- auth_modules/SMB/Makefile.in 2000/06/24 22:04:34 1.3
+++ auth_modules/SMB/Makefile.in 2001/01/16 21:07:47
@@ -70,11 +70,11 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(libexecdir); then \
                 echo "mkdir $(libexecdir)"; \
- mkdir $(libexecdir); \
+ mkdir -p $(libexecdir); \
         fi
 
 # Michael Lupp <mike@nemesis.saar.de> wants to know about additions
Index: auth_modules/YP/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/auth_modules/YP/Attic/Makefile.in,v
retrieving revision 1.2.2.1
diff -u -w -r1.2.2.1 Makefile.in
--- auth_modules/YP/Makefile.in 2001/01/02 21:56:42 1.2.2.1
+++ auth_modules/YP/Makefile.in 2001/01/16 21:07:47
@@ -64,11 +64,11 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(bindir); then \
                 echo "mkdir $(bindir)"; \
- mkdir $(bindir); \
+ mkdir -p $(bindir); \
         fi
 
 # Michael Lupp <mike@nemesis.saar.de> wants to know about additions
Index: auth_modules/getpwnam/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/auth_modules/getpwnam/Attic/Makefile.in,v
retrieving revision 1.2
diff -u -w -r1.2 Makefile.in
--- auth_modules/getpwnam/Makefile.in 1999/04/15 06:14:55 1.2
+++ auth_modules/getpwnam/Makefile.in 2001/01/16 21:07:47
@@ -49,11 +49,11 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(bindir); then \
                 echo "mkdir $(bindir)"; \
- mkdir $(bindir); \
+ mkdir -p $(bindir); \
         fi
 
 install: all install-mkdirs
Index: errors/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/errors/Makefile.in,v
retrieving revision 1.6
diff -u -w -r1.6 Makefile.in
--- errors/Makefile.in 1999/10/04 05:04:11 1.6
+++ errors/Makefile.in 2001/01/16 21:07:47
@@ -34,15 +34,15 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(sysconfdir); then \
                 echo "mkdir $(sysconfdir)"; \
- mkdir $(sysconfdir); \
+ mkdir -p $(sysconfdir); \
         fi
         -@if test ! -d $(DEFAULT_ERROR_DIR); then \
                 echo "mkdir $(DEFAULT_ERROR_DIR)"; \
- mkdir $(DEFAULT_ERROR_DIR); \
+ mkdir -p $(DEFAULT_ERROR_DIR); \
         fi
 
 # undocumented hack. You can use this target to create multi-lingual
Index: icons/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/icons/Makefile.in,v
retrieving revision 1.9.2.1
diff -u -w -r1.9.2.1 Makefile.in
--- icons/Makefile.in 2000/12/09 03:29:21 1.9.2.1
+++ icons/Makefile.in 2001/01/16 21:07:48
@@ -66,15 +66,15 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(sysconfdir); then \
                 echo "mkdir $(sysconfdir)"; \
- mkdir $(sysconfdir); \
+ mkdir -p $(sysconfdir); \
         fi
         -@if test ! -d $(DEFAULT_ICON_DIR); then \
                 echo "mkdir $(DEFAULT_ICON_DIR)"; \
- mkdir $(DEFAULT_ICON_DIR); \
+ mkdir -p $(DEFAULT_ICON_DIR); \
         fi
 
 clean:
Index: scripts/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/scripts/Makefile.in,v
retrieving revision 1.6
diff -u -w -r1.6 Makefile.in
--- scripts/Makefile.in 1997/05/14 21:08:14 1.6
+++ scripts/Makefile.in 2001/01/16 21:07:48
@@ -23,11 +23,11 @@
 install:
         @if test ! -d $(exec_prefix); then \
                 echo "mkdir $(exec_prefix)"; \
- mkdir $(exec_prefix); \
+ mkdir -p $(exec_prefix); \
         fi
         @if test ! -d $(bindir); then \
                 echo "mkdir $(bindir)"; \
- mkdir $(bindir); \
+ mkdir -p $(bindir); \
         fi
         $(INSTALL_BIN) RunCache $(bindir)
         $(INSTALL_BIN) RunAccel $(bindir)
Index: src/Makefile.in
===================================================================
RCS file: /server/cvs-server/squid/squid/src/Makefile.in,v
retrieving revision 1.195.2.1
diff -u -w -r1.195.2.1 Makefile.in
--- src/Makefile.in 2001/01/11 23:31:36 1.195.2.1
+++ src/Makefile.in 2001/01/16 21:07:49
@@ -301,31 +301,31 @@
 install-mkdirs:
         -@if test ! -d $(prefix); then \
                 echo "mkdir $(prefix)"; \
- mkdir $(prefix); \
+ mkdir -p $(prefix); \
         fi
         -@if test ! -d $(exec_prefix); then \
                 echo "mkdir $(exec_prefix)"; \
- mkdir $(exec_prefix); \
+ mkdir -p $(exec_prefix); \
         fi
         -@if test ! -d $(bindir); then \
                 echo "mkdir $(bindir)"; \
- mkdir $(bindir); \
+ mkdir -p $(bindir); \
         fi
         -@if test ! -d $(libexecdir); then \
- echo "mkdir -p $(libexecdir)"; \
+ echo "mkdir $(libexecdir)"; \
                 mkdir -p $(libexecdir); \
         fi
         -@if test ! -d $(sysconfdir); then \
                 echo "mkdir $(sysconfdir)"; \
- mkdir $(sysconfdir); \
+ mkdir -p $(sysconfdir); \
         fi
         -@if test ! -d $(localstatedir); then \
                 echo "mkdir $(localstatedir)"; \
- mkdir $(localstatedir); \
+ mkdir -p $(localstatedir); \
         fi
         -@if test ! -d $(localstatedir)/logs; then \
                 echo "mkdir $(localstatedir)/logs"; \
- mkdir $(localstatedir)/logs; \
+ mkdir -p $(localstatedir)/logs; \
         fi
 
 # Michael Lupp <mike@nemesis.saar.de> wants to know about additions

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Jan 16 2001 - 14:21:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:28 MST