Thank you very much Dima, 

I solved it by throwing out macports instead. Now it works. 

/Oskar

On Tuesday, August 27, 2013 4:45:52 AM UTC+2, Dima Pasechnik wrote:
>
> On 2013-08-26, Oskar Till <oskar....@gmail.com <javascript:>> wrote: 
> > Hello, 
> > 
> > I'm new to Sage and I'm trying to do some calculations in toric 
> geometry. My binary version struggled, and some of the combinatorial 
> geometry functions didn't work. I was advised to build sage from source, 
> which now gave me more problems. I'm running Mac OS_X 10.7.5 (with latest 
> XCode installed) and I'm trying to make Sage 5.9. When typing make, after 
> extracting the tar file in the /Applications directory I get the following 
> message: 
> > 
> > 
> > Found MacPorts in  /opt/local/bin/port 
> > 
> > ********************************************************* 
> > 
> > Found either MacPorts or Fink in your PATH, which potentially wrecks the 
> Sage build process. 
> > You should make sure MacPorts and Fink cannot be found.  Either: 
> > (1) rename /opt/local and /sw, or 
> > (2) change PATH and DYLD_LIBRARY_PATH 
> > (Once Sage is built, you can restore them.) 
> > 
> > ********************************************************* 
> > 
> > make[2]: *** [/Applications/sage-5.9/spkg/installed/prereq-1.2] Error 1 
> > make[1]: *** [all] Error 2 
> > 
> > real        0m4.529s 
> > user        0m1.244s 
> > sys        0m1.577s 
> > *************************************************************** 
> > Error building Sage. 
> > 
> > The following package(s) may have failed to build: 
> > 
> > The build directory may contain configuration files and other 
> potentially 
> > helpful information. WARNING: if you now run 'make' again, the build 
> > directory will, by default, be deleted. Set the environment variable 
> > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. 
> > 
> > make: *** [build] Error 1 
> > 
> > I'm not very good in using the terminal, so please explain in basic 
> terms why this happens, and how it may be solved. 
>
> Sage building process needs native OSX tools rather than the ones 
> provided by Fink or MacPorts. 
> So you can do 
> (1) rename /opt/local and /sw 
>
> With terminal, you can do this as follows: 
>
> cd / 
> mv /sw /sw_gone 
> mv /opt/local /opt/local_gone 
>
> It could be you need to do "sudo mv ..." rather than just "mv...". 
>
> (actually, this can be done with Finder too, if you know a magic 
> shortcut to bring you to /...) 
>
>
> After Sage is built you can rename them back... 
> (e.g. "mv /sw_gone /sw") 
> > 
> > Thank you very much in advance. //Oskar 
> > 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to