Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to unmask wormux for ppc ?? [solved]
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
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Tue Feb 07, 2006 8:20 pm    Post subject: how to unmask wormux for ppc ?? [solved] Reply with quote

i have tried everything and i couldn`t manage to emerge wormux on my iBook G3 .. :(

Code:

echo "=games-strategy/wormux-0.5.1" >> /etc/portage/package.keywords
and
echo "games-strategy/wormux" >> /etc/portage/package.keywords
and
echo "=games-strategy/wormux-0.5.1 -*" >> /etc/portage/package.keywords 
and
echo "games-strategy/wormux-0.5.1 -*" >> /etc/portage/package.keywords


and i did the same thing for package.unmask .. and even tried to emerge it with ACCEPT_KEYWORDS and it didn`t work .. :(
i have even tried with various combination with above enteries and files and got nothing good .. :(

all i got was ..

Code:

!!! All ebuilds that could satisfy "wormux" have been masked.
!!! One of the following masked packages is required to complete your request:
- games-strategy/wormux-0.5.1 (masked by: missing keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.


So .. my question would be ..

How to emerge wormux on ppc ??????

10x in advance

Cheers
_________________
http://droopia.net


Last edited by playahater on Wed Mar 08, 2006 4:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Feb 07, 2006 9:35 pm    Post subject: Reply with quote

/usr/portage/games-strategy/wormux/wormux-0.5.1.ebuild is missing "~ppc" in the KEYWORDS line - that's what the error "missing keyword" means. See wiki for more info. I suppose you could run:
Code:
echo "games-strategy/wormux  ~x86" >> /etc/portage/package.keywords
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Tue Feb 07, 2006 9:40 pm    Post subject: Reply with quote

You can unmask it all you want their is no ppc or ~ppc keyword for this ebuild.
Code:
 # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/wormux/wormux-0.5.1.ebuild,v 1.1 2005/07/02 19:35:48 vapier Exp
$

inherit eutils games

DESCRIPTION="A free Worms clone"
HOMEPAGE="http://www.wormux.org/"
SRC_URI="http://download.gna.org/wormux/${PN}-src-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64"
IUSE="nls debug"

So if you really want to see if it compiles and works at all on ppc you will have to do
the following
Code:
echo "games-strategy/wormux x86" >> /etc/portage/package.keywords

There is no guaranty that it will work as the lack of keywords means no one tried it on ppc,
but if it does fill a bug requesting that a ppc or ~ppc keyword should be added to the ebuild.
Back to top
View user's profile Send private message
super-lupo
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 92
Location: Germany / Berlin

PostPosted: Tue Feb 07, 2006 11:18 pm    Post subject: Reply with quote

Hi!

Like the error message is telling you, the ebuild lacks of ppc keyword. But you can manually add it this way:

Code:
ekeyword ppc /usr/portage/app-foo/bar/bar-1.0.ebuild


The ekeyword command is part of gentoolkit-dev. So if your system doesnt recognize ekeyword just emerge gentoolkit-dev before.


Greetings,
Lupo


P.S. the Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Wed Feb 08, 2006 1:13 pm    Post subject: Reply with quote

10x guys .. :)
well .. i`ll try to add a ppc keyword
i tried all this cuz i saw possibility on wormux`s site to run wormux on ppc

OK .. i`ll post results .. :)
_________________
http://droopia.net
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Wed Feb 08, 2006 1:45 pm    Post subject: Reply with quote

I did what super-lupo said nad it worked ..
Wormux is compiling for now .. i hope without any errors .. :) ..
I`ll post if everything went ok .. :)

Cheers
_________________
http://droopia.net
Back to top
View user's profile Send private message
super-lupo
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2004
Posts: 92
Location: Germany / Berlin

PostPosted: Wed Feb 08, 2006 4:07 pm    Post subject: Reply with quote

Great,

so good luck and have fun.

Greetings,
Lupo
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Feb 08, 2006 7:30 pm    Post subject: Reply with quote

You could try the latest wormux beta (0.7_beta3).
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Wed Feb 08, 2006 7:41 pm    Post subject: Reply with quote

well .. compiling went OK .. but .. i can`t start the game .. :( ..
heh .. i`ll try emerging that beta version ..

Code:

=== Wormux version 0.5.1
=== Authors: Lawrence AZZOUG, Laurent DEFERT SIMONNEAU, Matthieu FERTRE, Victor STINNER
=== Website: http://www.wormux.org

Wormux version 0.5.1, Copyright (C) 2001-2004 Lawrence Azzoug
Wormux comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.

Read COPYING.txt for details.

[ Run game ]

C++ exception caught:
St9bad_alloc


Cheers
_________________
http://droopia.net
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Feb 08, 2006 8:09 pm    Post subject: Reply with quote

That's most likely an endian issue, it looks like it's trying to allocate too much memory.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Thu Feb 09, 2006 1:54 am    Post subject: Reply with quote

JoseJX wrote:
That's most likely an endian issue, it looks like it's trying to allocate too much memory.


well .. since i have emerged it by adding a ppc keyword .. which is not a "normal" procedure .. even though i saw a ppc screenshot on site.. i think that is expected result .. :)
i`ll try with beta .. and if that doesn`t work, ill try to compile it manually by downloading source from wormux`s site ..
according to http://www.wormux.org/wiki/Image:wormux_0.7beta2_powerpc.png.php .. it is possible .. i just have to find the way .. :lol:

Cheers
_________________
http://droopia.net
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Feb 09, 2006 2:41 am    Post subject: Reply with quote

From the changelog, PPC support was only added in 0.7.0beta3, which would explain why older versions weren't keyworded or working for you.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Thu Feb 09, 2006 2:49 am    Post subject: Reply with quote

JoseJX wrote:
From the changelog, PPC support was only added in 0.7.0beta3, which would explain why older versions weren't keyworded or working for you.


well .. i`ll try beta3 and i`ll post results .. :)

Cheers
_________________
http://droopia.net
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Thu Feb 09, 2006 11:04 pm    Post subject: Reply with quote

Beta3 works fine on my powerbook 15 ;-). I use the beta1 ebuild found on wormux homepage, and I have changed the version tu beta3, all good ;-).
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Feb 09, 2006 11:08 pm    Post subject: Reply with quote

Please mention that it works for ppc on the bug report.
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Fri Feb 24, 2006 5:18 pm    Post subject: Reply with quote

I`ve tried to compile wormux 0.7 beta1 version and it failed ..
i though to post here in case if anyone has any idea how to solve this problem .. in the mean time i`ll try again with some other beta version

Code:
then mv -f ".deps/parachute.Tpo" ".deps/parachute.Po"; else rm -f ".deps/parachute.Tpo"; exit 1; fi
weapon/ninja_rope.cpp: In member function `virtual void Wormux::NinjaRope::Draw()':
weapon/ninja_rope.cpp:517: error: `roundl' undeclared (first use this function)
weapon/ninja_rope.cpp:517: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[3]: *** [ninja_rope.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/wormux-0.7_beta1/work/wormux-0.7beta1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/wormux-0.7_beta1/work/wormux-0.7beta1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/wormux-0.7_beta1/work/wormux-0.7beta1/src'
make: *** [all-recursive] Error 1

!!! ERROR: games-strategy/wormux-0.7_beta1 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! emake
!!! If you need support, post the topmost build error, NOT this status message.


10x in advance

Cheers
_________________
http://droopia.net
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Wed Mar 08, 2006 4:06 pm    Post subject: Reply with quote

finally ... i`ve managed to emerge wormux .. :)

i`ve tried all possible versions and beta3 is the only one which passed compiling without errors and working just fine .. :)

10x for support .. :)

Cheers
_________________
http://droopia.net
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