D. Scott Barninger schrieb:
> Kern,
> 
> This sounds like a bug in the source?

i think it is. the attached patch fixed the problem for me (patch added to my 
bug report too):

# ls -l /var/tmp/bacula-root/usr/lib64/
total 1056
drwxr-xr-x 4 root root   4096 May  4 23:41 bacula
-rwxr-xr-x 1 root root 324288 May  4 23:41 libbac-5.0.1.so
-rwxr-xr-x 1 root root  29696 May  4 23:41 libbaccfg-5.0.1.so
-rwxr-xr-x 1 root root    926 May  4 23:41 libbaccfg.la
lrwxrwxrwx 1 root root     18 May  4 23:41 libbaccfg.so -> libbaccfg-5.0.1.so
-rwxr-xr-x 1 root root  48336 May  4 23:41 libbacfind-5.0.1.so
-rwxr-xr-x 1 root root    932 May  4 23:41 libbacfind.la
lrwxrwxrwx 1 root root     19 May  4 23:41 libbacfind.so -> libbacfind-5.0.1.so
-rwxr-xr-x 1 root root    908 May  4 23:41 libbac.la
-rwxr-xr-x 1 root root   3800 May  4 23:41 libbacpy-5.0.1.so
-rwxr-xr-x 1 root root    920 May  4 23:41 libbacpy.la
lrwxrwxrwx 1 root root     17 May  4 23:41 libbacpy.so -> libbacpy-5.0.1.so
lrwxrwxrwx 1 root root     15 May  4 23:41 libbac.so -> libbac-5.0.1.so
-rwxr-xr-x 1 root root 568424 May  4 23:41 libbacsql-5.0.1.so
-rwxr-xr-x 1 root root    996 May  4 23:41 libbacsql.la
lrwxrwxrwx 1 root root     18 May  4 23:41 libbacsql.so -> libbacsql-5.0.1.so


regards,
-ap
diff -Pur bacula-5.0.2.org/autoconf/Make.common.in bacula-5.0.2/autoconf/Make.common.in
--- bacula-5.0.2.org/autoconf/Make.common.in	2010-04-27 21:58:29.000000000 +0200
+++ bacula-5.0.2/autoconf/Make.common.in	2010-05-04 23:33:08.000000000 +0200
@@ -57,6 +57,7 @@
 INSTALL = @INSTALL@
 # add the -s to the following in PRODUCTION mode
 INSTALL_PROGRAM = $(INSTALL) -m @SBINPERM@
+INSTALL_LIB = $(INSTALL) -m 755
 INSTALL_DATA = $(INSTALL) -m 644
 INSTALL_SCRIPT = $(INSTALL) -m @SBINPERM@
 INSTALL_CONFIG = $(INSTALL) -m 640
diff -Pur bacula-5.0.2.org/src/cats/Makefile.in bacula-5.0.2/src/cats/Makefile.in
--- bacula-5.0.2.org/src/cats/Makefile.in	2010-04-27 21:58:29.000000000 +0200
+++ bacula-5.0.2/src/cats/Makefile.in	2010-05-04 23:38:46.000000000 +0200
@@ -131,7 +131,7 @@
 
 libtool-install: all
 	$(MKDIR) $(DESTDIR)$(libdir)
-	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbacsql$(DEFAULT_ARCHIVE_TYPE) $(DESTDIR)$(libdir)
+	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbacsql$(DEFAULT_ARCHIVE_TYPE) $(DESTDIR)$(libdir)
 
 libtool-uninstall:
 	$(LIBTOOL_UNINSTALL) $(RMF) $(DESTDIR)$(libdir)/libbacsql.la
diff -Pur bacula-5.0.2.org/src/findlib/Makefile.in bacula-5.0.2/src/findlib/Makefile.in
--- bacula-5.0.2.org/src/findlib/Makefile.in	2010-04-27 21:58:29.000000000 +0200
+++ bacula-5.0.2/src/findlib/Makefile.in	2010-05-04 23:36:09.000000000 +0200
@@ -78,7 +78,7 @@
 
 libtool-install: all
 	$(MKDIR) $(DESTDIR)$(libdir)
-	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbacfind$(DEFAULT_ARCHIVE_TYPE) $(DESTDIR)$(libdir)
+	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbacfind$(DEFAULT_ARCHIVE_TYPE) $(DESTDIR)$(libdir)
 
 libtool-uninstall:
 	$(LIBTOOL_UNINSTALL) $(RMF) $(DESTDIR)$(libdir)/libbacfind.la
diff -Pur bacula-5.0.2.org/src/lib/Makefile.in bacula-5.0.2/src/lib/Makefile.in
--- bacula-5.0.2.org/src/lib/Makefile.in	2010-04-27 21:58:29.000000000 +0200
+++ bacula-5.0.2/src/lib/Makefile.in	2010-05-04 23:38:13.000000000 +0200
@@ -198,9 +198,9 @@
 
 libtool-install: all
 	$(MKDIR) $(DESTDIR)$(libdir)
-	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbac.la $(DESTDIR)$(libdir)
-	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbaccfg.la $(DESTDIR)$(libdir)
-	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_PROGRAM) libbacpy.la $(DESTDIR)$(libdir)
+	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbac.la $(DESTDIR)$(libdir)
+	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbaccfg.la $(DESTDIR)$(libdir)
+	$(LIBTOOL_INSTALL_FINISH) $(INSTALL_LIB) libbacpy.la $(DESTDIR)$(libdir)
 
 libtool-uninstall:
 	$(LIBTOOL_UNINSTALL) $(RMF) $(DESTDIR)$(libdir)/libbac.la
------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to