Opened 3 years ago

Last modified 22 months ago

#21532 new enhancement

Create SAGE_LOCAL directory hierarchy during "make", not "configure"

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-7.5
Component: build Keywords:
Cc: jdemeyer Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

./configure should not create the directory hierarchy under SAGE_LOCAL.

Normally this is the task of make install; but since our make already does the equivalent of "make install" (see #21479 and #21495 for discussion), we should do this during make.

. . .

A possible implementation would be to use the currently unused automake-generated build/make/Makefile-auto to do that by calling make -f Makefile-auto install during make.

Change History (1)

comment:1 Changed 22 months ago by embray

This also creates problems with $SAGE_SUDO and --prefix= set to a root-owned directory, since it effectively means we have to run ./configure as root. I agree it would be better to do in the Makefile, and run the relevant commands with $SAGE_SUDO.

Note: See TracTickets for help on using tickets.