Opened 6 years ago

Last modified 5 weeks ago

## #21532 new enhancement

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

Reported by: | Matthias Köppe | Owned by: | |
---|---|---|---|

Priority: | major | Milestone: | sage-9.8 |

Component: | build | Keywords: | |

Cc: | Jeroen Demeyer | 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 (9)

### comment:1 Changed 5 years ago by

### comment:2 Changed 3 years ago by

Milestone: | sage-7.5 → sage-wishlist |
---|

### comment:3 Changed 2 years ago by

Milestone: | sage-wishlist → sage-9.2 |
---|

Moving some tickets to 9.2. This is not a promise that I will be working on them.

### comment:4 Changed 2 years ago by

Milestone: | sage-9.2 → sage-9.3 |
---|

### comment:5 Changed 20 months ago by

Milestone: | sage-9.3 → sage-9.4 |
---|

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

### comment:6 Changed 15 months ago by

Milestone: | sage-9.4 → sage-9.5 |
---|

### comment:7 Changed 10 months ago by

Milestone: | sage-9.5 → sage-9.6 |
---|

### comment:8 Changed 7 months ago by

Milestone: | sage-9.6 → sage-9.7 |
---|

### comment:9 Changed 5 weeks ago by

Milestone: | sage-9.7 → sage-9.8 |
---|

**Note:**See TracTickets for help on using tickets.

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`

.