#11359: ECL does not fully recover from relocation
----------------------+-----------------------------------------------------
   Reporter:  nbruin  |          Owner:  GeorgSWeber   
       Type:  defect  |         Status:  new           
   Priority:  minor   |      Milestone:  sage-4.7.1    
  Component:  build   |       Keywords:  ecl relocation
Work_issues:          |       Upstream:  N/A           
   Reviewer:          |         Author:                
     Merged:          |   Dependencies:                
----------------------+-----------------------------------------------------

Comment(by nbruin):

 Confirmed! This seems to be indeed the only problem. I did the following
 in {{{local/bin}}}
 {{{
 $ mv ecl ecl.bin
 $ cat <<<EOF >ecl
 #!/bin/sh
 exec ecl.bin \
   -eval '(setf c::*ecl-include-directory* (concatenate '"'"'string
 (SI:GETENV "SAGE_ROOT") "/local/include/"))'\
   -eval '(setf c::*ecl-library-directory* (concatenate '"'"'string
 (SI:GETENV "SAGE_ROOT") "/local/lib/"))' \
   "$@"
 EOF
 $ chmod a+x ecl
 }}}
 after which rebuilding maxima succeeds in a relocated position.

 Note that this piece of code does not scrub c::*cc-flags* or c::*ld-flags*
 yet.

 The definitions for the default values of these variables seem to live in
 spkg/build/ecl-*/src/src/cmp/cmpdefs.lsp
 so that is probably what we need to patch.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11359#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to