LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2006, 03:16 PM   #1
bdc
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Rep: Reputation: 0
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
 
Old 02-11-2006, 03:21 PM   #2
bdc
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Forgot to say I've changed the permissions to the boinc file to 777.
 
Old 02-11-2006, 03:43 PM   #3
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
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...
 
Old 02-11-2006, 06:23 PM   #4
bdc
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
5 post minimum to post urls, please ignore
 
Old 02-11-2006, 06:24 PM   #5
bdc
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
2 posts to go
 
Old 02-11-2006, 06:24 PM   #6
bdc
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
i'm nearly there
 
Old 02-11-2006, 06:25 PM   #7
bdc
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
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

Last edited by bdc; 02-11-2006 at 06:42 PM.
 
Old 02-11-2006, 07:00 PM   #8
bdc
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 02-11-2006, 07:02 PM   #9
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Execute Binary rightsidedown Linux - Software 8 05-10-2011 12:41 AM
Cannot Execute Binary File meshcurrent Linux - Software 3 07-09-2005 03:39 PM
Cannot execute binary file pbagda Linux - General 4 01-19-2004 01:13 AM
Cannot execute binary file??? Wimpie22 Linux - General 3 01-11-2004 04:38 PM
cannot execute binary file azpeitia Red Hat 2 12-17-2003 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration