PlaneShift

Support => Linux Specific Issues => Topic started by: TKM625 on June 23, 2006, 08:56:51 am

Title: Ubuntu Issue
Post by: TKM625 on June 23, 2006, 08:56:51 am
I'm installing on Ubuntu, using the stickied guide, but I get an error near the beginning of section 5. When I try to "make" the install, I get the following at the end.

g++: @all_libraries@: No such file or directory
make[3]: *** [libcal3d.la] Error 1
make[3]: Leaving directory `/opt/planeshift_cvs/planeshift/cal3d/src/cal3d'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/planeshift_cvs/planeshift/cal3d/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/planeshift_cvs/planeshift/cal3d'
make: *** [all] Error 2

Is this actually a problem, and if so, how do I go about fixing it?
Title: Re: Ubuntu Issue
Post by: Bereror on June 23, 2006, 10:35:21 am
Open src/cal3d/Makefile.am and delete or comment out the line with all_libraries = @all_libraries@. Then make clean and make again.
Title: Re: Ubuntu Issue
Post by: Asmondeus on June 23, 2006, 03:08:37 pm
Hi,

Before I was using WindowsXP and decided to change to Ubuntu. I have formated my HDD and installed it. Everything seemed fine until I ran PlaneShift. When I have installed .bin for PlaneShift and run the file it gave me this error message:

"crystalspace.graphics3d.opengl: Error opening Graphics2D context."

I do not know what to do next? Can anyone help me? In step by step details?
Title: Re: Ubuntu Issue
Post by: TKM625 on June 24, 2006, 07:22:36 am
I think you mean in /cal3d/src instead of /src/cal3d, since that's where the file you're talking about is located, but the contents of the file don't have that in it. In fact, the only lines that aren't commented out contain only "INCLUDES = $(all_includes)" and "SUBDIRS = cal3d".
Title: Re: Ubuntu Issue
Post by: Bereror on June 24, 2006, 08:44:33 am
cal3d/src/cal3d/Makefile.am, but I assumed that you were already in cal3d, so from there it would be src/cal3d/Makefile.am.
Title: Re: Ubuntu Issue
Post by: TKM625 on June 24, 2006, 03:37:35 pm
Thanks, Bereror, I've got that working now. Unfortunately, now I'm further on down the line, and I'm having a problem at the "./walktest -fullbright" part. I get the error
"crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.graphics3d.shader.glcg'".
Any clues as to how to get past this, as well?
Title: Re: Ubuntu Issue
Post by: TKM625 on June 24, 2006, 03:51:08 pm
Asmondeus, do you ahve an nvidia graphics card? If so, you need to install the drivers for it. From what I've read (this is just a guess), you need to open a terminal and type in "chcon -t texrel_shlib_t /usr/lib/xorg/modules/extensions/nvidia/*.so". You'll have to be logged in as root, so type in "su" and then the root's password first.
Title: Re: Ubuntu Issue
Post by: Bereror on June 24, 2006, 03:53:12 pm
I don't think it matters too much. I get the same message, but walktest itself works fine. If it doesn't for you, there has to be something else wrong.
Title: Re: Ubuntu Issue
Post by: TKM625 on June 24, 2006, 04:34:44 pm
Yet another error... I continued to install, and while in the /cel directory, I ran ./configure --without-python, and this came up at the bottom.
"configure: error:
*** Crystal Space could not be found or was unusable. The latest version is
*** always available from http://www.crystalspace3d.org/
*** Also, be sure that you have either installed Crystal Space or set the
*** CRYSTAL environment variable properly."
I'm pretty sure it's installed, since I followed the guide exactly, but for some reason, it's not finding it. Probably something I forgot to do..
Title: Re: Ubuntu Issue
Post by: Bereror on June 24, 2006, 05:10:25 pm
*** Also, be sure that you have either installed Crystal Space or set the
*** CRYSTAL environment variable properly."

Make sure that the CRYSTAL environment variable is set. Run echo $CRYSTAL and see what it prints out. If nothing, you need to set it to your cs directory. Like export CRYSTAL=<full-path-to-cs>.