View previous topic :: View next topic |
Author |
Message |
CyboChimp n00b
Joined: 31 Oct 2002 Posts: 7
|
Posted: Thu Oct 31, 2002 12:58 am Post subject: Opera ebuild problem on PPC |
|
|
I just recently installed 2.4.19 on my PowerMac. I've attempted to install Opera (static) but every attempt leaves me with an error saying:
Platform and OS was not recognized, aborting...
Please send output of uname -a to chrisw@opera.com
Prior to installing Gentoo I had an install of Yellow Dog and ran version 5 just fine. Version 5 has a lot of dependencies that I'd rather not install since 6 seems to be out. My uname -a returns the following:
Linux PowerTrip 2.4.19-r6 #2 Tue Oct 29 07:50:03 PST 2002 ppc 740/750 GNU/Linux
Any thoughts are greatly appreciated.
Thanx,
CyboChimp |
|
Back to top |
|
|
pfeifer Retired Dev
Joined: 31 Aug 2002 Posts: 37 Location: 49 degrees north
|
Posted: Fri Nov 01, 2002 9:25 pm Post subject: |
|
|
do a grep ppc on the install.sh from the tarball.
guess what, no ppc listed. that is the issue.
if you sed with the following options, it will install.
sed -e "s:i[3456]86:ppc:g"
sed -e "s:i\[3456\]86:ppc:g"
you can add it the opera-static ebuild like this:
rc_unpack() {
unpack ${A}
cd ${S}
sed -e "s:/etc:${D}/etc:g" \
-e "s:read install_config:install_config=yes:" \
-e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \
-e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \
-e "s:/usr/share/icons:${D}/usr/share/icons:g" \
-e "s:/etc/X11:${D}/etc/X11:g" \
-e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \
-e "s:i[3456]86:ppc:g" \
-e "s:i\[3456\]86:ppc:g" \
< install.sh >install.sh.hacked || die
mv install.sh.hacked install.sh
chmod +x install.sh
}
oh, make sure you have the ppc compiled version of opera. unsure how opera has passed this one on us...
i found it like this still on the latest 6.1 ppc release from the file opera-6.10-20021029.2-shared-qt.ppc.tar.bz2
Hope this helps.
_j_ |
|
Back to top |
|
|
CyboChimp n00b
Joined: 31 Oct 2002 Posts: 7
|
Posted: Sat Nov 02, 2002 7:54 pm Post subject: |
|
|
Thank you for the response cigaraficionado. I attempted your instructions on the ebuild that was previously synced, and it installed, but didn't run. My guess is that it was an x86 binary. I pulled the latest down from the opera FTP site, grepped it and found ppc to already be there. I ran it and it worked like a champ. There was definitely something wrong with the files that were available a couple days ago.
Thanks again. |
|
Back to top |
|
|
|