View previous topic :: View next topic |
Author |
Message |
Ric95 Tux's lil' helper
Joined: 10 Apr 2007 Posts: 94 Location: Alberta Can.
|
Posted: Sun Dec 13, 2009 1:20 am Post subject: How to run an app.bin |
|
|
I downloaded Blender 2.5 binary ( not in portage yet.), unzipped it into a folder, but now it won't execute from Gentoo. ( it does from the other linux)
Permissions are set to allow any to execute, "chmod -x blender" didn't help.
What am I missing.? _________________ Corporations are not like people. They don't need rights as people do, they only need an even playing field on which to compete. |
|
Back to top |
|
|
druggo Apprentice
Joined: 24 Sep 2003 Posts: 289 Location: Hangzhou, China
|
Posted: Sun Dec 13, 2009 2:28 am Post subject: |
|
|
it's chmod +x blender, try again _________________ HighWayToHell(blog)
http://blog.druggo.org/ |
|
Back to top |
|
|
Ric95 Tux's lil' helper
Joined: 10 Apr 2007 Posts: 94 Location: Alberta Can.
|
Posted: Sun Dec 13, 2009 3:52 am Post subject: |
|
|
Thanks, but chmod +x blender didn't help.
If I try to run it from terminal, it fails to open with the message " segmentation fault".
It's odd that it still works from the other os. _________________ Corporations are not like people. They don't need rights as people do, they only need an even playing field on which to compete. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Sun Dec 13, 2009 4:44 am Post subject: |
|
|
strace it
emerge strace if you don't have it already
then assuming you've already made the file executable (which you have)
Code: |
strace /path/to/binary |
look for anything that mentions permission denied, or ENOENT
It could be the case that your other linux system has things laid out in a way this app expects, whereas gentoo does not
strace should help you hunt it down _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
Ric95 Tux's lil' helper
Joined: 10 Apr 2007 Posts: 94 Location: Alberta Can.
|
Posted: Sun Dec 13, 2009 5:05 pm Post subject: |
|
|
Quote: | emerge strace if you don't have it already |
Strace looks like a nice tool. Thanks.
Quote: | strace /home/Blender/blender-2.5/blender
execve("/home/Blender/blender-2.5/blender", ["/home/Blender/blender-2.5/blende"...], [/* 56 vars */]) = -1 EACCES (Permission denied)
|
So it is a permissions problem. I even tried re-downloading and unpacking it as normal user, I tried changing owner, and I tried running is as root. No luck.
I suppose I could put in a suggestion to get this version of Blender added to portage. It is labeled as an alpha ( because the windoze version is still missing some functions), but its fairly stable.
I'll also learn to use 'ln' to make a link. _________________ Corporations are not like people. They don't need rights as people do, they only need an even playing field on which to compete. |
|
Back to top |
|
|
|