Author Topic: Linux Howto  (Read 34704 times)

uafr

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #15 on: March 28, 2003, 10:24:53 pm »
Okay, I compiled Planeshift from cvs as described above.
When starting psclient I get the errormessage:
Quote

[...]
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: No iDialogManager plugin!
planeshift.application.client: Failed to init app!


Any Hints to get it work?

pako

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
fonts..
« Reply #16 on: March 31, 2003, 06:21:00 pm »
>crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

look at that thread ...



pako

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
(No subject)
« Reply #17 on: March 31, 2003, 09:09:06 pm »
phew, I compiled it... but it only works in software mode...

and all those CS-Test Progs like blocks, walktest, etc dont work..

i3dGraphics.. not workin....

the configure of CS tells me there is no OpenGl on my System..

also XFree and my Nvidia drivers are installed correct I think

.. thx pako


uafr

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #18 on: April 05, 2003, 12:46:42 pm »
Quote
Originally posted by pako
>crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

look at that thread ...



Okay, the fontfile is found now. But psclient still does not start.

Quote

Mounting maps: dungeon podium hydlaa tower temple.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: No iDialogManager plugin!
planeshift.application.client: Failed to init app!


Where can I get this iDialogManager?

jagator55

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
(No subject)
« Reply #19 on: April 06, 2003, 09:17:29 am »
make sure you have all the programs updated in that is listed in the howto. it sounds like a compile error.

-Robbie

uafr

  • Traveller
  • *
  • Posts: 15
    • View Profile
(No subject)
« Reply #20 on: April 06, 2003, 01:30:40 pm »
Quote
Originally posted by jagator55
make sure you have all the programs updated in that is listed in the howto. it sounds like a compile error.



The only thing with a given Vesion Number is jam. Maybe my \"Jam 2.5rc2\" is too new. I use the Libs from Debian Testing.  

rodier

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #21 on: April 06, 2003, 06:00:45 pm »
about jam.. in makefile is line with ver = version ..

