Shop OBEX P1 Docs P2 Docs Learn Events
BST Mac Install — Parallax Forums

BST Mac Install

HumanoidoHumanoido Posts: 5,770
edited 2011-06-09 17:00 in Propeller 1
I downloaded bstl.osx.zip and it will not open or install. Any ideas? Stuffit Deluxe does nothing. MacZip same.

(OSX 10.4)

Comments

  • RossHRossH Posts: 5,519
    edited 2011-05-19 03:35
    Hi Humanoido,

    I can't install it (no mac!) but it unzips fine for me under Win7.

    Ross.
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-05-19 04:32
    Apparently it's unzipped but the file does nothing. It won't open. Is there a special program required to open it?
  • RossHRossH Posts: 5,519
    edited 2011-05-19 04:35
    Hi Humanoido,

    I don't think so - I think it is just supposed to be an executable file.

    Ross.
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-05-19 04:54
    It definitely does not run on the Mac. Maybe Brad wrote the program for a different OS version.
  • ElectricAyeElectricAye Posts: 4,561
    edited 2011-05-19 05:41
    Humanoido wrote: »
    It definitely does not run on the Mac. Maybe Brad wrote the program for a different OS version.

    I use it on my Mac all the time. I've got OS 10.5.8 and have never had a problem.
  • Mike GreenMike Green Posts: 23,101
    edited 2011-05-19 05:57
    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.
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2011-05-19 05:59
    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.
  • potatoheadpotatohead Posts: 10,261
    edited 2011-05-19 06:09
    why not try "chmod +x" on the file?

    Say it's called bst.exe.

    "chmod +x bst.exe" will set that executable bit for you.
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-05-19 07:30
    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..
  • Mike GreenMike Green Posts: 23,101
    edited 2011-05-19 07:55
    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.
  • davidsaundersdavidsaunders Posts: 1,559
    edited 2011-05-19 08:07
    I have ran OS X 10.5 on an eMac G4 with 1GB of ram, so your Intel PC-Mac should have no trouble.
  • SSteveSSteve Posts: 808
    edited 2011-05-19 08:55
    Humanoido wrote: »
    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.

    Report back if you're still having trouble.
  • davidsaundersdavidsaunders Posts: 1,559
    edited 2011-05-19 09:02
    SSteve wrote:
    bstc.osx is a command-line program. It will easily run on the slowest CPU capable of running OS X.
    Cool, time to break out the G3 :) .
  • SSteveSSteve Posts: 808
    edited 2011-05-19 09:06
    Cool, time to break out the G3 :) .

    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:
    510$ file bstc.osx
    bstc.osx: Mach-O universal binary with 2 architectures
    bstc.osx (for architecture i386):	Mach-O executable i386
    bstc.osx (for architecture ppc):	Mach-O executable ppc
    
  • potatoheadpotatohead Posts: 10,261
    edited 2011-05-19 10:19
    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.
  • BradCBradC Posts: 2,601
    edited 2011-05-19 10:31
    bst[cl] is built for and tested on a 400Mhz G3 on OSX 10.4.
  • davidsaundersdavidsaunders Posts: 1,559
    edited 2011-05-19 10:38
    BradC:
    Thank you.

    And nice to see you around these parts again.
  • potatoheadpotatohead Posts: 10,261
    edited 2011-05-19 10:59
    Nice to see you back :)

    I trust all is well?
  • BradCBradC Posts: 2,601
    edited 2011-05-19 13:59
    Not so much. I don't get a chance to check the forums much at all so my appearances at the moment are sporadic and random at best.

    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.
  • potatoheadpotatohead Posts: 10,261
    edited 2011-05-19 15:43
    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.
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-05-19 18:35
    potatohead wrote: »
    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.
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-05-19 18:55
    BradC wrote: »
    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 DemenevAndrey Demenev Posts: 377
    edited 2011-05-19 19:14
    I guess, what you want is bst, not bstc
    http://www.fnarfbargle.com/bst/Latest/
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-05-19 20:57
    I guess, what you want is bst, not bstc
    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.
  • HumanoidoHumanoido Posts: 5,770
    edited 2011-05-20 02:04
    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.
  • Mark_TMark_T Posts: 1,981
    edited 2011-05-20 02:45
    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
  • davidsaundersdavidsaunders Posts: 1,559
    edited 2011-05-28 08:38
    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.
  • HShankoHShanko Posts: 402
    edited 2011-06-09 17:00
    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?
Sign In or Register to comment.