Changes between Version 4 and Version 5 of Ticket #13348


Ignore:
Timestamp:
09/10/12 12:47:01 (10 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13348 – Description

    v4 v5  
    1 Since we're setting `LIBRARY_PATH` in `sage-env` (which is the ''compile-time'' equivalent of `LD_LIBRARY_PATH`, corresponding to the compiler flag `-L`), we should analogously set `CPATH` to `SAGE_LOCAL/include` (corresponding to the compiler flag `-I`).
     1Since we're setting `LIBRARY_PATH` in `sage-env` (which is the ''compile-time'' equivalent of `LD_LIBRARY_PATH`, corresponding to the compiler flag `-L`), we should analogously set `CPATH` to `SAGE_LOCAL/include` (corresponding to the compiler flag `-I`).  This is already done in the `spkg-install` file for `sagenb-0.10.2`.
    22
    33Within Sage, `SAGE_LOCAL` effectively acts as installation prefix, so this is the logical thing to do.  A GCC compiled within Sage will already look at `SAGE_LOCAL/include` by default.