Re: Re: cygwin 'make install' deleted everything!

From: Christian Holm Christensen <>
Date: Thu, 09 Nov 2006 23:06:41 +0100

Hi George,

Keeping in mind that Fons etc. has a fix, I'd like to ask you a few things, just clear up things. Thank you.

On Thu, 2006-11-09 at 12:00 -0500, George Locke wrote:
> the same problem happened with 5.13.04 .
> i sent the makelog to another directory, and you can see what's
> happening here:

My first question is, how did you configure ROOT? If you _did_not_ specify a fixed installation directory using `--prefix' or the like, you should _not_ run `make install'. If you _did_ specify a fixed installation directory, then you _must_ run `make install'.


> this is a 'win32' configured build.

A bit more details would be nice.

> looking at the root log, it seems to know where the $DESTDIR is, the
> first indication of a problem comes when it tries to delete some of
> the source files and then install the tutorials:

DESTDIR is a kind of special variable. Normally it should be empty. The variable is used if you want to install the stuff into a temporary directory (say for packaging) and then later move it to the right place. So suppose you did

  ./configure ---prefix=/usr
  make install DESTDIR=/tmp/package  

Then everything will be put in `/tmp/package/usr'. One could then package everything from `/tmp/package' for people to install later into `/':

  (cd /tmp/package && tar -czvf root-bin.tar.gz)

  # on installation system
  tar -xzvf root-bin.tar.gz -C /

This is in fact how the RPMs and DEBs are done. Cygwin does the same thing for the various packages too. However, this kind of thing is the only time when DESTDIR should be defined. If you want to know more, read the relevant node in the Automake manual. The feature in the ROOT build system is inspired by that.

> Installing misc docs in /c/Root
> rm: cannot remove directory `/c/Root/mytmpinstall/root/zip': Directory not empty

The deletion here is supposed to remove CVS directories from the installation. Why on earth it goes into the `mytmpinstall' directory is a mystery to me - Fons, do you have an answer for that? I suspect that there's an unintended space in `$(DOCDIR)'.


> it seems to me that it does know where $DESTDIR is but it doesn't seem
> to know where $INSTALLDIR is maybe?

DESTDIR is irrelevant to the problem, as I've explained above.


 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:               Web:
 | |
Received on Thu Nov 09 2006 - 23:06:59 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET