LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannnot execute binary? (https://www.linuxquestions.org/questions/linux-newbie-8/cannnot-execute-binary-414276/)

bdc 02-11-2006 03:16 PM

Cannnot execute binary?
 
Hi,

This seems like it should be a common question but I guess I can't quite form the right google query to give me any meaningful results.

I am trying to install Setiathome/boinc under ubuntu for PPC so off I go to the Seti site which links me to an external source for the client, I've un tar'd the original download leaving me with the below file structure:

.:
boinc_4.27-powerpc-unknown-linux-gnu
projects

./projects:
setiathome.berkeley.edu

./projects/setiathome.berkeley.edu:
app_info.xml
setiathome-4.7.powerpc-unknown-linux-gnu

So by the looks of it to a newbie I'd somehow run boinc_4.27....-gnu so I try the below command and get the error back cannot execute binary file.

bill@bill:~$ sudo sh ./boinc_4.27-powerpc-unknown-linux-gnu
Password:
./boinc_4.27-powerpc-unknown-linux-gnu: ./boinc_4.27-powerpc-unknown-linux-gnu: cannot execute binary file

Hopefully one of you nice people will be able to point this stupid windows user in the right direction?

Thanks in advance

Bill

bdc 02-11-2006 03:21 PM

Forgot to say I've changed the permissions to the boinc file to 777.

jomen 02-11-2006 03:43 PM

Are you sure you downloaded the right file? Can you give the address?
I'm not on ppc but the file I got was named boinc_5.2.13_i686-pc-linux-gnu.sh and I just did:
sh -x ./boinc_5.2.13_i686-pc-linux-gnu.sh
and it unpacked to the current directory along with instructions how and what to run...

bdc 02-11-2006 06:23 PM

5 post minimum to post urls, please ignore

bdc 02-11-2006 06:24 PM

2 posts to go

bdc 02-11-2006 06:24 PM

i'm nearly there

bdc 02-11-2006 06:25 PM

Hi,

Thanks for the quick response!

http://boinc.berkeley.edu/download_other.php linked me to http://www.lb.shuttle.de/apastron/boincDown.shtml for Linux/PPC I then donwloaded the archive in this section - http://www.lb.shuttle.de/apastron/bo...n.shtml#gnuppc. (boinc_seti_ppc7450_linux.tar.bz2)

Bill

bdc 02-11-2006 07:00 PM

Got it running!

I was messing around and accidently missed out the sh from the command so it was 'sudo ./boinc_4.27-powerpc-unknown-linux-gnu' and it worked!

Now I just need to find out about the error I'm getting from that, off to the Seti forums I guess ;-)

This is what I did:


bill@bill:~/boinc$ sudo ./boinc_4.27-powerpc-unknown-linux-gnu
2006-02-12 00:56:22 [---] Starting BOINC client version 4.27 for powerpc-unknown-linux-gnu
2006-02-12 00:56:22 [---] No general preferences found - using BOINC defaults
2006-02-12 00:56:22 [---] GUI RPC bind failed: -1
2006-02-12 00:56:22 [---] GUI RPC bind failed: -1
gstate.init() failed: -180

Thanks for your help!

BDC

jomen 02-11-2006 07:02 PM

:) one needs to know how to tackle this obstacle - did not know about this limit, sorry

when I run
Code:

file ./boinc-5.2.14.powerpc-unknown-linux-gnu
it gives:
./boinc-5.2.14.powerpc-unknown-linux-gnu: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped

I suppose this is the executable and you use it just like any program:
if it is in your PATH - you just type the programs name
if it is not in your PATH - you type the PATH to it and then the name
from whithin the directory it created when unpacking it this would be:
Code:

./boinc-5.2.14.powerpc-unknown-linux-gnu


All times are GMT -5. The time now is 02:22 PM.