#20133: Use pkg-config for Sage setup
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-7.1
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:  fix gsl build
         Branch:                     |  instructionsl pkgconfig import
  u/fbissey/use_pkg_config_for_sage_setup|       Commit:
   Dependencies:  #20130             |  6203f778428cd2af89a24633262fb9e441d19a43
                                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jdemeyer):

 * work_issues:  fix gsl build instructions => fix gsl build instructionsl
     pkgconfig import


Comment:

 1. You need to define the GSL aliases, note the command line:

 > gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
 **-Igsl_include_dirs** -I/home/worker/sage-patchbot/local/lib/python2.7
 /site-packages/cysignals -I/home/worker/sage-patchbot/local/include
 -I/home/worker/sage-patchbot/local/include/python2.7 -I/home/worker/sage-
 patchbot/local/lib/python2.7/site-packages/numpy/core/include
 -I/home/worker/sage-patchbot/src -I/home/worker/sage-patchbot/src/sage/ext
 -I/home/worker/sage-patchbot/src/build/cythonized -I/home/worker/sage-
 patchbot/src/build/cythonized/sage/ext -I/home/worker/sage-
 patchbot/local/include/python2.7 -c /home/worker/sage-
 patchbot/src/build/cythonized/sage/gsl/gsl_array.c -o build/temp.linux-
 x86_64-2.7/home/worker/sage-
 patchbot/src/build/cythonized/sage/gsl/gsl_array.o
 -DGSL_DISABLE_DEPRECATED -fno-strict-aliasing -w

 2. Can you try to not import `pkgconfig` every time that Sage starts?

--
Ticket URL: <http://trac.sagemath.org/ticket/20133#comment:39>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to