Oops, no, it's not working. I'm on a new machine, just installed Xcode
and Sage. I open up sage and try to build it, and I get this output:

Installing c_lib
64 bit mode
scons: `install' is up to date.
Updating Cython code....
Execute 0 commands (using 0 threads)
Time to execute 0 commands: 0.35441493988 seconds
Finished compiling Cython code (time = 5.63022589684 seconds)
running install
running build
running build_py
running build_ext
warning: Replacing library search directory in linker command:
  "/Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/sage-4.7.1/
local/lib" -> "/Applications/sage/local/lib"

building 'sage.misc.darwin_utilities' extension
building 'sage.ext.interpreters.wrapper_rr' extension
Execute 2 commands (using 2 threads)
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -m64 -Wall -Wstrict-
prototypes -I/Applications/sage/local/include -I/Applications/sage/
local/include/csage -I/Applications/sage/devel/sage/sage/ext -I/
Applications/sage/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
gcc -m64 -L/Applications/sage/local/lib -bundle -undefined
dynamic_lookup build/temp.macosx-10.7-x86_64-2.6/sage/ext/interpreters/
wrapper_rr.o build/temp.macosx-10.7-x86_64-2.6/sage/ext/interpreters/
interp_rr.o -L/Applications/sage/local/lib -lcsage -lmpfr -lstdc++ -
lntl -o build/lib.macosx-10.7-x86_64-2.6/sage/ext/interpreters/
wrapper_rr.so
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.

What could still be wrong?

On Aug 31, 1:13 pm, dkrumm <dkr...@uga.edu> wrote:
> Thanks! I did that and it's working now.
>
> On Aug 31, 3:37 am, Robert Bradshaw <rober...@math.washington.edu>
> wrote:
>
>
>
>
>
>
>
> > On Tue, Aug 30, 2011 at 3:08 PM, dkrumm <dkr...@uga.edu> wrote:
> > > I just made a new installation of Sage 4.7.1 and I tried to build the
> > > library (although I haven't made any changes to it). I get this error
> > > message:
>
> > > Building Sage on OS X in 64-bit mode
> > > Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist
> > > Detected SAGE64 flag
> > > Building Sage on OS X in 64-bit mode
>
> > > ----------------------------------------------------------
> > > sage: Building and installing modified Sage library files.
>
> > > Installing c_lib
> > > 64 bit mode
> > > gcc -o src/convert.os -c -O2 -g -m64 -fPIC -I/Applications/sage.app/
> > > Contents/Resources/sage/local/include -I/Applications/sage.app/
> > > Contents/Resources/sage/local/include/python2.6 -I/Applications/
> > > sage.app/Contents/Resources/sage/local/include/NTL -Iinclude src/
> > > convert.c
> > > sh: gcc: command not found
> > > scons: *** [src/convert.os] Error 127
> > > ERROR: There was an error building c_lib.
>
> > > I've tried this on two different machines, with the same result. Any
> > > ideas of what I'm doing wrong?
>
> > "gcc: command not found" means that you need to install the C compiler
> > gcc. 
> > Seehttp://www.sagemath.org/doc/faq/faq-usage.html#what-are-sage-s-prereq...
>
> > - Robert

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to