Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pok3D, online 3d poker now on gentoo !!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
squaley
n00b
n00b


Joined: 27 Feb 2003
Posts: 13

PostPosted: Wed Nov 22, 2006 12:26 am    Post subject: Pok3D, online 3d poker now on gentoo !! Reply with quote

Hi !!

Pok3D, is a new online poker room which offers you the possibilty of playing Texas Hold'em like in real life ;)
It's an open source project and available on redhat, debian and now on gentoo...

http://www.pok3d.com

This is not an official install how to, but it may help you to install the game

How to install for gentoo :

1 Install layman

emerge layman

2 configure layman

add the line : http://poker3d-gentoo.googlecode.com/svn/trunk/list.xml
in the section overlay of this file : /etc/layman/layman.cfg

3 add Pok3D to layman

layman -a pok3d

4 modify /etc/make.conf

add the line : http://poker3d-gentoo.googlecode.com/svn/trunk/list.xml
in the file : /etc/make.conf

5 install Pok3D

emerge poker3d


ATTENTION !!!!
You need python 2.4 to make the game work and you need clean python 2.3 from your system
Some packages may be unstable (like calc3d)
Compilatio takes time so make you some cofee ;)

Don't hesitate to use the pok3d forum for bug reporting and other

Have Fun !!
Back to top
View user's profile Send private message
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Wed Nov 22, 2006 3:44 am    Post subject: Reply with quote

What's the purpose of step 4?
_________________
We need to shoot cops, and hang politicians. Concentrate the vision, concentrate the vision.
Back to top
View user's profile Send private message
mitschel
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 138
Location: Germany

PostPosted: Fri Nov 24, 2006 5:17 pm    Post subject: Reply with quote

I`ve done like you suggested and added pok3d to layman. But I`m also not sure what to do with the make.conf? If I try to emerge poker3d, there is no build in portage.

Any ideas?
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Fri Nov 24, 2006 5:36 pm    Post subject: Reply with quote

mitschel wrote:
I`ve done like you suggested and added pok3d to layman. But I`m also not sure what to do with the make.conf? If I try to emerge poker3d, there is no build in portage.

Any ideas?

Try doing an
Code:
layman -S

first.

Edit: Fix typo.


Last edited by Headrush on Mon Nov 27, 2006 12:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
mitschel
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 138
Location: Germany

PostPosted: Fri Nov 24, 2006 6:03 pm    Post subject: Reply with quote

Of course I`ve done this first. And it wasn`t in portage.
So I added /usr/portage/local to PORTAGE_OVERLAY in make.conf and moved all what layman put in /usr/portaage/local/layman/pok3d to /usr/portage/local.

Now the emerge runs.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Fri Nov 24, 2006 6:21 pm    Post subject: Reply with quote

Worked here flawlessly. Did you have layman installed before? If no, you needed this line in /etc/make.conf:
Code:
source /usr/portage/local/layman/make.conf
Back to top
View user's profile Send private message
mitschel
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 138
Location: Germany

PostPosted: Fri Nov 24, 2006 6:26 pm    Post subject: Reply with quote

