#11359: ECL does not fully recover from relocation
---------------------------------------+------------------------------------
       Reporter:  nbruin               |         Owner:  GeorgSWeber
           Type:  defect               |        Status:  needs_work 
       Priority:  major                |     Milestone:  sage-5.11  
      Component:  packages: standard   |    Resolution:             
       Keywords:  ecl hardcoded paths  |   Work issues:             
Report Upstream:  N/A                  |     Reviewers:             
        Authors:                       |     Merged in:             
   Dependencies:                       |      Stopgaps:             
---------------------------------------+------------------------------------
Changes (by vbraun):

  * status:  needs_review => needs_work
  * author:  Jeroen Demeyer =>
  * priority:  blocker => major
  * milestone:  sage-5.10 => sage-5.11
  * keywords:  ecl relocation => ecl hardcoded paths


Old description:

> It has been reported that after the Sage tree is relocated, e.g.
> {{{
> mv /usr/local/sage-4.6.2 /usr/local/sage-new-location
> }}}
> it is not possible to reinstall a maxima spkg anymore. This indicates
> that there are components of ecl that are sensitive to location and are
> not properly adjusted.
>
> See also #11348 and [https://groups.google.com/group/sage-
> devel/browse_thread/thread/4da7b0076f74d912/4a1f17eecbbdf064 this sage-
> devel thread].
>
> This can be fixed by simply adding a symbolic link `local/lib/ecl/ecl` ->
> `local/include/ecl` such that ECL finds its `ecl/config.h`.
>
> '''spkg''':
> [http://boxen.math.washington.edu/home/jdemeyer/spkg/ecl-12.12.1.p4.spkg]
> ([attachment:ecl-12.12.1.p4.diff spkg diff])

New description:

 CPPFLAGS are recorded by ECL for future use as default values for `c::*cc-
 flags*`. But we want Sage to be relocate-able, so no build paths should be
 hardcoded.

 This ticket proposes various changes to the ECL spkg-install that may
 work.

 See also #11348 and  this sage-devel thread.

--

Comment:

 I will review the workaround as part of #14662.

 Leaving this ticket open until you figure out how to set paths correctly
 ;-)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11359#comment:26>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to