There was a problem once upon a time with the Mac unzip programs where they forgot to set the "executable" bit on files that they unzipped. This has been fixed for several versions of the MacOS and quite a few versions of StuffIt and MacZip. See if you can use another Mac with a nearly current MacOS to unzip the file. The built-in unzip program works fine now for this. You can copy it just fine once the proper bit is set.
Are you running 10.4 on a PPC or Intel processor? You probably need an Intel processor.
Other than that, check the file permissions to make sure it's executable. You can do this from the cmd line: ls -l. If it's not executable, you can make it so with the command chmod.
Thanks sincerely for the replies which I appreciate very much. OSX 10.4 is running on the first Mac Intel machine, but it does appear 10.4 is the problem. The CPU just isn't fast enough to go to 10.5 upgrade. It's an old Mac to hold me over until the new big Mac arrives. chmod +x bstc.osx gives "no such file or directory"... it probably needs a path to the desktop. It has Windows installed as dual boot, but it's in Chinese and no one can figure out how to get it back into English. It must be a special version. I went to the local Apple store today to buy the new Mac and found out that Apple is only selling old less powerful cpu models to China! And if I order from the USA, China confiscates new technology at Customs. It's a delay but I'll need to order from the USA and pick it up in another country. I may need to use the little eee pc for a while to get temporary prop connectivity. Sigh..
You might ask at the Apple store. This is a fairly well known problem (from one point in time) and there should be specific workarounds. chmod sounds right, but I'm not sure if that's to be applied to the application's outer folder or a specific file at the upper level. Remember that on the MacOS, applications are really directories.
chmod +x bstc.osx gives "no such file or directory"
That means you're not in the directory containing bstc.osx when you are running the chmod command. Here's a tip: In the Terminal, type "cd " (there's a space after "cd"--that's important). Then, from Finder, drag the folder containing bstc.osx onto the Terminal window. It will automatically insert the folder's location onto the command line. Click back into the Terminal window and press return. Now you're in the bstc.osx directory and can issue the chmod command. In order to run bstc.osx, you will either need to copy it into a directory that's in your path (type echo $PATH in Terminal to see which directories those are--you'll need to use "sudo cp" to copy into one of those directories) or cd into the directory containing bstc.osx and invoke it by typing "./bstc.osx". The "./" tells Unix to look in the current directory. For security reasons, Unix doesn't consider the current directory to be part of the search path for executables.
bstc.osx is a command-line program. It will easily run on the slowest CPU capable of running OS X. The only thing is I'm not 100% sure bstc.osx runs under 10.4. But I'm guessing it does.
The caveat being that it has to have been compiled to work with the version of OS X and the processor you're running. It does run on the PowerPC, though:
You can also locate BST with finder, right click for "get info", and on the permissions portion of that screen, insure that "executable" is checked for user permissions. No need to do it for group or world.
Well, I won't bother you with idle chatter then. Been there.
Humanoido just wants to run it, and appears to lack the execute bit, due to how OS X 10.4 appears to handle things. We may have resolved it. If you've got a quick, "do it this way" best practice, it would be good to see it here; otherwise, I think he just needs to get a coupla OS X navigation and permission matters resolved.
You can also locate BST with finder, right click for "get info", and on the permissions portion of that screen, insure that "executable" is checked for user permissions. No need to do it for group or world.
There is no permissions portion after right clicking but it does show the path of the icon.
It occurs to me to ask is Humanoido trying to run bstc from the finder or from the terminal? If the latter then more information would be helpful.
I really don't want command lines or run the terminal when using bst. When bst is downloaded, a file appears by the name of bstc.osx and that cannot be correct with that extension. Where is the bst version that acts like a program with menus and not like a command line interpreter?
Andrey - Fantastic! This time the download worked perfect. File appeared, instantly unzipped, bst.app icon appeared on the desktop, I double clicked it, and bst was up and running! Loaded in a Spin program. So far so good. The next step is to see if a Propeller chip connects.
The Propeller chip connects, the programs load, the props work, bst works, it works great! Thanks to everyone who offered advice. I'm planning to upgrade the MacBook from OSX 10.4 Tiger to 10.5 Leopard. The new mac will have 10.6 Snow Leopard, or Lion if it takes too long to get the machine.
FYI: the 'file' command is very handy for telling you what type a file actually is (it looks at the file contents to work it out). On the mac the real executable for an app called 'Blah' is usually at /Applications/Blah.app/Contents/MacOS/Blah
Perhaps if we can get Brad to let some one help him, we can get around the issues with the Mac OS X versions. I am now running OS X 10.3.9 on a Macintosh G4, and of course BST does not work.
If Brad will let me I could probably get BST to compile under Mac OS X server 10.0, and writhe a shell script installer, this would allow it to be used on any PowerPC version of OS X. This would of course mean seperating the PowerPC and IA32 OS X versions, or a separate archive could be maintained for Mac OS X 10.4 and newer (as earlier versions of OS X do not support Universal Binaries). I could also see about getting it to compile on Mac OS 9.x, and then we might have a Mac OS Classic version of BST.
Thanks for BST, Brad. Getting a QuickStart board helped me to try BST. Hopefully it will work for all my needs if PASD or ViewPort isn't needed for debug/check timing. Nice to not need Parallels to run Windows just to get started. Too often Parallels/Windows hogs the HD for minutes, at times. Wonder why? A Bill Gates 'feature'?
I note there is NO provision to print a .spin file. Or is there something else needed for that?
Comments
I can't install it (no mac!) but it unzips fine for me under Win7.
Ross.
I don't think so - I think it is just supposed to be an executable file.
Ross.
I use it on my Mac all the time. I've got OS 10.5.8 and have never had a problem.
Other than that, check the file permissions to make sure it's executable. You can do this from the cmd line: ls -l. If it's not executable, you can make it so with the command chmod.
Say it's called bst.exe.
"chmod +x bst.exe" will set that executable bit for you.
That means you're not in the directory containing bstc.osx when you are running the chmod command. Here's a tip: In the Terminal, type "cd " (there's a space after "cd"--that's important). Then, from Finder, drag the folder containing bstc.osx onto the Terminal window. It will automatically insert the folder's location onto the command line. Click back into the Terminal window and press return. Now you're in the bstc.osx directory and can issue the chmod command. In order to run bstc.osx, you will either need to copy it into a directory that's in your path (type echo $PATH in Terminal to see which directories those are--you'll need to use "sudo cp" to copy into one of those directories) or cd into the directory containing bstc.osx and invoke it by typing "./bstc.osx". The "./" tells Unix to look in the current directory. For security reasons, Unix doesn't consider the current directory to be part of the search path for executables.
bstc.osx is a command-line program. It will easily run on the slowest CPU capable of running OS X. The only thing is I'm not 100% sure bstc.osx runs under 10.4. But I'm guessing it does.
Report back if you're still having trouble.
The caveat being that it has to have been compiled to work with the version of OS X and the processor you're running. It does run on the PowerPC, though:
Thank you.
And nice to see you around these parts again.
I trust all is well?
It occurs to me to ask is Humanoido trying to run bstc from the finder or from the terminal? If the latter then more information would be helpful.
Humanoido just wants to run it, and appears to lack the execute bit, due to how OS X 10.4 appears to handle things. We may have resolved it. If you've got a quick, "do it this way" best practice, it would be good to see it here; otherwise, I think he just needs to get a coupla OS X navigation and permission matters resolved.
http://www.fnarfbargle.com/bst/Latest/
Andrey - Fantastic! This time the download worked perfect. File appeared, instantly unzipped, bst.app icon appeared on the desktop, I double clicked it, and bst was up and running! Loaded in a Spin program. So far so good. The next step is to see if a Propeller chip connects.
If Brad will let me I could probably get BST to compile under Mac OS X server 10.0, and writhe a shell script installer, this would allow it to be used on any PowerPC version of OS X. This would of course mean seperating the PowerPC and IA32 OS X versions, or a separate archive could be maintained for Mac OS X 10.4 and newer (as earlier versions of OS X do not support Universal Binaries). I could also see about getting it to compile on Mac OS 9.x, and then we might have a Mac OS Classic version of BST.
I note there is NO provision to print a .spin file. Or is there something else needed for that?