| View previous topic :: View next topic |
| Author |
Message |
step Apprentice


Joined: 16 May 2002 Posts: 198
|
Posted: Thu May 01, 2003 10:58 am Post subject: HELP - installing planeshift 0.2.010 (emerge planeshift) |
|
|
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: |
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: |
cp /usr/games/bin/cel.cex /opt/crystal/bin/cel.cex
|
and
| Code: |
ln -s /opt/crystal/bin/cel.cex /opt/crystal/lib/cel.cex
|
then i did:
| Code: |
export CRYSTAL=/opt/crystal
export CEL=/opt/crystal
|
now i run:
and it ends with the following message:
| Code: |
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? |
|
| Back to top |
|
 |
djprotoss n00b

Joined: 14 Nov 2002 Posts: 37
|
Posted: Thu May 01, 2003 11:05 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
step Apprentice


Joined: 16 May 2002 Posts: 198
|
Posted: Thu May 01, 2003 12:54 pm Post subject: |
|
|
| 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"
| Quote: |
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  |
|
| Back to top |
|
 |
ray0r n00b


Joined: 06 May 2003 Posts: 14 Location: michigan, usa
|
Posted: Tue May 06, 2003 10:40 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
ghetto Guru


Joined: 10 Jul 2002 Posts: 369 Location: BC, Canada
|
Posted: Wed May 07, 2003 4:41 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
eivind n00b

Joined: 03 Apr 2003 Posts: 5
|
Posted: Wed May 07, 2003 8:04 pm Post subject: |
|
|
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
|
|
|
| Back to top |
|
 |
ghetto Guru


Joined: 10 Jul 2002 Posts: 369 Location: BC, Canada
|
Posted: Wed May 07, 2003 11:14 pm Post subject: |
|
|
w00t!!
that worked.. i just played for a bit.. not terribly exciting though..  _________________ Blizzard you suck. |
|
| Back to top |
|
 |
riprjak Tux's lil' helper


Joined: 26 Apr 2003 Posts: 116 Location: Adelaide, Au
|
Posted: Fri May 09, 2003 11:41 pm Post subject: |
|
|
| Quote: | 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 |
|
| Back to top |
|
 |
ghetto Guru


Joined: 10 Jul 2002 Posts: 369 Location: BC, Canada
|
Posted: Sat May 10, 2003 6:21 am Post subject: |
|
|
edit _________________ Blizzard you suck.
Last edited by ghetto on Sat May 10, 2003 10:54 pm; edited 1 time in total |
|
| Back to top |
|
 |
ghetto Guru


Joined: 10 Jul 2002 Posts: 369 Location: BC, Canada
|
|
| Back to top |
|
 |
RoVeRken Tux's lil' helper

Joined: 22 May 2003 Posts: 93 Location: Belgium (Leuven)
|
Posted: Sun Jun 15, 2003 3:49 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Master_Of_Disaster l33t


Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
Posted: Tue Jun 24, 2003 9:11 pm Post subject: |
|
|
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:
| Quote: | 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! |
|
| Back to top |
|
 |
DAudioLink n00b

Joined: 24 Feb 2004 Posts: 11
|
Posted: Sat Oct 23, 2004 2:11 am Post subject: |
|
|
[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: | >>> 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? |
|
| Back to top |
|
 |
drzap n00b

Joined: 20 Sep 2004 Posts: 23
|
Posted: Thu Nov 11, 2004 2:23 pm Post subject: |
|
|
| Quote: | | 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. |
|
| Back to top |
|
 |
drzap n00b

Joined: 20 Sep 2004 Posts: 23
|
Posted: Thu Nov 11, 2004 2:25 pm Post subject: |
|
|
| sorry about that.. seems like there is something wrong with your cs installation, it fails on cssys.. you could try to remove that aswell. |
|
| Back to top |
|
 |
xordan Tux's lil' helper

Joined: 30 Aug 2004 Posts: 148
|
Posted: Wed Nov 17, 2004 8:28 pm Post subject: |
|
|
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/planeshift/buildmb.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/planeshift/building.html |
|
| Back to top |
|
 |
|