Did exactly like squaley suggested. No idea why I didn`t work..
Back to top
View user's profile Send private message
squaley
n00b
n00b


Joined: 27 Feb 2003
Posts: 13

PostPosted: Mon Nov 27, 2006 8:50 am    Post subject: Reply with quote

Hi !

Maybe this could help ??

Try to update Layman :

layman -S

Then emerge Pok3d

emerge poker3d
Back to top
View user's profile Send private message
krapo
n00b
n00b


Joined: 11 Mar 2005
Posts: 49
Location: Earth

PostPosted: Mon Nov 27, 2006 10:19 pm    Post subject: Reply with quote

Hi,

i just finish to install it on my gentoo :D

Here some hints of troubles i met, in case it could help somebody else :

1.
my emerge failed compiling package Xwnc,

edit : use MAKEOPTS="-j1" emerge -v xwnc did the job

2. the game launch but : can't connect to localhost:19380

just edit the conf file located in ~/.poker3d/poker3d.xml and change
Code:
<servers>localhost:19380</servers>

to
Code:
<servers>poker.pok3d.com:19380</servers>


8) let's play texas hold'em 8)

edit :
i forget number 3 :roll:
3.
poker3d exe is install in /usr/games instead of /usr/games/bin
i just
Code:

cd /usr/games
chown root:games poker3d
cd /usr/games/bin
ln -s ../poker3d poker3d


Last edited by krapo on Thu Nov 30, 2006 6:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Nov 28, 2006 9:26 am    Post subject: Reply with quote

You should consider adding the ebuild to bug #155687 so that it could possibly be included in the tree.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
letrigre
n00b
n00b


Joined: 14 Feb 2006
Posts: 50

PostPosted: Wed Nov 29, 2006 11:41 am    Post subject: Reply with quote

Is there a someone who could help to put those ebuild on portage ?
here the ebuilds http://poker3d-gentoo.googlecode.com/svn/trunk/ i made

I can take time with a gentoo developper to adjust my packet in order it fits in gentoo
Back to top
View user's profile Send private message
castor_fou
Apprentice
Apprentice


Joined: 23 May 2002
Posts: 249
Location: Clermont-Ferrand, France

PostPosted: Wed Nov 29, 2006 9:02 pm    Post subject: Reply with quote

I have some trouble with pypoker-eval.
I succeed in building it, but the python module is built for 2.3 and not 2.4.

After that, poker-engine failed to compile complaining about the lack of pokereval module in /usr/lib/python2.4/site-packages/

Code:
checking wether python module pokereval is available... Traceback (most recent call last):
  File "<string>", line 8, in ?
ImportError: No module named pokereval
configure: error: failed


anyone with this issue ?
Back to top
View user's profile Send private message
letrigre
n00b
n00b


Joined: 14 Feb 2006
Posts: 50

PostPosted: Wed Nov 29, 2006 9:26 pm    Post subject: Reply with quote

Yes i don't know how to handle two installation of python. Configure seems to select what it wants. The only things i made in order it works is removing my python version 2.3 (because i have 2.4 on my system). But be carful don't remove python 2.3 if you have python 2.4 installed
Back to top
View user's profile Send private message
castor_fou
Apprentice
Apprentice


Joined: 23 May 2002
Posts: 249
Location: Clermont-Ferrand, France

PostPosted: Thu Nov 30, 2006 6:50 am    Post subject: Reply with quote

letrigre wrote:
Yes i don't know how to handle two installation of python. Configure seems to select what it wants. The only things i made in order it works is removing my python version 2.3 (because i have 2.4 on my system). But be carful don't remove python 2.3 if you have python 2.4 installed


I remove python 2.3 (
Code:
emerge -C =python-2.3.5-r3
) and it is now working.
I am now stuck with Xwnc,
Code:
mv -f .deps/rootlessValTree.Tpo .deps/rootlessValTree.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../xserver/fb -I../../../xserver/mi -I../../../xserver/render -I../../../xserver/xfixes -I../../../xserver/Xext -I../../../xserver/os -I
../../../wncauth -I../../../xserver/include -I../../../xlibs/Xfont/include/X11/fonts/ -I../../../xlibs/Xau -I../../../xserver/include/X11/Xtrans    -march=athlon-mp -O2 -pipe -Wall -MT init.o -MD -
MP -MF .deps/init.Tpo -c -o init.o init.c
make[4]: *** No rule to make target `../../../xserver/hw/wnc/libwnc.a', needed by `Xwnc'.  Stop.
make[4]: *** Waiting for unfinished jobs....


I am reluctant in applying krapo's workaround
Back to top
View user's profile Send private message
castor_fou
Apprentice
Apprentice


Joined: 23 May 2002
Posts: 249
Location: Clermont-Ferrand, France

PostPosted: Thu Nov 30, 2006 10:07 am    Post subject: Reply with quote

What is the correct way to send bug reports for this poker3d Overlay ?
I guess I cannot fill one with gentoo bugzilla...
Back to top
View user's profile Send private message
letrigre
n00b
n00b


Joined: 14 Feb 2006
Posts: 50

PostPosted: Thu Nov 30, 2006 1:57 pm    Post subject: Reply with quote

Send it to me. cedric@pok3d.com
we can talk on irc #poker3d on freenode

I heard that some package does not work with make -j2 try to configure portage to use -j1 instead.
If it works confirm me please
Back to top
View user's profile Send private message
castor_fou
Apprentice
Apprentice


Joined: 23 May 2002
Posts: 249
Location: Clermont-Ferrand, France

PostPosted: Thu Nov 30, 2006 5:37 pm    Post subject: Reply with quote

Thanks to letigre,

succes using

Code:
MAKEOPTS="-j1" emerge -v poker3d
Back to top
View user's profile Send private message
krapo
n00b
n00b


Joined: 11 Mar 2005
Posts: 49
Location: Earth

PostPosted: Thu Nov 30, 2006 6:36 pm    Post subject: Reply with quote

Yes xwnc compile well with
Code:

MAKEOPTS="-j1" emerge -v xwnc


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


Joined: 14 Feb 2006
Posts: 50

PostPosted: Tue Dec 05, 2006 10:18 am    Post subject: Reply with quote

Is there anybody who ran the game on a 64 bit system ?
if yes is it working ?
i don't have any 64 system to test it
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6053
Location: Removed by Neddy

