#11965: OS X 10.7 Lion: Error building sage.misc.darwin_utilities extension
-----------------------+----------------------------------------------------
   Reporter:  was      |          Owner:  drkirkby  
       Type:  defect   |         Status:  new       
   Priority:  major    |      Milestone:  sage-4.7.3
  Component:  porting  |       Keywords:            
Work_issues:           |       Upstream:  N/A       
   Reviewer:           |         Author:            
     Merged:           |   Dependencies:            
-----------------------+----------------------------------------------------
 Building the sage.misc.darwin_utilities fails on OS X 10.7.2 with
 gcc-4.2.1 (build 5658) using XCode 4.

 {{{
 deep:sage wstein$ export MAKE="make -j1"
 deep:sage wstein$ sage -br

 ----------------------------------------------------------
 sage: Building and installing modified Sage library files.


 Installing c_lib
 scons: `install' is up to date.
 Updating Cython code....
 Time to execute 0 commands: 0.0105319023132 seconds
 Finished compiling Cython code (time = 0.939815998077 seconds)
 running install
 running build
 running build_py
 running build_ext
 building 'sage.misc.darwin_utilities' extension
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
 prototypes -I/Users/wstein/sage/install/sage-4.7.3.alpha1/local/include
 -I/Users/wstein/sage/install/sage-4.7.3.alpha1/local/include/csage
 -I/Users/wstein/sage/install/sage-4.7.3.alpha1/devel/sage/sage/ext
 -I/Users/wstein/sage/install/sage-4.7.3.alpha1/local/include/python2.6 -c
 sage/misc/darwin_memory_usage.c -o
 build/temp.macosx-10.7-x86_64-2.6/sage/misc/darwin_memory_usage.o -w
 In file included from sage/misc/darwin_memory_usage.c:4:
 /usr/include/mach/task_info.h:252: error: expected specifier-qualifier-
 list before ‘vm_extmod_statistics_data_t’
 error: command 'gcc' failed with exit status 1
 sage: There was an error installing modified sage library code.



 deep:sage wstein$ gcc -v
 Using built-in specs.
 Target: i686-apple-darwin11
 ...
 gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
 }}}

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