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 Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Tue Oct 02, 2007 5:53 pm    Post subject: Reply with quote

Hello,

When I try to add poker3d to layman, it fails :( :
Code:
# layman -a poker3d
* Overlay "poker3d" does not exist!


Of course, I followed the squaley's tutorial on this thread.

Does somebody has an idea please ?
Back to top
View user's profile Send private message
sun_cracker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2007
Posts: 112
Location: Belgique / Bruxelles / Namur

PostPosted: Tue Oct 09, 2007 8:30 am    Post subject: Reply with quote

lalebarde wrote:
Hello,

When I try to add poker3d to layman, it fails :( :
Code:
# layman -a poker3d
* Overlay "poker3d" does not exist!


Of course, I followed the squaley's tutorial on this thread.

Does somebody has an idea please ?


Hello,

1) Don't forget to add this line : source /usr/portage/local/layman/make.conf
in your /etc/make.conf, so enter :
echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf

2) are you sure you have this variable PORTDIR_OVERLAY defined in your /etc/make.conf ?
PORTDIR_OVERLAY=/usr/local/portage

3) you must have also add this line :source /usr/portage/local/layman/make.conf
in your /etc/make.conf

Good luck !

Sun
Back to top
View user's profile Send private message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Tue Oct 09, 2007 9:08 pm    Post subject: Reply with quote

Hello sun_cracker,

Thanks you very much for your help. I did all of that. It is not the first package I install with layman by the way. Of course, I checked once again.
The problem is elsewhere :cry:

Another idea ?
Back to top
View user's profile Send private message
addohm
n00b
n00b


Joined: 06 Oct 2007
Posts: 5

PostPosted: Tue Oct 09, 2007 10:33 pm    Post subject: Reply with quote

Code:
EMERGE layman


Edit your /etc/layman/layman.cfg and add this link to the OVERLAYS section.
--> http://poker3d-gentoo.googlecode.com/svn/trunk/list.xml
Which should look like this...
Code:
overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt
                  http://poker3d-gentoo.googlecode.com/svn/trunk/list.xml


Execute a...
Code:
layman -S


Followed by a...
Code:
layman -a pok3d

Yes, pok3d, not poker3d.

edit your make.conf and add the following...
Do not do this until your layman -s and -a is successful, or you will never get a proper port.

Code:
source /usr/portage/local/layman/make.conf


And now you should be safe to install poker3d

Quote:
emerge poker3d


Enjoy :)

_______________________________________________________

PORTDIR_OVERLAY=/usr/local/portage <-- Is this really needed? Mine works without. It dosn't even exist anyways, unless the poster meant to say /usr/portage/local.

I think one of the problems people are having is they aren't reading the warning that emerging layman delivers. It specifically asks to not touch your /etc/make.conf until you've added your first port. I did it that way and it was impossible to emerge poker3d.

You do not need to ever touch /etc/portage/local/layman/make.conf in this specific application, don't fuss with it or you can break it worse, I know, I did it :)


Last edited by addohm on Wed Oct 10, 2007 11:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
addohm
n00b
n00b


Joined: 06 Oct 2007
Posts: 5

PostPosted: Tue Oct 09, 2007 10:34 pm    Post subject: Reply with quote

lalebarde wrote:
Hello sun_cracker,

Thanks you very much for your help. I did all of that. It is not the first package I install with layman by the way. Of course, I checked once again.
The problem is elsewhere :cry:

Another idea ?


Have you added the overlay mirror to your /etc/layman/layman.cfg?

Have your ran layman -S?
Back to top
View user's profile Send private message
sun_cracker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2007
Posts: 112
Location: Belgique / Bruxelles / Namur

PostPosted: Wed Oct 10, 2007 7:49 am    Post subject: Reply with quote

lalebarde wrote:
Hello sun_cracker,
The problem is elsewhere :cry:

Another idea ?


I have remarked something maybe interesting for you :
in your layman.cfg you must enter :
Code:
overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt
            http://poker3d-gentoo.googlecode.com/svn/trunk/list.xml
and not
overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt
http://poker3d-gentoo.googlecode.com/svn/trunk/list.xml



If i enter the second configuration (without blank space at the beginning of the second line) ,
and i enter layman -a pok3d , i have also the message : Overlay "pok3d" does not exist!
The second configuration works for me !

