Author Topic: Linux Howto  (Read 34664 times)

Alesh

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #45 on: June 23, 2003, 03:59:39 pm »
Same warnings about iGraphics here, using Mandrake 9.1.

MustangMR

  • Hydlaa Resident
  • *
  • Posts: 128
    • View Profile
(No subject)
« Reply #46 on: June 29, 2003, 11:15:16 pm »
Same error here running Mandrake 9.1.  I looked at psclient.  It looks like it needs to load a number of plug-ins from CrystalSpace.  Theyse don\'t exist though in the build that I got when I downloaded and installed CS.  I followed the directions per the first post on this thread and everything seemed to work okay  The cfg files looks for these first two plugins...

System.PlugIns.iVFS = crystalspace.kernel.vfs

; Video Driver
System.PlugIns.iGraphics3D = crystalspace.graphics3d.opengl


Here\'s a directory of the CS/plugins dirctory.  These two are not listed so it doesn\'t look like they were included in the distibution.

aws/
bugplug/
colldet/
collide/
console/
cscon/
cscript/
cslexan/
csparser/
cssaver/
csstdldr/
culling/
CVS/
device/
documentsystem/
engine/
engseq/
filesys/
font/
iso/
isoldr/
Jamfile
mesh/
meshldr/
meshobj/
metaball/
motion/
movierecorder/
net/
perfstat/
physics/
picogui/
reporter/
sequence/
simpcon/
sound/
stdrep/
terrain/
video/

I did a find for anything with .vfs or .opengl in it and nothing tuned up.  Anyone have any ideas?

warfly

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #47 on: June 30, 2003, 05:45:19 am »
I\'ve successfully compiled and run Planeshift on RedHat 9.0 (actually it\'s Phoebe), but it segfaults after I create a new character (before uploading to the server).

Does anyone have the same problem with me?

Thanks,

Xavier

snail

  • Traveller
  • *
  • Posts: 12
    • View Profile
Help Please
« Reply #48 on: July 11, 2003, 11:18:03 pm »
I cannot get sound OR openGL to work!

What is wrong!!!
4 is not a number...

Thanks In Advance For Reading!!!

                               Snail i Am I...

MaelstromMarr

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Linux 3D/OpenGL references
« Reply #49 on: August 05, 2003, 06:11:44 am »
[Ati]:

First, let\'s start off by mentioning ATI slightly. I have, in the pass, ran some 3D applications with the radeon DRI/DRM driver (on my  7500), however i won\'t go into that (see next url) as it was painfull, i\'m still scared. I\'ve heard that the 8500 has 3D support from ATI, however i\'ve never heard any goods or bads about it. Check the ATI tech site for more on ATI. OR:

Check this site for DRI/DRM X 3D help.
http://dri.sourceforge.net/

Note: radeon 7500 DRI/DRM driver does not support S3TC(texture compression) which is needed for games like UT2003. 8500 status unknown. Nvidia/linux drivers does have support for it.


[NVidia]:

Instead of rewriting everystep, go to the following url\'s for mostly complete info on nvidia linux drivers. Straight from the horses mouth, one might say:

Readme for install/configuring the driver and GLX.
http://ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496/README.txt

You could start from here, there is the download link and theres a link to the readme above.
http://www.nvidia.com/object/linux_display_ia32_1.0-4496.html


[Other cards]:

Goto the DRI/DRM link in the ATI section above. Your card may be supported.



REMEMBER: glxgears command is your friend, once those gears turn really fast (after seeing the nvidia logo on startup - (unless you turned it off)) it will prove your OpenGL/NVidia drivers are working properly.

Any problems or differences from the above info, howto\'s or help.
Consult your distributions website, do a search etc ...


Good Luck.
« Last Edit: August 05, 2003, 06:15:33 am by MaelstromMarr »

Vonderbecke

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Problems with apparently everything
« Reply #50 on: August 11, 2003, 03:55:06 am »
I\'m having problems with everything.  I have current versions of all the required libs/apps/etc listed and when I CVS download crystal, cel, and planeshift i get all kinds of \"failed\"s when running jam.  The majority of the cel compiles fail, i think 9 skipped, 1 updated, 42 failed.  When looking back through the compile it doesn\'t give any reasons or anything for the fail.  Planeshift I get the same thing.  When all is said and done and I run ./psclient after ./updater it just says
./psclient: Line 52: src/client/psclient: No Such File or Directory

Checking src/client gives no psclient file at all.  Any ideas?

Kundalf

  • Hydlaa Resident
  • *
  • Posts: 175
    • View Profile
(No subject)
« Reply #51 on: August 11, 2003, 11:02:24 am »
first you need to compile CS if you use the -k option all parts, thtat can\'t be compiled are skipped. So a good thing to start is to run the configure script again and look for missing libraries and programs.

If you have compiled CS from cvs and cel, I think you need to do a \"make cs-config\" in the CS dir and copy that file to the cel dir. Then you either need to compile cel agian or do a \"jam plugins\"  or something like that, to get the necessary plugins. (Maybe this is described somewhere meanwihle, it wasn\'t when I compiled it the first time)

Don\'t forget the correct environment variables (CRYSTAL and CEL). Be sure you have the correct permissions to everything (CS, cel, PS files). Try to run it with root permissions first, to check that out.


about that psclient not found error. I think the file is somewhere (if the compilation worked). You just need to change the appropriate line in \"psclient\" to direct to the correct location of the file. Idon\'t remember, where exactly that was, but it solved the problem for me once.
-- take care --
 

visit my favored site  ;)

Vonderbecke

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #52 on: August 11, 2003, 05:45:08 pm »
Still a no go, went back through and did make clean (or jam clean) on all the directories, then started from scratch, after doing the ./configure on CS, I apt-get\'d all the libs and dev packages i was missing, then ran ./configure again so that it had *everything* it needed.  Then I did the entire CS step and made sure to copy cs-config to the $CEL directory.  Then I went to cel and did the configure and made sure I had everything - which I did.  I did the steps for that too and when running Jam it failed 11 targets, and skipped 9, updated 42.  So then I move on  to planeshift since I have no clue why jam would have failed on cel for so many targets considering i had everything needed as far as i could tell.

On planeshift, the jam gave even more problems:
LinkApplication updater
...failed updating 57 target(s)...
...skipped 10 target(s)...
...updated 92 target(s)...

And now i don\'t even HAVE a ./psclient file in the planeshift directory so I have no executable to run at all :(

So basically, I have all the libs/etc I should need to compile everything but everything seems to fail.  Any other ideas?

Asterik

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #53 on: September 06, 2003, 06:42:46 am »
ok i did everything and i get to the Planeshift window and the art background but NO MENU :( and i get this error:

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.
crystalspace.awsprefs: Could not load image \'/planeshift/art/gui/invback.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/minimize.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/zoom.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/close.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/chkup.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/chkdn.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/chkon.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/chkoff.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/radup.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/raddn.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/radon.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/radoff.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treecol.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treeexp.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treecol.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treevl.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treehl.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treechke.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treechkf.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treegrpe.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/treegrpf.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/sbup.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/sbdn.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/sbrt.png\'. Unknown format or wrong extension!
crystalspace.awsprefs: Could not load image \'/aws/sblt.png\'. Unknown format or wrong extension!
planeshift.application.client: psEngine initialized.
Warning: Failed to load `plimp\'; use \'-verbose\' argument for details.
Warning: Failed to load `plimp\'; use \'-verbose\' argument for details.
crystalspace.pluginmgr.loadplugin: WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.
Constructing psdWarning: 0x8251908
crystalspace.maploader.parse.image: Could not load image \'/planeshift/art/buttons/up.png\'. Unknown format!
Couldn\'t create Resource \'up.png\'
crystalspace.maploader.parse.image: Could not load image \'/planeshift/art/backdrop/popup17.png\'. Unknown format!
Couldn\'t create Resource \'popup17.png\'
Destructing Warning: 0x8251908
crystalspace.maploader.parse.image: Could not load image \'/planeshift/art/buttons/iblue_u.png\'. Unknown format!
Couldn\'t create Resource \'iblue_u.png\'
Failed to initialize window \'menu\'.
Couldn\'t activate/create dialog \'menu\'

Im on slackware 9
« Last Edit: September 06, 2003, 06:43:12 am by Asterik »

Vengeance

  • Veteran
  • *
  • Posts: 1452
    • View Profile
(No subject)
« Reply #54 on: September 11, 2003, 07:10:23 am »
No one has figured out png support in CS on Slackware.  And many have tried.

blaharm

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #55 on: September 11, 2003, 06:17:11 pm »
My png support for CS and PS works fine in Slackware

I downloaded the latest libpng slack pack and it worked

Null_Void

  • Traveller
  • *
  • Posts: 11
    • View Profile
Linux compile
« Reply #56 on: September 13, 2003, 06:53:29 pm »
Okay, I am determined to get this to work.  I\'ve been going about this in a strange way, and it\'s probably not correct.  But I\'ve got bits and pieces working for now.

I was having the same trouble with the pre-compiled binaries, so I grabbed the latest big source package.  The build got stuck on the aws plugin and wouldn\'t finish.  I believe flex could not properly parse some input file... sllex or something to that effect.  I didn\'t remember enough about creating parsers to fix it myself.

So I got the latest source tarball for CS and compiled it.  CS itself worked great, but cel would not compile using anything above 0.96-001.

So, I went and grabbed the original 0.96-001 tarball.  That compiled, but there were two problems.  First, it didn\'t link stuff correctly.  I had to change line 87 of CS/libs/cssys/unix/unix.mak from

LFLAGS.DLL = -Wl, -shared Wl, -soname Wl,$@
or whatever it was, to
LFLAGS.DLL = -shared Wl, -soname Wl,$@

I can\'t take credit for that... someone posted it on a mandrake board.

The other problem I was having was that it was not properly detecting my png library or some of my gl libraries, and thus, not building them the appropriate plugins.  I copied over the configure stuff and the whole mk directory from the \'official source package\' and re-ran configure.  It seemed to work.  After compiling, the blocks test program worked.  I don\'t know if this is what one is \'supposed\' to do, but it seems to have worked for now.

Anyway, next, cel.  The cel that was bundled with the source package would no longer compile, so I downloaded the version of cel that was originally released to work with 0.96-001.  It compiled!

Now, I just need to get the planeshift client itself to compile...

The reason I\'m posting this, is so that anyone who knows that any of the stuff I\'ve tried may break things down the road can tell me so I can give up now.  ;)  Looks like a neat game, I\'d really like to play it.
« Last Edit: September 13, 2003, 07:05:34 pm by Null_Void »

Null_Void

  • Traveller
  • *
  • Posts: 11
    • View Profile
Oops
« Reply #57 on: September 13, 2003, 07:25:48 pm »
Okay, so that won\'t work.  The latest version of the planeshift client won\'t compile with the older version of CS.

Edit:  I\'m dumb and didn\'t see the other thread on linux installs.
« Last Edit: September 13, 2003, 09:37:18 pm by Null_Void »

Asterik

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #58 on: September 13, 2003, 11:44:49 pm »
i d/led the latest libpng and it still dint\' work :(

Elexier

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #59 on: September 23, 2003, 12:54:22 pm »
Hello,
since 2 days i try to get it run but without any succsess, it would be nice if i can get help.

downloded and installed jam
wget  -t0 -c http://public.perforce.com/public/jam/jam-2.5.tar
ln -s /mnt/bigdata/compile/jam-2.5/bin.linuxx86/jam /usr/bin/jam
jam -v
Jam 2.5rc3. OS=LINUX. Copyright 1993-2002 Christopher Seiwald

the same with CS
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal co -rPRE_THING_FACTORIES CS
export CRYSTAL=/mnt/bigdata/compile/CS
./walktest --recalc --relight
is running fine

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cel login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cel co cel
export CSCONFPATH=/mnt/bigdata/compile/cel
./configure
jam
...found 278 target(s)...
...updating 22 target(s)...

....and now iam receiving alot of errormessages
some exmaples

-----
C++ ./out/linuxx86/optimize/plugins/propclass/common/stdpcimp.o
plugins/propclass/common/stdpcimp.cpp: In method `bool celPcCommon::RemovePropertyChangeCallback(iCelPropertyChangeCallback *)\':
plugins/propclass/common/stdpcimp.cpp:78: no matching function for call to `csRefArray::DeleteIndex (int &)\'

    g++ -c -o ./out/linuxx86/optimize/plugins/propclass/common/stdpcimp.o -I/mnt/bigdata/compile/CS/include     -Wall   -O3  -I. -I./include plugins/propclass/common/stdpcimp.cpp

...failed C++ ./out/linuxx86/optimize/plugins/propclass/common/stdpcimp.o ...
...skipped libcelcommon.a for lack of libcelcommon.a(stdpcimp.o)...
C++ ./out/linuxx86/optimize/plugins/stdphyslayer/entity.o
In file included from plugins/stdphyslayer/entity.h:26,
                 from plugins/stdphyslayer/entity.cpp:23:
plugins/stdphyslayer/pl.h:40: syntax error before `;\'
plugins/stdphyslayer/entity.cpp: In method `bool celEntityList::Remove(iCelEntity *)\':
plugins/stdphyslayer/entity.cpp:107: no matching function for call to `csRefArray::DeleteIndex (int &)\'
plugins/stdphyslayer/entity.cpp: In method `bool celEntityList::Remove(int)\':
plugins/stdphyslayer/entity.cpp:118: no matching function for call to `csRefArray::DeleteIndex (int &)\'

    g++ -c -o ./out/linuxx86/optimize/plugins/stdphyslayer/entity.o -I/mnt/bigdata/compile/CS/include     -Wall   -O3  -I. -I./include plugins/stdphyslayer/entity.cpp

...failed C++ ./out/linuxx86/optimize/plugins/stdphyslayer/entity.o ...
C++ ./out/linuxx86/optimize/plugins/stdphyslayer/pl.o
In file included from plugins/stdphyslayer/pl.cpp:23:
plugins/stdphyslayer/pl.h:40: syntax error before `;\'
plugins/stdphyslayer/pl.cpp: In method `celPlLayer::~celPlLayer()\':
plugins/stdphyslayer/pl.cpp:78: `removecallbacks\' undeclared (first use this function)
plugins/stdphyslayer/pl.cpp:78: (Each undeclared identifier is reported only once
plugins/stdphyslayer/pl.cpp:78: for each function it appears in.)
plugins/stdphyslayer/pl.cpp: In method `class csPtr celPlLayer::FindNearbyEntities(iSector *, const csVector3 &, float)\':
plugins/stdphyslayer/pl.cpp:291: `iMeshWrapperIterator\' undeclared (first use this function)
plugins/stdphyslayer/pl.cpp:291: template argument 1 is invalid
plugins/stdphyslayer/pl.cpp:291: ANSI C++ forbids declaration `objit\' with no type
plugins/stdphyslayer/pl.cpp:292: no matching function for call to `iEngine::GetNearbyMeshes (iSector *&, const csVector3 &, float &)\'
plugins/stdphyslayer/pl.cpp:293: base operand of `->\' is not a pointer
plugins/stdphyslayer/pl.cpp:295: base operand of `->\' is not a pointer
plugins/stdphyslayer/pl.cpp: In method `void celPlLayer::Uncache(iBase *)\':
plugins/stdphyslayer/pl.cpp:391: no matching function for call to `csRefArray::DeleteIndex (int &)\'

    g++ -c -o ./out/linuxx86/optimize/plugins/stdphyslayer/pl.o -I/mnt/bigdata/compile/CS/include     -Wall   -O3  -I. -I./include plugins/stdphyslayer/pl.cpp

...failed C++ ./out/linuxx86/optimize/plugins/stdphyslayer/pl.o ...
C++ ./out/linuxx86/optimize/plugins/stdphyslayer/propclas.o
plugins/stdphyslayer/propclas.cpp: In method `bool celPropertyClassList::Remove(iCelPropertyClass *)\':
plugins/stdphyslayer/propclas.cpp:71: no matching function for call to `csRefArray::DeleteIndex (int &)\'
plugins/stdphyslayer/propclas.cpp: In method `bool celPropertyClassList::Remove(int)\':
plugins/stdphyslayer/propclas.cpp:81: no matching function for call to `csRefArray::DeleteIndex (int &)\'

    g++ -c -o ./out/linuxx86/optimize/plugins/stdphyslayer/propclas.o -I/mnt/bigdata/compile/CS/include     -Wall   -O3  -I. -I./include plugins/stdphyslayer/propclas.cpp
--------

...failed updating 12 target(s)...
...skipped 10 target(s)...

is there anybody outhere with a clue ? :)