Some problems with w3c-libwww-5.2.8

Hi Henrik,

I just compiled and installed w3c-libwww-5.2.8 on our ix86-linux systems
(kernel 2.2.10 and either libc-5.4.38 or glibc-2.1.1).

1.
I had to replace your libtool (I think it was version 1.12e) with my newer
version 1.3.2. The old libtool failed to recognize my shared libraries
/lib/libc.so.5.4.36, /lib/libdl.so.1.9.5, and so on, with the usual
unpleasant consequences.

2.
When I tried "make DESTDIR=something install" (as non-root user) I badly
failed because make tried to create the directory /usr/include/w3c-libwww in
spite of the DESTDIR -- the attached patch fixed that problem but I am sure
there is a better way to let automake do that automatically.

with best regards
Peter Breitenlohner <peb@mppmu.mpg.de>
diff -ur w3c-libwww-5.2.8.orig/Makefile.am w3c-libwww-5.2.8/Makefile.am
--- w3c-libwww-5.2.8.orig/Makefile.am	Mon Apr  5 17:13:57 1999
+++ w3c-libwww-5.2.8/Makefile.am	Mon Jul 26 17:55:37 1999
@@ -24,8 +24,8 @@
 # We need to install the config.h header file as well
 install-exec-local:
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(pkgincludedir)
-	$(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER) $(pkgincludedir)/$(CONFIG_HEADER);
+	$(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
+	$(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER) $(DESTDIR)$(pkgincludedir)/$(CONFIG_HEADER);
 
 # This is our install script provided by Soren Sandmann
 bin_SCRIPTS = libwww-config
diff -ur w3c-libwww-5.2.8.orig/Makefile.in w3c-libwww-5.2.8/Makefile.in
--- w3c-libwww-5.2.8.orig/Makefile.in	Mon Apr 12 20:46:19 1999
+++ w3c-libwww-5.2.8/Makefile.in	Mon Jul 26 17:55:35 1999
@@ -465,8 +465,8 @@
 # We need to install the config.h header file as well
 install-exec-local:
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(pkgincludedir)
-	$(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER) $(pkgincludedir)/$(CONFIG_HEADER);
+	$(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
+	$(INSTALL_DATA) $(top_builddir)/$(CONFIG_HEADER) $(DESTDIR)$(pkgincludedir)/$(CONFIG_HEADER);
 
 # Extra distribution files in zip format and in compress
 dist-hook:

Received on Tuesday, 27 July 1999 11:36:40 UTC