Good luck !!

Sun
Back to top
View user's profile Send private message
addohm
n00b
n00b


Joined: 06 Oct 2007
Posts: 5

PostPosted: Wed Oct 10, 2007 11:57 pm    Post subject: Reply with quote

Wrap your heads around this... I can't get osgal to emerge, I have re-emerged openal and openalpp, but osgal still won't finish with success.

http://rafb.net/p/ritZc617.html

Obviously I can't emerge -O poker3d because osgal is manditory. This is alot of crap to go through to play poker with other people :-/

Anywho, some support on getting osgal to emerge properly would be appreciated.
Back to top
View user's profile Send private message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Thu Oct 11, 2007 5:32 am    Post subject: [solved] Reply with quote

Thanks all of you for your help. I did it again with your instructions.

That is strange, I did actually layman -S at the proper step. The difference is that now it has worked. But I don't catch why now and not before. I have checked my history.

sun_cracker, I was conform to the blank space trick.

After unmasking openthreads, emerge have worked, and I can run it. I think I have to open an account and play now.

Thanks again all of you :D ![/code]
Back to top
View user's profile Send private message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Thu Oct 11, 2007 10:41 pm    Post subject: Reply with quote

I am here again. I have created an account on /www.pok3d.com, but when I start the game, I have the following message unside a blank login window :
Quote:
Unable to reach the poker server at localhost:19380


I could find krapo's instructions into the present thread p. 1. It changes nothing. By the way, my config file is not in ~/.poker3d/poker3d.xml but in /usr/share/poker3d/poker3d.xml

I have tried also to copy it in ~/.poker3d/poker3d.xml but it is the same. I mean I still have the above error message : Unable to reach the poker server at localhost:19380

An idea ?
Back to top
View user's profile Send private message
sun_cracker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2007
Posts: 112
Location: Belgique / Bruxelles / Namur

PostPosted: Fri Oct 12, 2007 9:14 am    Post subject: Reply with quote

Quote:
Unable to reach the poker server at localhost:19380


Hello Lalebarde !
You are not far from playing poker :wink:

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


Good luck !
Sun
Back to top
View user's profile Send private message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Fri Oct 12, 2007 4:54 pm    Post subject: Reply with quote

Thanks sun_cracker, but I did it already :
Quote:
I could find krapo's instructions into the present thread p. 1. It changes nothing. By the way, my config file is not in ~/.poker3d/poker3d.xml but in /usr/share/poker3d/poker3d.xml

After emerge, I had no ~/.poker3d/poker3d.xml file. I created it by copying /usr/share/poker3d/poker3d.xml, after having made the modification :
Quote:
<servers>localhost:19380</servers>
to
<servers>poker.pok3d.com:19380</servers>

And I still have :
Quote:
Unable to reach the poker server at localhost:19380


Some check :
Code:
PCTRAVAIL ~ # for fic in `equery files poker3d`; do grep "localhost:19380" $fic; done
PCTRAVAIL ~ # for fic in `equery files poker3d`; do grep -H "poker.pok3d.com:19380" $fic; done
/usr/share/poker3d/poker3d.xml:  <servers>poker.pok3d.com:19380</servers>
/usr/share/poker3d/poker3d.xml.ref:  <servers>poker.pok3d.com:19380</servers>
PCTRAVAIL ~ #     


So "localhost:19380" have been properly replaced by "poker.pok3d.com:19380". It looks like if "localhost:19380" is hardcoded 8O.

Another idea :cry: ?
Back to top
View user's profile Send private message
addohm
n00b
n00b


Joined: 06 Oct 2007
Posts: 5

PostPosted: Thu Nov 01, 2007 11:37 pm    Post subject: Reply with quote

Did we give up? I'm personally startin to get tired of tryin to get this to work :/

http://img476.imageshack.us/img476/9357/yawnox7.png
Back to top
View user's profile Send private message
elsphinc
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 139
Location: Lake Tahoe

PostPosted: Sat Nov 03, 2007 3:38 pm    Post subject: what a pain Reply with quote

i had this thing up and running on an ubuntu system and it sucked. Overly bloated and slow even on a decent graphics (248 mb geforce). Not native but poker stars under wine fills my needs.
_________________
elsphinc # kickin_ass &
mysql> create database namesdb;
Back to top
View user's profile Send private message
codyzapp
n00b
n00b


Joined: 04 Jul 2006
Posts: 24
Location: Cypress, Texas

PostPosted: Sat Feb 16, 2008 11:16 pm    Post subject: Reply with quote

Quote:

4 modify /etc/make.conf

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

can someone explain step 4 out to me, like give example.
Back to top
View user's profile Send private message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Sat Jan 03, 2009 9:09 am    Post subject: wayforward Reply with quote

I had had reinstalled my system some months ago after a hd crash (I was a stupid guy without working archive). And now, I try to emerge pok3d.

dev-libs/openthreads dependency is lacking in pok3d overlay. You have to install the sunrise overlay to get it :
Code:
layman -a sunrise


The dependency for dev-libs/openthreads is on an old version, and the path to fetch it in the ebuild is dead. You need to copy the ebuild in your own overlay. cf howto here :
http://en.gentoo-wiki.com/wiki/Writing_Ebuilds

and you need to modify the path to :
Code:
#SRC_URI="http://www.openscenegraph.org/downloads/snapshots/OSG_OP_OT-${OSG_V}.zip"
SRC_URI="http://www.openscenegraph.org/downloads/stable_releases/old/OSG_OP_OT-${OSG_V}.zip"
Back to top
View user's profile Send private message
lalebarde
Guru
Guru


Joined: 03 Sep 2006
Posts: 464
Location: France, Haute-Garonne

PostPosted: Sun Jan 04, 2009 6:42 pm    Post subject: Reply with quote

OK, it is another story. To emerge pok3d, one shall start here, to manage to emerge openscenegraph (this is the site of the guy who develops pok3d - he works on gentoo and has prepared ebuilds for openscenegraph in the overlay mornifle-gentoo-package) : http://www.plopbyte.net/#gentoo-packages
Care, it is heavy : nearly 20 hours of compilation on my P4 2.4 GHz.

For Information, openscenegraph on the overlays sunrise or pok3d are out of date (version 1.2).

Next issue to emerge pok3d is that it is not yet ready. So I am using here the overlay pok3d. The ebuild for media-libs/osgal-20060714-r1 depends on dev-cpp/openscenegraph (in overlay pok3d) replaced badly by another hierarchy : media-gfx/openscenegraph in overlays sunrise and mornifle-gentoo-package. The only solution I see is copy media-libs/osgal-20060714-r1 ebuild in one's local overlay and modify the dependency from dev-cpp/openscenegraph to media-gfx/openscenegraph.

Code:
# grep openscenegraph /usr/portage/local/layman/pok3d/media-libs/osgal/osgal-20060714-r1.ebuild
DEPEND="dev-cpp/openscenegraph dev-cpp/openalpp"


Code:
# grep openscenegraph /usr/portage/local/myEbuilds/media-libs/osgal/osgal-20060714-r1.ebuild
#DEPEND="dev-cpp/openscenegraph dev-cpp/openalpp"
DEPEND="media-gfx/openscenegraph dev-cpp/openalpp"


Result :
Code:
# emerge -av1 media-libs/osgal

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-cpp/openalpp-20060714-r1  0 kB [1]
[ebuild  N    ] media-libs/osgal-20060714-r1  843 kB [2]

Total: 2 packages (2 new), Size of downloads: 843 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/pok3d
 [2] /usr/portage/local/myEbuilds

Would you like to merge these packages? [Yes/No]


As media-gfx/openscenegraph is already emerged, it has not to be. So this fixes the issue.
I got
Quote:
checking for OPENSCENEGRAPH... yes
so emerge osgal looks happy with the fix.....

then failed :
Code:
SoundRoot.cpp: In member function 'virtual void osgAL::SoundRoot::traverse(osg::NodeVisitor&)':
SoundRoot.cpp:82: error: conversion from 'osg::RefMatrix*' to non-scalar type 'osg::Matrixd' requested


It's looks like the interface of openscenegraph has changed (version 1.2 to 2.6.0 - yeaps, this is a major update). Too much for me

I tryed to emerge openscenegraph 1.2 from
Quote:
http://www.openscenegraph.org/downloads/stable_releases/old/
as said in my previous post, but it failed.
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 Previous  1, 2, 3, 4
Page 4 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