First time here? Check out the FAQ!

Ask Your Question
0

Installation problem on Mac OSX

asked 12 years ago

John Frank gravatar image

updated 12 years ago

benjaminfjones gravatar image

I downloaded sage-5.4.1-OSX-64bit-10.8-x86_64-Darwin.dmg and double-clicked it.

I can find README.txt and folder named "sage"

In README.txt, I can find the following:

1) Download the dmg somewhere and double click on it.

2) Drag the sage folder somewhere, e.g., /Applications

3) Use finder to visit the sage folder you just copied it and double click on the "sage" icon.

4) Select to run it with "Terminal":

5) Sage should pop up in a window.

6) For the graphical notebook, type notebook() You might have to open Firefox or Safari (your choice) to the URL http://localhost:8000 to use Sage on your computer.

I did from step 1) to step 4) and I got this message from terminal without sage pop-up:

Last login: Thu Nov 29 22:25:09 on ttys000
/Applications/sage/sage ; exit;
aca89a95:~ user$ /Applications/sage/sage ; exit;
----------------------------------------------------------------------
| Sage Version 5.4.1, Release Date: 2012-11-15                       |
| Type "notebook()" for the browser-based notebook interface.        |
| Type "help()" for help.                                            |
----------------------------------------------------------------------
/Applications/sage/spkg/bin/sage: line 283:   439 Segmentation fault: 11  sage-location
logout

[Process completed]

What does this mean?

Preview: (hide)

Comments

You have a segmentation fault there. Do you actually have a 64bit installation of Mac OSX?

ppurka gravatar imageppurka ( 12 years ago )

My processor is Intel Core 2 duo. It's a 64-bit according to apple website here: http://support.apple.com/kb/HT3696

John Frank gravatar imageJohn Frank ( 12 years ago )

But do you have OS X 10.8?

kcrisman gravatar imagekcrisman ( 12 years ago )

You may also want to try the app version, though presumably it would have the same problem.

kcrisman gravatar imagekcrisman ( 12 years ago )

And I've heard that some of Apple's 64-bit ones are not "real" 64-bit... it would depend on what processor this was compiled on (the binary) and likely it was a newer computer.

kcrisman gravatar imagekcrisman ( 12 years ago )

2 Answers

Sort by » oldest newest most voted
0

answered 12 years ago

Stefan gravatar image

I ran into the same problem. Turns out I downloaded the version for OS X 10.8 while I'm running 10.7. The

sage-5.4.1-OSX-64bit-10.7-x86_64-Darwin.dmg

binary works just fine for me.

Incidentally, when did the binaries become dependent on the OS version? That's just annoying.

Preview: (hide)
link

Comments

Look up the sage-support or sage-devel mailing list. There are changes in the OS level for every new version of Mac. So, you need to have these different binaries.

ppurka gravatar imageppurka ( 12 years ago )

Yes, it's always been this way. This is because Sage is highly dependent on very finicky low-level components that really do change from version to version as more stuff becomes possible on a processor, as well as some high-level stuff in the OS X business.

kcrisman gravatar imagekcrisman ( 12 years ago )
0

answered 12 years ago

updated 12 years ago

this Apple's link is misleading. Type of processor alone does not describe the "bitness" of the OS. E.g. Core 2 Duo Macbook Pro can well be running 32-bit OSX 10.6. To find this out exactly, click "Apple"->About this Mac->More Info->Software. You will see something like the following:

System Software Overview:

System Version: Mac OS X 10.6.8 (10K549)
Kernel Version: Darwin 10.8.0
Boot Volume:    MAC
Boot Mode:  Normal
Computer Name:  XXXXXXXXXX
User Name:  xxxxx
Secure Virtual Memory:  Enabled
64-bit Kernel and Extensions:   No
Time since boot:    21 days 2:59'

Note the line " 64-bit Kernel and Extensions: No". So this is a 32-bit system. Even though it is Core 2 Duo:

Hardware Overview:

Model Name: MacBook Pro
Model Identifier:   MacBookPro5,5
Processor Name: Intel Core 2 Duo
Processor Speed:    2.26 GHz
Number Of Processors:   1
Total Number Of Cores:  2
L2 Cache:   3 MB
Memory: 4 GB
Bus Speed:  1.07 GHz
Boot ROM Version:   MBP55.00AC.B03
SMC Version (system):   1.47f2
Serial Number (system): XXXXXXXXXX
Hardware UUID:  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Sudden Motion Sensor:
State:  Enabled

Some systems can be booted into 32-bit as well as into 64-bit modes using certain key combinations. See http://support.apple.com/kb/HT3773

Preview: (hide)
link

Comments

Is there another binary the original poster could try, e.g. would the 10.6 binary work? Now that Xcode is a little more annoying to get hold of, building from source would be a second option.

kcrisman gravatar imagekcrisman ( 12 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 12 years ago

Seen: 2,537 times

Last updated: Nov 30 '12