PostPosted: Tue Dec 05, 2006 12:46 pm    Post subject: Reply with quote

letrigre wrote:
Is there anybody who ran the game on a 64 bit system ?
if yes is it working ?
i don't have any 64 system to test it


ill try tonight
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6053
Location: Removed by Neddy

PostPosted: Sun Dec 10, 2006 9:43 pm    Post subject: Reply with quote

fails on emerging: xwnc

Code:

./../../xserver/mi -I../../../xserver/render -I../../../xserver/xfixes -I../../../xserver/Xext -I../../../xserver/os -I../../../wncauth -I../../../xserver/include -I../../../xlibs/Xfont/include/X11/fonts/ -I../../../xlibs/Xau -I../../../xserver/include/X11/Xtrans    -march=nocona -O2 -pipe -Wall -MT rootlessWindow.o -MD -MP -MF .deps/rootlessWindow.Tpo -c -o rootlessWindow.o rootlessWindow.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../xserver/fb -I../../../xserver/mi -I../../../xserver/render -I../../../xserver/xfixes -I../../../xserver/Xext -I../../../xserver/os -I../../../wncauth -I../../../xserver/include -I../../../xlibs/Xfont/include/X11/fonts/ -I../../../xlibs/Xau -I../../../xserver/include/X11/Xtrans    -march=nocona -O2 -pipe -Wall -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o init.c
make[4]: *** No rule to make target `../../../xserver/hw/wnc/libwnc.a', needed by `Xwnc'.  Stop.
make[4]: *** Waiting for unfinished jobs....
init.c: In function 'ddxProcessArgument':
init.c:313: warning: 'got.s_addr' may be used uninitialized in this function
rootlessWindow.c: In function 'RootlessRealizeWindow':
rootlessWindow.c:391: warning: 'saveRoot.data' may be used uninitialized in this function
rootlessWindow.c:391: warning: 'saveRoot.extents.y2' may be used uninitialized in this function
rootlessWindow.c:391: warning: 'saveRoot.extents.x2' may be used uninitialized in this function
rootlessWindow.c:391: warning: 'saveRoot.extents.y1' may be used uninitialized in this function
rootlessWindow.c:391: warning: 'saveRoot.extents.x1' may be used uninitialized in this function
rootlessWindow.c: In function 'RootlessCreateWindow':
rootlessWindow.c:65: warning: 'saveRoot.data' may be used uninitialized in this function
rootlessWindow.c:65: warning: 'saveRoot.extents.y2' may be used uninitialized in this function
rootlessWindow.c:65: warning: 'saveRoot.extents.x2' may be used uninitialized in this function
rootlessWindow.c:65: warning: 'saveRoot.extents.y1' may be used uninitialized in this function
rootlessWindow.c:65: warning: 'saveRoot.extents.x1' may be used uninitialized in this function
mv -f .deps/rootlessWindow.Tpo .deps/rootlessWindow.Po
mv -f .deps/init.Tpo .deps/init.Po
make[4]: Leaving directory `/var/tmp/portage/x11-misc/xwnc-0.3.3-r1/work/xwnc-0.3.3/xserver/hw/wnc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-misc/xwnc-0.3.3-r1/work/xwnc-0.3.3/xserver/hw'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/xwnc-0.3.3-r1/work/xwnc-0.3.3/xserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xwnc-0.3.3-r1/work/xwnc-0.3.3'
make: *** [all] Error 2

!!! ERROR: x11-misc/xwnc-0.3.3-r1 failed.
Call stack:
  ebuild.sh, line 1576:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  xwnc-0.3.3-r1.ebuild, line 34:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/portage/local/layman/pok3d'


--EDIT--
makeopts='j1' and it compiles

Suggest adding this to the xwnc ebuild
http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/building/index.html


next breakage

osgcal ebuild is missing a dependancy
libSDL
_________________
Quote:
Removed by Chiitoo


Last edited by Naib on Sun Dec 10, 2006 10:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Sun Dec 10, 2006 10:09 pm    Post subject: Reply with quote

Naib, look at the posts above yours.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6053
Location: Removed by Neddy

PostPosted: Sun Dec 10, 2006 10:15 pm    Post subject: Reply with quote

Phenax wrote:
Naib, look at the posts above yours.


ahh sorry was sitting on a post-edit for like 10min
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6053
Location: Removed by Neddy

PostPosted: Sun Dec 10, 2006 10:47 pm    Post subject: Reply with quote

ok after the makeops for that one package and manually pulling in SDL for the other poker3d compiles for amd64

it also runs (of sort)

a popup exists complaining it cannot find a poker server at locahost:<some port>
also any attept to login,make profile.... crashes the program


Code:

...

PokerInterfaceProtocol: dataReceived menulogin1
PokerInterface::event: ('menu', 'login', '1')
changeState idle => login (args = (<function <lambda> at 0x2aaaaaedbb90>,), kwargs = {})
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/twisted/python/log.py", line 53, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/lib64/python2.4/site-packages/twisted/python/log.py", line 38, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib64/python2.4/site-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib64/python2.4/site-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib64/python2.4/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite
    why = getattr(selectable, method)()
  File "/usr/lib64/python2.4/site-packages/twisted/internet/tcp.py", line 348, in doRead
    return self.protocol.dataReceived(data)
  File "/usr/lib64/python2.4/site-packages/pokerui/pokerinterface.py", line 600, in dataReceived
    self.event(*args)
  File "/usr/lib64/python2.4/site-packages/pokerui/pokerinterface.py", line 103, in event
    data = self.handleMenu(data[1:])
  File "/usr/lib64/python2.4/site-packages/pokerui/pokerinterface.py", line 576, in handleMenu
    self.publishEvent(INTERFACE_MENU, data[0], data[1])
  File "/usr/lib64/python2.4/site-packages/pokernetwork/dispatch.py", line 61, in publishEvent
    cb(*args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/pokerui/pokerrenderer.py", line 1550, in handleMenu
    self.changeState(LOGIN, lambda success: self.changeState(current_state))
  File "/usr/lib64/python2.4/site-packages/pokerui/pokerrenderer.py", line 2141, in changeState
    if self.protocol.user.isLogged():
exceptions.AttributeError: 'NoneType' object has no attribute 'user'
handleUnmapWindow2097838
XwncDesktop handleUnmapWindow poker-interface
XwncDesktop Window mapped poker-interface 0
PokerChildInterface: ** Message: handle_network
PokerChildInterface:
PokerChildInterface: ** (poker-interface:1645): CRITICAL **: EOF, connection lost
PokerChildInterface:
** (process:1638): DEBUG: PokerApplication is leaving with exit code 1.

** (process:1638): DEBUG: MAFSceneModel::~MAFSceneModel
** (process:1638): DEBUG: MAFSceneModel::~MAFSceneModel: HUDGroup
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: Geode||0x         1a06930 3>2
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: Geode||0x         227e440 3>2
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: Geode||0x         3a06760 3>2
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: Geode||0x         4d46130 3>2
** (process:1638): DEBUG: MAFSceneModel::~MAFSceneModel: Group
** (process:1638): DEBUG: ~MAFSceneModel: mGroup->referenceCount() = 1
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: Projection||0x         39194f0 3>2
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: Geode||0x         39199f0 3>2
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: Geode||0x         391a820 3>2
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: Geode||0x         391ba70 3>2
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: MatrixTransform||0x         3cfeae0 3>2
** (process:1638): DEBUG: RecursiveLeakCheck: reachable: Geode||0x         3cfecf0 3>2
** (process:1638): DEBUG: ~MAFSceneModel end
None

** (process:1638): CRITICAL **: Texture /usr/share/poker3d/data/fleche_droite_active.tga does not seem to be released (3)

** (process:1638): CRITICAL **: Texture /usr/share/poker3d/data/fleche_droite_normal.tga does not seem to be released (5)

** (process:1638): CRITICAL **: Texture /usr/share/poker3d/data/fleche_droite_selected.tga does not seem to be released (3)

** (process:1638): CRITICAL **: Texture /usr/share/poker3d/data/fleche_gauche_active.tga does not seem to be released (3)

** (process:1638): CRITICAL **: Texture /usr/share/poker3d/data/fleche_gauche_normal.tga does not seem to be released (5)

** (process:1638): CRITICAL **: Texture /usr/share/poker3d/data/fleche_gauche_selected.tga does not seem to be released (3)

** (process:1638): CRITICAL **: Texture /usr/share/poker3d/data/loupe_active.tga does not seem to be released (3)

** (process:1638): CRITICAL **: Texture /usr/share/poker3d/data/loupe_normal.tga does not seem to be released (5)

** (process:1638): CRITICAL **: Texture /usr/share/poker3d/data/loupe_selected.tga does not seem to be released (3)



--EDIT-- after editing the XML file to point to the pok3d server (and not localhost) poker3ds runs fine (havn't found a play money game yet)

so just those to ebuild bugs and this is amd64-ready
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
baigsabeeh
Guru
Guru


Joined: 28 Sep 2005
Posts: 520
Location: North Brunswick, NJ

PostPosted: Mon Dec 11, 2006 6:54 pm    Post subject: Reply with quote

This thing has 42 depdendencies!!!!!!!!!!!!!!!!!
_________________
BSD > SysV > Linux
BSD FTW!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
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