W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Re: Some problems with w3c-libwww-5.2.8

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Sun, 01 Aug 1999 23:11:28 -0400
Message-Id: <3.0.5.32.19990801231128.00832770@localhost>
To: Peter Breitenlohner <peb@mppmu.mpg.de>, Jose Kahan <Jose.Kahan@w3.org>
Cc: <www-lib@w3.org>
At 11:07 27/07/1999 -0400, Peter Breitenlohner wrote:

>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.

I think this works fine - and I can't see why it shouldn't be added to the
repository.

Jose (or someone else with write access), could I please ask you to add this?

Henrik

>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:
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Monday, 2 August 1999 02:51:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:17 UTC