Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

2.7.1 - linux; "no such file or directory" errors

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

2.7.1 - linux; "no such file or directory" errors

Post by Hirato »

If you just want the solution, scroll to the end of the post.

As some of you may know, I've moved to 64bit Arch over a year ago, and I've been compiling both the 64bit and 32bit binaries there.
To my knowledge, everything worked fine, but it has come to my attention that some people (probably everyone) has had trouble running the binaries, with their shells providing the most nonsensical error..

Code: Select all

./sandbox_unix: line 132: ./bin/sandbox_client_32_fps: No such file or directory
I didn't believe them at all until I tried to run the binaries on my netbook with Ubuntu 11.10..

I think we can all agree that this is not the case and that something is seriously wrong.
I can't even run the binaries directly, the system still pretends all 2 million odd bytes don't exist.
This is the ouput of ll bin

Code: Select all

-rwxrwxr-x 1 hirato hirato  2426960 2012-01-08 01:38 sandbox_client_32_fps
-rwxrwxr-x 1 hirato hirato  2064692 2012-01-08 01:38 sandbox_client_32_krs
-rwxrwxr-x 1 hirato hirato  2233132 2012-01-08 01:38 sandbox_client_32_movie
-rwxr-xr-x 1 hirato hirato  2338876 2012-01-08 01:37 sandbox_client_32_pzl
-rwxrwxr-x 1 hirato hirato  2498944 2012-01-08 01:38 sandbox_client_32_rpg
-rwxrwxr-x 1 hirato hirato  2076984 2012-01-08 01:38 sandbox_client_32_ssp
-rwxrwxr-x 1 hirato hirato  2401584 2012-01-02 13:20 sandbox_client_64_fps
-rwxrwxr-x 1 hirato hirato  2039712 2012-01-02 13:20 sandbox_client_64_krs
-rwxrwxr-x 1 hirato hirato  2208656 2012-01-02 13:20 sandbox_client_64_movie
-rwxrwxr-x 1 hirato hirato  2474112 2012-01-02 13:20 sandbox_client_64_rpg
-rwxrwxr-x 1 hirato hirato  2052240 2012-01-02 13:20 sandbox_client_64_ssp
And to add additional insult to injury...

Code: Select all

bin/sandbox_client_32_fps:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
bin/sandbox_client_32_krs:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
bin/sandbox_client_32_movie: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
bin/sandbox_client_32_pzl:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
bin/sandbox_client_32_rpg:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
bin/sandbox_client_32_ssp:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
As we can see here, ALL the binaries exist, their permissions are correct and allow execution, so what gives?
I can cat them, I can use LDD to get a list of the libraries, THEY EVEN IDENTIFY CORRECTLY AS BINARIES

I have no idea who's or what is responsible, but it's entirely out of my power - there is nothing I can do about it.
I'm sorry we couldn't provide a better out of the box experience.

Workaround
I'm afraid I don't have a solution for you, but for now you'll have to compile your own binaries, in short, install the sdl, sdl_image and sdl_mixer devel libraries and type make -C src install in your sandbox directory.
You can find more detailed instructions on our wiki
This is not a url, clicking it is pointless
User avatar
tyche
Moderator
Moderator
Posts: 122
Joined: November 3rd, 2009, 1:36 pm
Name: Craig A. Eddy
IRC Username: tyche
Location: San Tan Valley, Arizona
Contact:

Re: 2.7.1 - linux; "no such file or directory" errors

Post by tyche »

GCC and G++ also needed. Compile works well.

New Menu: Some good, some bad. Better looking, better organized (to a point). Down side is hitting EXIT takes you out with no chance to save. Also, F2 takes you to the textures in the map, but not to the same place that you were, so you continually have to page through to find the last one you were using (or at least the general area of the selection you were using)
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: 2.7.1 - linux; "no such file or directory" errors

Post by Hirato »

Just a quick update.

This seems to have been an issue with the multilib version of GCC shipped in my distro.
A new version was uploaded recently and tyche has personally helped confirm that it's been fixed.

You will still need to compile your binaries, but this shouldn't be an issue for 2.7.2/2.8.0/3.0.0 (whichever comes next)
This is not a url, clicking it is pointless
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: 2.7.1 - linux; "no such file or directory" errors

Post by Leo_V117 »

josecar wrote:How could you do this?
what's your story?
what's the meaning?
-----------------------------------------------------------------------------
<REMOVED LINKS>
And, could you also refrain from spamming topics with the same post content from now on?

Thanks.
- Leo
Last edited by Leo_V117 on May 7th, 2012, 12:01 pm, edited 1 time in total.
User avatar
tyche
Moderator
Moderator
Posts: 122
Joined: November 3rd, 2009, 1:36 pm
Name: Craig A. Eddy
IRC Username: tyche
Location: San Tan Valley, Arizona
Contact:

Re: 2.7.1 - linux; "no such file or directory" errors

Post by tyche »

Spammer banned and objectionable posts sent to trash, 3-13-2012. Just flag such people, if I don't catch them, and I'll remove them. Thanks

Craig
Tyche
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: 2.7.1 - linux; "no such file or directory" errors

Post by Leo_V117 »

Thanks, Tyche.

I think there's a couple of users like that one around...
Locked