Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

HELP - installing planeshift 0.2.010 (emerge planeshift)

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
16 posts • Page 1 of 1
Author
Message
step
Apprentice
Apprentice
User avatar
Posts: 198
Joined: Thu May 16, 2002 6:40 am
Contact:
Contact step
Website

HELP - installing planeshift 0.2.010 (emerge planeshift)

  • Quote

Post by step » Thu May 01, 2003 10:58 am

i started so that i can find out what needs to be installed :

emerge planeshift -p --deep

These are the packages that I would merge, in order:

Code: Select all

Calculating dependencies ...done!
[ebuild  N   ] dev-libs/crystalspace-20030413-r1
[ebuild  N   ] dev-util/yacc-1.9.1-r1
[ebuild  N   ] dev-util/jam-2.4
[ebuild  N   ] dev-libs/cel-20030413
[ebuild  N   ] app-games/planeshift-0.2.010
everything installed fine except the app-games/planeshift-0.2.010

the i was told, that there is a problem with the 'cel' and i must to the following :

Code: Select all

cp /usr/games/bin/cel.cex /opt/crystal/bin/cel.cex 
and

Code: Select all

ln -s /opt/crystal/bin/cel.cex /opt/crystal/lib/cel.cex
then i did:

Code: Select all

export CRYSTAL=/opt/crystal 
export CEL=/opt/crystal
now i run:

Code: Select all

emerge planeshift
and it ends with the following message:

Code: Select all

LinkApplication updater
...failed updating 56 target(s)...
...skipped 10 target(s)...
...updated 91 target(s)...

!!! ERROR: app-games/planeshift-0.2.010 failed.
!!! Function src_compile, Line 26, Exitcode 1
!!! (no error message)
and thats the sad end of it.

Any ideas?
Top
djprotoss
n00b
n00b
Posts: 37
Joined: Thu Nov 14, 2002 12:17 pm

  • Quote

Post by djprotoss » Thu May 01, 2003 11:05 am

Try using a minimal CFLAGS in your make.conf (something like
CFLAGS="-mcpu=<your cpu type here> -pipe"

also, when you do emerge -p planshift, does it claim to have a version installed?
Top
step
Apprentice
Apprentice
User avatar
Posts: 198
Joined: Thu May 16, 2002 6:40 am
Contact:
Contact step
Website

  • Quote

Post by step » Thu May 01, 2003 12:54 pm

djprotoss wrote:Try using a minimal CFLAGS in your make.conf (something like
CFLAGS="-mcpu=<your cpu type here> -pipe"
i have CFLAGS="-march=pentium3 -O3 -pipe"

also, when you do emerge -p planshift, does it claim to have a version installed?
no.

but i downloaded the planeshift-0.2.010FullSourceAndArt.tar.gz from urceforge.net and installed it.

It works :)
Top
ray0r
n00b
n00b
User avatar
Posts: 14
Joined: Tue May 06, 2003 9:43 pm
Location: michigan, usa
Contact:
Contact ray0r
Website

  • Quote

Post by ray0r » Tue May 06, 2003 10:40 pm

yes, i believe that the error is caused by jam not being able to make or use the config files in the source code. The planeshift.it forums did say that jam-2.5r1 is needed. if any one else can figure this out it would be great.
Top
ghetto
Guru
Guru
User avatar
Posts: 369
Joined: Wed Jul 10, 2002 12:31 am
Location: BC, Canada

  • Quote

Post by ghetto » Wed May 07, 2003 4:41 pm

I am getting the same error that step reported. I was doing everything the same except I wasnt exporting the CEL variable. I will try that and re-emerge and see what happens.
Blizzard you suck.
Top
eivind
n00b
n00b
Posts: 5
Joined: Thu Apr 03, 2003 4:09 pm

  • Quote

Post by eivind » Wed May 07, 2003 8:04 pm

The error is created by cel. Cels header files gets installed in the wrong place. A hack around is to insert the following code into the ebuild before jam:

Code: Select all

ln -s /opt/crystal include/pf
ln -s /opt/crystal include/pl
ln -s /opt/crystal include/bl
Top
ghetto
Guru
Guru
User avatar
Posts: 369
Joined: Wed Jul 10, 2002 12:31 am
Location: BC, Canada

  • Quote

Post by ghetto » Wed May 07, 2003 11:14 pm

w00t!!
that worked.. i just played for a bit.. not terribly exciting though.. :|
Blizzard you suck.
Top
riprjak
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 116
Joined: Sat Apr 26, 2003 1:56 am
Location: Adelaide, Au
Contact:
Contact riprjak
Website

  • Quote

Post by riprjak » Fri May 09, 2003 11:41 pm

The error is created by cel. Cels header files gets installed in the wrong place. A hack around is to insert the following code into the ebuild before jam:
Code:

ln -s /opt/crystal include/pf
ln -s /opt/crystal include/pl
ln -s /opt/crystal include/bl
Pardon my stnning ignorance here :) but ???/include/pf etc?? where should I be in the directory structure when I make these links?? or do I insert this into an actual .ebuild file... if so, the jam, crystalspace or planeshift ebuild... and where?? :)

sorry, I dont have clue one about climbing under the board and fiddling with the gentoo wiring yet :)

err!
ripjrak
---
"Stupidity and drug use cannot be ruled out"

!!EDIT : I inserted the lines into the planeshift .ebuild file; right were you said (before jam || die in the code)... this and added the pesky "CRYSTAL=/opt/crystal" that needed to be set. guess it helps if I actually READ comments :) Thanks for the help... no issues now :) well, no issues related to installing this game ;) w00t!!!
---
$> cd /pub
$> more beer > /home/riprjak/.mouth
Top
ghetto
Guru
Guru
User avatar
Posts: 369
Joined: Wed Jul 10, 2002 12:31 am
Location: BC, Canada

  • Quote

Post by ghetto » Sat May 10, 2003 6:21 am

edit
Last edited by ghetto on Sat May 10, 2003 10:54 pm, edited 1 time in total.
Blizzard you suck.
Top
ghetto
Guru
Guru
User avatar
Posts: 369
Joined: Wed Jul 10, 2002 12:31 am
Location: BC, Canada

  • Quote

Post by ghetto » Sat May 10, 2003 10:09 pm

There is a new improved planeshift ebuild and cel ebuild with patch.
Take a look at these threads:
http://bugs.gentoo.org/show_bug.cgi?id=20181
http://bugs.gentoo.org/show_bug.cgi?id=20383

..installing right now..
Blizzard you suck.
Top
RoVeRken
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Thu May 22, 2003 9:27 pm
Location: Belgium (Leuven)

  • Quote

Post by RoVeRken » Sun Jun 15, 2003 3:49 pm

this did the trick for me too, but i had an error on line 27 not on line 25 :p don't know what the difference is ...
Powered by Gentoo.
Top
Master_Of_Disaster
l33t
l33t
User avatar
Posts: 610
Joined: Fri Feb 28, 2003 7:57 pm
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
Contact:
Contact Master_Of_Disaster
Website

  • Quote

Post by Master_Of_Disaster » Tue Jun 24, 2003 9:11 pm

I have downloaded the modified ebuilds and tested them. CrystalSpace emerged fine, CEL has to be persuaded by setting the environment variable and adjusting permissions. When trying to emerge planescape, it complains that it can't find CEL (or CrystalSpace?). See the output here:
src/common/engine/celbase.h:26:19: pl/pl.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:27:19: bl/bl.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:32:21: pf/mesh.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:33:21: pf/mesh.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:34:24: pf/meshsel.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:35:20: pf/inv.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:36:22: pf/chars.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:37:21: pf/move.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:38:24: pf/tooltip.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:39:23: pf/camera.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:40:24: pf/gravity.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:41:22: pf/timer.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:42:23: pf/region.h: Datei oder Verzeichnis nicht gefunden
src/common/engine/celbase.h:43:22: pf/input.h: Datei oder Verzeichnis nicht gefunden

[...]

...interrupted
...failed updating 14 target(s)...
...skipped 6 target(s)...
...updated 39 target(s)...

/usr/local/portage/app-games/planeshift/planeshift-0.2.010-r1.ebuild: src_compile
aborted; exiting.
All these files really do not exist, is there anything broken in cel or crystalspace
ebuild? I am using the ebuilds from bugzilla (this bug and #20383) as suggested,
but it doesn't compile anyway. Directory permissions are set correctly, build fails
with:
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Top
DAudioLink
n00b
n00b
Posts: 11
Joined: Tue Feb 24, 2004 9:19 pm

  • Quote

Post by DAudioLink » Sat Oct 23, 2004 2:11 am

[EDIT] I think I might have figured out why it's failing to emerge for me, I had just crystalspace installed instead of the cvs version, I'm emergeing that now, but I find it odd that planeshift wanted to downgrade the non-cvs version...[/EDIT]
And it fails to emerge it corectly if I don't downgrade with this:

Code: Select all

>>> Unpacking source...
>>> Unpacking planeshift-0.2.010.tar.bz2 to /var/tmp/portage/planeshift-0.2.010-r1/work
 [32;01m*[0m Applying planeshift-0.2.010-fix-cast.diff ...
[A[151G  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for jam... jam
checking for install... install
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for socklen_t... yes
checking for stdint-types... found in stdint.h
creating include/psstdint.h - (just to include  stdint.h) 
checking for Crystal Space - version >= 0.94... Unknown lib: cssys
Usage: cs-config [OPTIONS] [LIBRARIES]
Options:
        [--prefix]
        [--exec-prefix]
        [--version]
        [--long-version]
        [--libdir]
        [--includedir]
        [--libs]
        [--cflags]
        [--cxxflags]
        [--makevars]
        [--help]
Libraries:
        csgeom
        csgfx
        cstool
        csutil
        csws


Note that the Crystal Space directory is detect by looking at the CRYSTAL
environment variable. Make sure this variable is set correctly.
Unknown lib: cssys
Usage: cs-config [OPTIONS] [LIBRARIES]
Options:
        [--prefix]
        [--exec-prefix]
        [--version]
        [--long-version]
        [--libdir]
        [--includedir]
        [--libs]
        [--cflags]
        [--cxxflags]
        [--makevars]
        [--help]
Libraries:
        csgeom
        csgfx
        cstool
        csutil
        csws


Note that the Crystal Space directory is detect by looking at the CRYSTAL
environment variable. Make sure this variable is set correctly.
Unknown lib: cssys
Usage: cs-config [OPTIONS] [LIBRARIES]
Options:
        [--prefix]
        [--exec-prefix]
        [--version]
        [--long-version]
        [--libdir]
        [--includedir]
        [--libs]
        [--cflags]
        [--cxxflags]
        [--makevars]
        [--help]
Libraries:
        csgeom
        csgfx
        cstool
        csutil
        csws


Note that the Crystal Space directory is detect by looking at the CRYSTAL
environment variable. Make sure this variable is set correctly.
no
*** Could not run Crystal Space test program, checking why...
configure: error:
*** Crystal Space couldn't be found. The latest version is always avaiable
*** from http://crystal.linuxgames.com.
***
*** be also sure that you've either installed CS or set the CRYSTAL var right.
*** You also have to compile the cs-config script in CS. Do this with the
*** following command in your CS dir:
***     make csconf

!!! ERROR: games-rpg/planeshift-0.2.010-r1 failed.
!!! Function src_compile, Line 40, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
And it also wants to downgrade ode from 0.5 to 0.039 is it just me or is that really really sickeningly wrong?
Linux n00b, but still a Linux Zealot!
What have YOU done to Promote Linux?
P.S. I have two walls to paint in my room, Anyone have some Linux related sugestions?
Top
drzap
n00b
n00b
Posts: 23
Joined: Mon Sep 20, 2004 4:09 pm
Contact:
Contact drzap
Website

  • Quote

Post by drzap » Thu Nov 11, 2004 2:23 pm

but I find it odd that planeshift wanted to downgrade the non-cvs version..
This is because the build script supplied with planeshift doesn't support the new cs-config coming with Crystalspace.

I belive it has to do with the old cs-config being able to show where CEL is installed aswell, but here it is unknown.

You could get the error message away and complete the configuration file by removing 'cel' from the $CSCONF$ lines in the configure file for planeshift. But it might break some stuff aswell since cel is needed.
Top
drzap
n00b
n00b
Posts: 23
Joined: Mon Sep 20, 2004 4:09 pm
Contact:
Contact drzap
Website

  • Quote

Post by drzap » Thu Nov 11, 2004 2:25 pm

sorry about that.. seems like there is something wrong with your cs installation, it fails on cssys.. you could try to remove that aswell.
Top
xordan
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Mon Aug 30, 2004 4:33 pm

  • Quote

Post by xordan » Wed Nov 17, 2004 8:28 pm

emerging PlaneShift is known not to work properly on quite a few systems.

The best way to do it is to compile it yourself:

http://www16.brinkster.com/acraig/plane ... ildmb.html

Or you can wait a few weeks for the new version to arrive.

You can compile the code for the new version if you want to help test it out. It would be great if people with a x86_64 version of gentoo could help me test this :) I'm the only one doing so atm. (To compile 64-bit add CFLAGS=-fPIC after ./configure on CS, cel, and planeshift)

Here are the instructions:

http://www16.brinkster.com/acraig/plane ... lding.html
Top
Post Reply
  • Print view

16 posts • Page 1 of 1

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic