Skip to content

sage-location doesn't deal with packages after initialize_pkgconfig_files has run #12076

@sagetrac-mariah

Description

@sagetrac-mariah

sage-4.7.2 with optional package libogg-1.1.4.spkg installed.
Now when I move the sage tree I get:

eno% ./sage
----------------------------------------------------------------------
| Sage Version 4.7.2, Release Date: 2011-10-29                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
The Sage installation tree may have moved
(from /home/mariah/sage/sage-4.7.2-x86_64-Linux-core2-fc to /home/mariah/sage/sage-4.7.2-x86_64-Linux-core2-fc-libogg-test).
Changing various hardcoded paths...
(Please wait at most a few minutes.)
DO NOT INTERRUPT THIS.
Error: sage_location: update_pkgconfig_files():
  File "ogg.pc" doesn't contain a definition of SAGE_ROOT.
  Skipping it...
Done resetting paths.
sage:

Apply:

Both trac_12076.patch and
trac_12076-2.patch.

Component: scripts

Keywords: sd40.5

Author: Mike Hansen

Reviewer: Dan Drake, Karl-Dieter Crisman

Merged: sage-5.1.beta4

Issue created by migration from https://trac.sagemath.org/ticket/12076

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions