Author Topic: Planeshift on AMD64 and gentoo  (Read 2732 times)

Rav3n

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Planeshift on AMD64 and gentoo
« on: June 10, 2005, 04:51:37 pm »
I know several similiar problems were posted often here but nowhere
I can find a solution for my problems.
Not in this Forum nor in the gentoo one nor with google.
And here we go:
I tried for days now to, get planeshift up and running on my AMD64 (2.6.11-gentoo-r9).
First with emerge planeshift... I get an error message while compiling.
Then two times like in the gentoo-tutorial. He always can\'t find \"iSoundManager plugin\" after the whole compiling process(Updater works correctly and looks much nicer after upgrading).
Two more times with CFLAGS=-fPIC option in all configure-calls.
Still the same problem.
Then I tried it with a script from so. who ment to be gentoo developer and posted it in the planeshift forums.
It still does not work.. I get an AMOUNT of errors trying to start psclient after compile process.
Any ideas?
« Last Edit: June 10, 2005, 05:01:03 pm by Rav3n »

Rav3n

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #1 on: June 10, 2005, 07:23:53 pm »
Here is my \"emerge info\":


Gentoo Base System version 1.6.12 Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r9 x86_64) ================================================================= System uname: 2.6.11-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS=\"amd64 ~amd64\" AUTOCLEAN=\"yes\" CBUILD=\"x86_64-pc-linux-gnu\" CFLAGS=\"-mtune=athlon64 -O2 -pipe\" CHOST=\"x86_64-pc-linux-gnu\" CONFIG_PROTECT=\"/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control\" CONFIG_PROTECT_MASK=\"/etc/gconf /etc/terminfo /etc/env.d\" CXXFLAGS=\"-mtune=athlon64 -O2 -pipe\" DISTDIR=\"/usr/portage/distfiles\" FEATURES=\"autoconfig distlocks sandbox sfperms strict\" GENTOO_MIRRORS=\"ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/\" MAKEOPTS=\"-j2\" PKGDIR=\"/usr/portage/packages\" PORTAGE_TMPDIR=\"/var/tmp\" PORTDIR=\"/usr/portage\" SYNC=\"rsync://rsync.de.gentoo.org/gentoo-portage\" USE=\"amd64 X a52 aac acpi aim alsa avi berkdb bitmap-fonts bzlib cdr crypt curl dedicated dvb dvd dvdr dvdread emul-linux-x86 encode esd ethereal fam flash font-server fortran ftp gif gnome gphoto2 gpm gstreamer gtk icq imap imlib ipv6 jabber java javascript jp2 jpeg kerberos libg++ lzw lzw-tiff mad mime ming mozilla mp3 mpeg msn mysql ncurses nls nmap nptl ogg oggvorbis opengl oss pam perl php png posix ppds python qt quicktime readline sockets ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd videos vorbis wifi wxgtk1 wxwindows xml xml2 xmms xpm xrandr xv yahoo zlib userland_GNU kernel_linux elibc_glibc\" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Ralas

  • Hydlaa Citizen
  • *
  • Posts: 255
  • Explorers Guild
    • View Profile
    • Reincrownation :D
(No subject)
« Reply #2 on: June 10, 2005, 11:18:30 pm »
I seem to remember having read that Planeshift may not work on 64 bit systems.  Can anyone shed some light on this?
Yliakum, a really big crystal. These are the voyages of the Explorers Guild.  Its ongoing mission: to explore strange new maps, to seek out new life and new NPCs.  To boldly glitch where no one has glitched before.

www.reincrownation.com :D

Rav3n

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #3 on: June 10, 2005, 11:46:05 pm »
AFAIK it should work... Maybe not very stable but it should!
I know of some gentoo users with amd64 that got it to run with simply typing \"emerge planeshift\"... :(
Why the hell can\'t that work for me? :cry:
« Last Edit: June 10, 2005, 11:47:21 pm by Rav3n »

Ralas

  • Hydlaa Citizen
  • *
  • Posts: 255
  • Explorers Guild
    • View Profile
    • Reincrownation :D
(No subject)
« Reply #4 on: June 11, 2005, 01:12:08 am »
I tried emerge planeshift once on my non 64bit gentoo system.  No matter who says that their is a working ebuild, I will never believe it.  But if it worked on their 64 bit systems, maybe you can use an older ebuild.
Yliakum, a really big crystal. These are the voyages of the Explorers Guild.  Its ongoing mission: to explore strange new maps, to seek out new life and new NPCs.  To boldly glitch where no one has glitched before.

www.reincrownation.com :D

lethe

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #5 on: June 11, 2005, 12:56:47 pm »
i never got  a 100% running planshift when i emerged/compiled it even with my x86 and all dependencies and so on....

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #6 on: June 11, 2005, 02:18:52 pm »
It compiles fine for me with \'emerge planeshift\' on my amd64.
It doesn\'t run though due to a driver bug I think. I don\'t know why the ebuild doesn\'t work for some people :(

Try emerging with USE=debug
People have found that it helps to do that.
« Last Edit: June 11, 2005, 02:23:42 pm by Xordan »

Rav3n

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #7 on: June 11, 2005, 08:41:45 pm »
First I emerged crystalspace with debug-useflag.
Then I was able to install the rest, too.
But I got the so often posted \"segmentation error\".
He can\'t load iSoundManager plugin and so on...
A startupscreen appears for a moment and I can hear a little piece of music before the progam interrupts.
I tried to emerge crystalspace, cel AND planeshift with debug-useflag set. But then even the updater does not appear... :(

lethe

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #8 on: June 11, 2005, 08:56:31 pm »
try to disable sound in planeshift-setup, so i have no segmentation fault anymore

Rav3n

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #9 on: June 11, 2005, 09:05:04 pm »
I did....
But it is still the same!!!
« Last Edit: June 11, 2005, 09:05:35 pm by Rav3n »

khanistine

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #10 on: July 15, 2005, 05:24:19 am »
You guys have all the emulation packages installed?

hramrach

  • Hydlaa Resident
  • *
  • Posts: 118
    • View Profile
(No subject)
« Reply #11 on: July 15, 2005, 01:21:39 pm »
This looks pretty much like what the binary package did before installing the update.

Perhaps the ebuild uses old source?
Observer .. or watcher?

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #12 on: July 15, 2005, 11:41:25 pm »
Loads of 64-bit bugs have been fixed since the ebuild. You should compile from cvs:

laanx.fragnetics.com

RalphMW

  • Traveller
  • *
  • Posts: 32
  • ingame name: Golib Bahas
    • View Profile
    • Müller-Welt.net
no gentoo but amd64
« Reply #13 on: August 06, 2005, 07:44:46 pm »
I just tried to compile the CVS (2005-08-06 ~16:00 CEST), but failed:
#>jam psclient
...patience...
...found 1184 targets...
...updating 2 targets...
C++ ./out/linux/debug/src/client/modehandler.o
src/client/modehandler.cpp: In member function `bool ModeHandler::Initialize()
   \':
src/client/modehandler.cpp:166: error: `CS_RENDPRI_NONE\' undeclared (first use
   this function)
src/client/modehandler.cpp:166: error: (Each undeclared identifier is reported
   only once for each function it appears in.)

    g++  -c -o ./out/linux/debug/src/client/modehandler.o  -DCS_DEBUG -g3 -I/home/ralph/planeshift64/CS/include -I/home/ralph/planeshift64/cel/include -fexceptions -I/home/ralph/planeshift64/cal3d/include   -I. -I./include -I./src/common -I./src/client -I./src/server  src/client/modehandler.cpp

...failed C++ ./out/linux/debug/src/client/modehandler.o...
...skipped psclient for lack of modehandler.o...
...failed updating 1 target...
...skipped 1 target...

I know it should work on 64bit, couse i had it running once.
SuSE 9.3 (Linux RalphiX 2.6.11.4-21.8-default #1 Tue Jul 19 12:42:37 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux)

---
I had PS running through wine, also used the 32bit installer.

Heydulf

  • Traveller
  • *
  • Posts: 16
    • View Profile
(No subject)
« Reply #14 on: August 06, 2005, 09:02:10 pm »
Quote
Originally posted by RalphMW

C++ ./out/linux/debug/src/client/modehandler.o
src/client/modehandler.cpp: In member function `bool ModeHandler::Initialize()
   \':
src/client/modehandler.cpp:166: error: `CS_RENDPRI_NONE\' undeclared (first use
   this function)
src/client/modehandler.cpp:166: error: (Each undeclared identifier is reported
   only once for each function it appears in.)



with this one i was stuck a lot of time. this means, your version of CS is too young. get the source packaged here: http://planeshift.xpam.de/dl/src/31.07.05/cs-31.07.05.tar.bz2

it seems there were several deeper changes in cs the last few days...

hth