Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: bananaboy on October 19, 2010, 01:07:49 am

Title: [Mac] posix_spawn permission denied
Post by: bananaboy on October 19, 2010, 01:07:49 am
Hi all, I'm new here so if I'm misposting something, point me in the right direction please.

I did a search for my error, and nothing came up so I thought I'd post.

I installed freespace on my bootcamp partition, moved the files over, then ran the java installer by Turey. I got the Mac OS Binaries and the media VPS (3.6.12) from there, but I didn't see anything that resembled a Launcher for OS X, so I grabbed Soulstorm's 3.0 mac launcher off his site, updated it to the latest version, and put that in the same folder.

The launcher starts up fine, but when I point it to FS2_Open-Inferno 3.6.12.app, i get:

"It appears that the application you have selected is not valid, the flag file that it produces in order to make the UI and other things cannot be found."

I also tried running S2_Open-Inferno 3.6.12.app directly, but it crashes instantly. The Console reads:

"posix_spawn("/Users/<my username>/Desktop/FreeSpace2/FS2_Open-Inferno 3.6.12 (debug).app/Contents/MacOS/FS2_Open-Inferno (debug)", ...): Permission denied"

Any pointers would be really helpful.

Thanks.
Title: Re: [Mac] posix_spawn permission denied
Post by: chief1983 on October 19, 2010, 09:50:06 am
Since you do seem to have already run the (debug) build, please grab the fs2_open.log from your ~/Library/FS2_Open/data/ folder and attach it to a post.  It sounds like you nailed the installation, so some other system specs would also be helpful.  Another step to try would be to see if you have issues with the latest OS X nightly build as well, in the Nightly Build forum (http://www.hard-light.net/forums/index.php?board=173.0).  The revision 6627 and higher builds in particular are quite different from 3.6.12.
Title: Re: [Mac] posix_spawn permission denied
Post by: bananaboy on October 20, 2010, 02:08:00 am
Got it working!

Took chief1983's advice and downloaded the latest nightly from the forum thread, revision 6627, and it ran without a hitch.

I'm very surprised to find a forum maintaining an 11 year old game so active, and I certainly didn't expect to get a reply so soon.

Just in case anyone else comes across this, I'm running it on a Macbook Pro 2.4Ghz, i5 with 4GB ram running Mac OS X 10.6.4 (10F569), 32 bit kernel. My boot partition is of the non case sensitive variety.

Many thanks to chief1983, and to everyone who looked and gave it some thought!
Title: Re: [Mac] posix_spawn permission denied
Post by: chief1983 on October 20, 2010, 09:31:57 am
Glad I could help :)

The development lately has actually been very active, keep checking in for features in new builds.  There will be another Mac development build featuring new HUD code up shortly that will help fix the 2d element's aspect on widescreen monitors.