Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with g4 and binaries
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
alexmoreno
n00b
n00b


Joined: 29 Oct 2003
Posts: 25

PostPosted: Sun Mar 05, 2006 9:46 pm    Post subject: problems with g4 and binaries Reply with quote

Hello everybody,

ii´ve been installing some different applications like firefox, openoffice-bin and oracle sqlplus getting this error:

localhost oracle-instantclient-sqlplus # sqlplus
bash: /usr/bin/sqlplus: cannot execute binary file

localhost oracle-instantclient-sqlplus # firefox-bin
/usr/libexec/mozilla-launcher: line 356: /opt/firefox/mozilla-xremote-client: cannot execute binary file
Unknown error 126 from mozilla-xremote-client
/usr/libexec/mozilla-launcher: line 442: /opt/firefox/firefox-bin: cannot execute binary file
firefox-bin exited with non-zero status (126)


i´m working on a g4 titanium. Can anyoune help me please?

Thanks in advance
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Sun Mar 05, 2006 10:05 pm    Post subject: Reply with quote

What does "file /usr/bin/sqlplus" say? And for the other binaries?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Mar 05, 2006 11:37 pm    Post subject: Reply with quote

You probably added the ppc keyword to those packages. The reason they're not marked ppc is because they're x86 binaries and will not run on ppc hardware.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
alexmoreno
n00b
n00b


Joined: 29 Oct 2003
Posts: 25

PostPosted: Mon Mar 06, 2006 12:02 am    Post subject: binaries Reply with quote

alex@localhost ~ $ sqlplus
bash: /usr/bin/sqlplus: cannot execute binary file
alex@localhost ~ $


firefox:

alex@localhost ~ $ firefox-bin
/usr/libexec/mozilla-launcher: line 356: /opt/firefox/mozilla-xremote-client: cannot execute binary file
Unknown error 126 from mozilla-xremote-client
/usr/libexec/mozilla-launcher: line 442: /opt/firefox/firefox-bin: cannot execute binary file
firefox-bin exited with non-zero status (126)
alex@localhost ~ $

I suppose that the sqlplus is normal because i downloaded it from oracle but there are no binaries for linux ppc :-S (that´s a problcem for me). But what happens with firefox and openoffice? Can´t be used under linuxppc?[/code]
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Mar 06, 2006 3:34 am    Post subject: Reply with quote

Of course, if you install x86 binaries, it will not work. The -bin packages do not work on ppc because upstream does not provide binaries for ppc. You can either install from source or install the GRP packages provided on the pkg cds.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
spool
n00b
n00b


Joined: 02 Feb 2006
Posts: 26
Location: UK

PostPosted: Thu Apr 20, 2006 1:54 am    Post subject: Why not? Reply with quote

Would it be that difficult to provide bin ppc packages? Even if it were just for the obvious ones, like openoffice :

Quote:
I guess I have mine but it is tuned for G4 and I have nowhere to host it.


(https://forums.gentoo.org//viewtopic-p-3267759.html#3267759)

Quote:
The binaries for ppc are extremely out of date unfortunately.


https://forums.gentoo.org//viewtopic-t-402544-postdays-0-postorder-asc-start-0.html


I'd certainly be willing to compile some packages for uploading, but I need a place to put them.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Apr 20, 2006 4:20 am    Post subject: Reply with quote

No, it's not "that difficult" to compile binaries. However, the -bin packages that you're trying to use are the "official" upstream versions, not Gentoo compiled versions. We can't provide those unless upstream wants to distribute ppc versions.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
spool
n00b
n00b


Joined: 02 Feb 2006
Posts: 26
Location: UK

PostPosted: Thu Apr 20, 2006 10:09 am    Post subject: Is there a ppc binhost? Reply with quote

Oh fair enough. But try as I might, I have not found a ppc binhost. Is there somewhere Gentoo PPC users can upload bins for others to download? I know people have hosted on their own websites before, but is there some place central?

thanks
Back to top
View user's profile Send private message
spool
n00b
n00b


Joined: 02 Feb 2006
Posts: 26
Location: UK

PostPosted: Thu Apr 20, 2006 10:20 am    Post subject: What about openoffice? Reply with quote

Aren't there official openoffice ppc binaries? (https://forums.gentoo.org//viewtopic-p-3267759.html#3267759) I don't really know much about Fedora, but wouldn't their bins be official enough? Sorry if I don't really know what I'm talking about. Does "upstream" mean "released by the project"?

My problem is, I really need openoffice, but I don't really have the space to compile it. In a few weeks I might be able to move around some harddrive space, but I'm kinda stuck using NeoOffice in OSX right now (yeah I know I could get OOo 2.0.2 through fink, but OSX's x11 is heinous). Would it be possible for me to use the Fedora packages?

thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum