#6579: Error building 'modified sage library code' when including paripriv.h
----------------------+-----------------------------------------------------
 Reporter:  drkirkby  |       Owner:  tbd         
     Type:  defect    |      Status:  new         
 Priority:  major     |   Milestone:  sage-4.1.1  
Component:  solaris   |    Keywords:  Solaris hack
 Reviewer:            |      Author:              
   Merged:            |  
----------------------+-----------------------------------------------------
 Although the build of pari goes ok on Solaris, there is an error when
 building the modified sage library code. It complains about syntax errors
 - see below.

 {{{
 Time to execute 1 commands: 2.75036501884 seconds
 Finished compiling Cython code (time = 4.44064807892 seconds)
 running install
 running build
 running build_py
 copying sage/symbolic/constants.py ->
 build/lib.solaris-2.10-sun4u-2.6/sage/symbolic
 running build_ext
 building 'sage.ext.fast_callable' extension
 creating build/temp.solaris-2.10-sun4u-2.6/sage/ext
 gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
 -Wstrict-prototypes -fPIC
 -I/export/home/drkirkby/sage/sage-4.1.rc0/local//include
 -I/export/home/drkirkby/sage/sage-4.1.rc0/local//include/csage
 -I/export/home/drkirkby/sage/sage-4.1.rc0/devel//sage/sage/ext
 -I/export/home/drkirkby/sage/sage-4.1.rc0/local/include/python2.6 -c
 sage/ext/fast_callable.c -o
 build/temp.solaris-2.10-sun4u-2.6/sage/ext/fast_callable.o -w
 In file included from sage/ext/fast_callable.c:141:
 /export/home/drkirkby/sage/sage-4.1.rc0/local//include/pari/paripriv.h:258:
 error: expected ';', ',' or ')' before numeric constant
 /export/home/drkirkby/sage/sage-4.1.rc0/local//include/pari/paripriv.h:259:
 error: expected ';', ',' or ')' before numeric constant
 In file included from sage/ext/fast_callable.c:141:
 /export/home/drkirkby/sage/sage-4.1.rc0/local//include/pari/paripriv.h:428:
 error: expected identifier before numeric constant
 error: command 'gcc' failed with exit status 1
 sage: There was an error installing modified sage library code.
 }}}

 I have developed a patch, and will apply it later, including this tick
 number.

 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6579>
Sage <http://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