RE: Ups Install Glitches

From: Ian Edwards (
Date: Sat May 06 2000 - 01:32:15 BST

On 05-May-00 Teds Ups List wrote:

> I've run into a few install glitches in installing ups. I have fixed
> them by editing the file, but the second and third should
> probably be fixed by changing the file. 

> 1. "make install" does not create the install directory. If the
> directory where ups is to be installed does not exist, the install fails. 

OK.  The directory will be created if it does not already exist.

> hardcoded as bin, root and root, respectively. I don't want to install
> as "tools" rather than as root, and I can't see anyway of configuring
> this. Ideally, I would like to set the values as shell variables before
> calling configure. Alternatively, just omit the ownership setting 
> altogether. They could still default to the current values. 
> 3. The values of the file mode for all the installed files are
> hardcoded. They happen to be the ones I want, but others may prefer
> different permissions (e.g. 555 for executables is common). Again, it
> would be nice if this was configurable through the configure script
> (perhaps as a UPS_MODE, CX_MODE, MANPAGE_MODE environment variables). 

I have taken out the fixed mode and owner settings, so:

1) By default programs get installed with the default mode used by the
   'install' program (usually 755) and the manual page gets the mode
   chosen by 'configure' (usually 644).

2) If you want to set the owner and/or mode of the files then set shell
   variables BINARY_OWNER, HEADER_OWNER or MANPAGE_OWNER to the required
   parameters for the (BSD) install program, e.g.

        BINARY_OWNER='-g sys -o sys -m 550'  make install

3) The 'configure' script will normally select a BSD-compatible install
   program.  You can set the program and its parameters when running
   'configure' with the shell variables INSTALL_PROGRAM (for programs)
   and INSTALL_DATA (for files), e.g.

        INSTALL_PROGRAM='/usr/ucb/install -s -o bin -m 555' ./configure


  E-mail: Ian Edwards <>
  Date:   06-May-00             Time:   01:32:15

  Early Music Record Labels    -
  'ups' debugger for C/C++/f77 -

This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:33 GMT