>>>>> On Tue, 17 Oct 2006 16:55:41 -0400, Ryan Novosielski said:
>
> this host, so this must have worked at some point... but I can't imagine
> what could be different between then and now. I went back and tried
> 'make install' on that version too, but it blows up the same way.
>
> At any rate, here's what happens... I do a make (or actually regress
> does, but it doesn't really make a difference). It then calls make
> install, which the Makefile says is:
>
> - ---
> install: installdirs
> @for I in $(all_subdirs); do (cd $$I && $(MAKE)
> DESTDIR=$(DESTDIR) $@ ||
> exit 1); done
> - ---
>
> ...installdirs seems to succeed, but install does not:
>
> - ---
> # make install
> ./autoconf/mkinstalldirs /home/novosirj/regress/bin
> ./autoconf/mkinstalldirs /home/novosirj/regress/bin
> ./autoconf/mkinstalldirs /home/novosirj/regress/bin
> if test ! -d /home/novosirj/regress/working ; then \
> ./autoconf/mkinstalldirs /home/novosirj/regress/working; \
> chmod 770 /home/novosirj/regress/working; \
> fi
> if test "x" != "x" ; then \
> chown /home/novosirj/regress/working; \
> fi
> if test "x" != "x" ; then \
> chgrp /home/novosirj/regress/working; \
> fi
> sh: Syntax error at line 1 : `for' is not matched.
> *** Error exit code 2
>
> Stop.
>
> - ---
>
> I'm personally at a loss, and like I said, this fails identically on my
> 1.39.22 source that is already installed. Did I play some trick and
> forget about it, because I don't see anything that jumps out at me now.
It's a problem in Makefile.in, maybe specific to HP's make. The following
lines:
# --client-only directories
fd_subdirs = src scripts src/lib src/findlib src/filed \
@READLINE_SRC@ src/console \
@GNOME_DIR@ @TRAY_MONITOR_DIR@ @WX_DIR@
# Non-client-only directores
subdirs = src/cats @DIRD_DIR@ @STORED_DIR@ src/tools
all_subdirs = ${fd_subdirs} [EMAIL PROTECTED]@}
generate these lines in the Makefile:
# --client-only directories
fd_subdirs = src scripts src/lib src/findlib src/filed \
src/console \
# Non-client-only directores
subdirs = src/cats src/dird src/stored src/tools
all_subdirs = ${fd_subdirs} ${subdirs}
It looks like the backslash after src/console is causing the
"# Non-client-only directores" comment to become part of fd_subdirs and hence
part of all_subdirs, which hides the "done" in the for command!
Here is a patch that should fix it:
--- Makefile.in~ 2006-05-02 15:48:06.000000000 +0100
+++ Makefile.in 2006-10-18 11:58:37.000000000 +0100
@@ -19,8 +19,8 @@
# --client-only directories
fd_subdirs = src scripts src/lib src/findlib src/filed \
- @READLINE_SRC@ src/console \
- @GNOME_DIR@ @TRAY_MONITOR_DIR@ @WX_DIR@
+ @GNOME_DIR@ @TRAY_MONITOR_DIR@ @WX_DIR@ \
+ @READLINE_SRC@ src/console
# Non-client-only directores
subdirs = src/cats @DIRD_DIR@ @STORED_DIR@ src/tools
__Martin
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users