btw > what I can delete after I finish downloading..compiliing..installing Planeshift ?
Win version have 200-300mb ?
I now downloading PS from cvs and my Crystal + CeL sources have 300mb :-(( .. too large..eh ? :)
where Planeshift will be installed and what I can delete ?
can planeshift be installed in /root/planeshift and  all other dirs can i delete ? (ie /root/CS and /root/CS/cel ? )
I think yes.. but I write in bashrc export = /root/CS ...etc as I read in linux howto....
if u don\'t understand my ..  how can I find what is sources and i can delete it  after I finish compiling and installing planeshift with cs/cel ?
or I need it alltimes ?
because cs/cel/ps sources = aprox 400-500mb ?
and cs/cel/ps installed = aprox another 500mb ?
thats too large for me :-(

jagator55

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
(No subject)
« Reply #22 on: April 07, 2003, 04:58:12 am »
Don\'t delete the cel, CS, or planeshift folders. you need them to play

-Robbie

simcop2387

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #23 on: April 07, 2003, 05:06:18 am »
i\'ve gotten everything to compile correctly but i get errors about not having pflinearmovement.so i\'m not sure where its supposed to come from.

jagator55

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
(No subject)
« Reply #24 on: April 07, 2003, 05:10:10 am »
simcop: not sure, try looking in the packaged version from SF.

-Robbie

Skinkie

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #25 on: April 10, 2003, 11:23:12 pm »
here are my compilelogs i got problems with compiling cel en planeshift, i hope someone can help.
http://svi.cs.hro.nl/~skinkie/debug.tar.gz

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #26 on: April 11, 2003, 08:32:59 pm »
I\'ve gotten Planeshift CVS \'MB\' branch as well as HEAD to compile perfectly on my system. It is using CVS of Crystalspace and Cel from yesterday.

If anyone would like to test out .008 as we wait impatiently for a release and official server, let me know and I will host a server.

Contrary to popular belief, the entire CS and CEL CVS repositories are NOT necessary to compile and run Planeshift (that is why header files are installed :-P)

As a quick overview of how my system is set up before compiling Planeshift:

I chose the /opt directory for installing these packages, simply as a matter of preference, it will work the same if you use /usr instead, just be sure to substitute /usr in the places where I put /opt

/opt/crystal contains the entire CrystalSpace installation, essentially I did this:

NOTE!! This tutorial assumes you already know how to check out the CVS of these packages [It is already explained above]


--------------------------------

./configure --prefix=/opt/crystal
make all && make install

--------------------------------


The CrystalSpace Entity Layer files are installed (this is important!) in the /opt/crystal directory as well. I put the .so files in /opt/crystal/lib and the header files (.h) in /opt/crystal/include -- Also, the cel.cex file I placed in /opt/crystal/bin

Instructions as follows:


--------------------------------

./autogen.sh
./configure --prefix=/opt/crystal

CRYSTAL=/opt/crystal jam

sed -i -e \"s:/usr/local/cel:/opt/crystal:g\" cel.cex

for a in `find include -iname \"*.h\"`; do
        install -m 644 -D ${a} /opt/crystal/${a};
done

install -d /opt/crystal/lib
install -c *.so /opt/crystal/lib
install -D celtst /opt/crystal/bin/celtst
install -c -m 644 cel.cex /opt/crystal/bin/cel.cex

--------------------------------


I then of course proceded to compile Planeshift itself, which was just a matter of:


--------------------------------

./configure
jam

--------------------------------


And you can run it by executing psclient.
Of course, you will need the art files, which can be gotten from the Planeshift Linux or Windows binary package.

If you have any questions, let me know!
Also, please if I have put something inaccurately here, tell me and I will fix it. These are almost verbatim commands used in the respective ebuilds that I have created.

dark_chicken

  • Traveller
  • *
  • Posts: 18
    • View Profile
psclient won't run
« Reply #27 on: April 30, 2003, 09:03:54 pm »
I\'m having a problem when trying to start planeshift. I get the error message:

(crystal space and that stuff.)
Mounting maps: dungeon hydlaa podium temple tower.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
Failed pref manager load
Failed to load image list
src/client/paws/pawsmouse.cpp:64: failed assertion \'imageDesc\'
Spårningsfälla

The last thing is in swedish, means something like tracking trap, don\'t know what that means. Anyway, I\'m using CS 0.97, the PS source from the homepage, and Slackware 9.0. PS and CS seemed to compile fine, and pssetup works. Hope you can help me, I don\'t want to miss this great-looking game.
Ingame character is Jiuna. Say hello and give me all your crystals if you see me!

daniel311

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
No iDialogManager plugin!
« Reply #28 on: May 09, 2003, 01:44:17 pm »
This is the output of ./psclient -verbose:

Warning: Failed to load `psgui\'; reason(s):
DLERROR (psgui): .//psgui.so: undefined symbol: _ZN11psComponentC2EP8psDialogi
Warning: Failed to load `psgui\'; reason(s):
DLERROR (psgui): .//psgui.so: undefined symbol: _ZN11psComponentC2EP8psDialogi
WARNING: could not load plugin \'planeshift.gui.dialogmanager\'
Entering fullscreen: win 1024, 768 to fs_mode 1024, 768

block_size: 8192
Mounting maps: dungeon hydlaa podium temple tower.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
planeshift.application.client: No iDialogManager plugin!
planeshift.application.client: Failed to init app!

And here is the output of ./configure-jam in the CS directory:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for flex... no
checking for bison... no
checking for doxygen... no
checking for texi2dvi... no
checking for texi2pdf... no
checking for install... install
checking for ranlib... ranlib
checking for swig... no
checking for luaswig... no
checking how to create a directory... mkdir
checking how to create a directory tree... mkdir -p
checking for nasm... no
checking for perl5... no
checking for perl... perl
checking for perl ExtUtils::Embed module... yes
checking for perl DynaLoader module... yes
checking for python... python
checking for Python SDK... no
checking if Python SDK is usable... no
checking how to enable compilation warnings... -Wall
checking how to treat warnings as errors... -Werror
checking how to disable unknown #pragma warnings... -Wno-unknown-pragmas
checking how to disable C++ exceptions... -fno-exceptions
checking if -multiply_defined suppress is needed... no
checking whether to use CPU-specific instructions... yes
checking for code generation flags... -mcpu=pentiumpro -march=i686
checking how to enable optimizations... -O3
checking if g++ recognizes -fomit-frame-pointer... -fomit-frame-pointer
checking if g++ recognizes -ffast-math... -ffast-math
checking how to enable compiler debug output... -g3
checking checking if -I/usr/local/include is usable... yes
checking for pow in -lm... yes
checking for dlopen in -ldl... yes
checking for gethostbyname in -lnsl... yes
checking for pthread... yes
checking for pthread recursive mutexes... PTHREAD_MUTEX_RECURSIVE
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for libXxf86vm... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for int32... no
checking for windows.h... no
checking for OpenGL... yes
checking for GLU... yes
checking for glut... yes
checking for GLX... yes
checking for GLX extensions... yes
checking for libz... yes
checking for libpng... yes
checking for libjpeg... yes
checking for libmng... yes
checking for libmikmod... yes
checking for libogg... yes
checking for libvorbis... yes
checking for libvorbisfile... yes
checking for lib3ds... yes
checking if lib3ds is sufficiently recent... yes
checking for libode... yes
checking if libode is sufficiently recent... yes
checking for OpenAL... yes
checking for freetype-config... /usr/bin/freetype-config
checking for FreeType - version >= 2.0... yes
checking for libvga... no
checking for libcal3d... yes
checking if plugins require main()... yes
checking whether byte ordering is bigendian... no
checking for bool... yes
checking for stdint.h... (cached) yes
checking whether INT64_C works... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking for socket support... yes
checking for socklen_t... yes
checking for C++ `explicit\' keyword... yes
checking for C++ new-style casts... yes
checking if qsqrt() is usable... no
checking if qint() functions correctly... no
checking whether to enable Linux joystick support... no
checking build mode... optimize
checking if building plugins... yes
checking if enforcing smart pointer strictness... yes
checking whether to use extensive memory debugger... no
configure-jam: creating ./config.status

Please help me, thank you.

ezek

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #29 on: May 14, 2003, 05:59:55 am »
[root@bang-box planeshift]# ./psclient-bin
WARNING: could not load plugin \'crystalspace.documentsystem.xmlread\'
Warning: Failed to load `psgui\'; use \'-verbose\' argument for details.
Warning: Failed to load `psgui\'; use \'-verbose\' argument for details.
WARNING: could not load plugin \'planeshift.gui.dialogmanager\'
crystalspace.canvas.glx2d: Opening GLX2D

crystalspace.canvas.glx2d: Creating Context

crystalspace.canvas.glx2d: Video driver GL/X version (direct renderer)
crystalspace.canvas.glx2d: Visual ID: 21, 24bit TrueColorn
crystalspace.canvas.glx2d: Frame buffer: 32bit
crystalspace.canvas.glx2d: R8:G8:B8:A0,
crystalspace.canvas.glx2d: level 0, double buffered
crystalspace.canvas.glx2d: Depth buffer: 24bit
crystalspace.canvas.openglcommon: OpenGL renderer: GeForce4 MX 420/AGP/SSE/3DNOW! (vendor: NVIDIA Corporation) version 1.4.0 NVIDIA 43.63
crystalspace.canvas.openglcommon: Using windowed mode at resolution 640x480.
crystalspace.graphics3d.opengl: read config for \'nvGeforce\' from /config/glnvgf.cfg
crystalspace.graphics3d.opengl:   Optional Clipping: NNP
crystalspace.graphics3d.opengl:   Required Clipping: 0Pp
crystalspace.graphics3d.opengl:   Outer Clipping: PZ0
crystalspace.graphics3d.opengl: ... using GL_ARB_multitexture
crystalspace.graphics3d.opengl: Using multitexture extension with 2 texture units
crystalspace.graphics3d.opengl: ... using GL_ARB_texture_compression
crystalspace.graphics3d.opengl: ... using GL_ARB_texture_env_combine
crystalspace.graphics3d.opengl: ... using GL_ARB_texture_env_dot3
crystalspace.graphics3d.opengl: ... using GL_ARB_vertex_program
crystalspace.graphics3d.opengl: ... not using GL_EXT_texture_env_combine
crystalspace.graphics3d.opengl: ... not using GL_EXT_texture_env_dot3
crystalspace.graphics3d.opengl: ... using GL_EXT_texture_filter_anisotropic
crystalspace.graphics3d.opengl: ... not using GL_NV_vertex_array_range
crystalspace.graphics3d.opengl: ... using GL_NV_vertex_program
crystalspace.graphics3d.opengl: ... using GL_SGIS_generate_mipmap
crystalspace.graphics3d.opengl:   Maximum texture size is 2048x2048
crystalspace.graphics3d.opengl:   Super lightmaps: max_size=256x256 num=1 16 64 64
crystalspace.sound.software: Software Sound Renderer selected
crystalspace.sound.oss: SoundDriver OSS selected
block_size: 8192
crystalspace.sound.software:   Playing 44100 Hz, 16 bits, Stereo
crystalspace.sound.software:   Volume: 1
Mounting maps: dungeon hydlaa podium temple tower.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
crystalspace.font.freefont2: Could not open fontfile /fonts/ttf/arial.ttf!

        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
Segmentation fault

heh not a good sign