PlaneShift

Support => Linux Specific Issues => Topic started by: Termon Winterwalker on June 14, 2005, 09:47:57 pm

Title: Bugs in Gentoo Build Guide
Post by: Termon Winterwalker on June 14, 2005, 09:47:57 pm
There are some commands with a wrong syntax in the guide under:
http://laanx.fragnetics.com/index.php?page=build_gentoo
All the cvs \"checkout\" or \"co\" commands won\'t work as written there.

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d co cal3d -D 2005-05-18 12:00:00

This won\'t work because firstly the \"-D\" option has to come in front of the \"cal3d\" parameter and secondly because the shell won\'t recognize \"2005-05-18 12:00:00\" as a single command paramet but two different parameters due to the space in between.

Correct would be in this case:

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d co -D \"2005-05-18 12:00:00\" cal3d

According to the cvs manual:
cvs [ global_options ] command [ command_options ] [ command_args ]

and the checkout synopsis:
checkout [options] modules?

Greet,
Termon
Title:
Post by: Ralas on June 15, 2005, 12:35:57 am
Thank you for posting this correction.  This issue has caused me some confusion in the past.  Hopefully the guide will be edited . . .
Title:
Post by: Termon Winterwalker on June 15, 2005, 12:11:00 pm
Still having problems with it... I can\'t compile it yet. Maybe I am gonna try just 2005-05-19 as some suggested.

But maybe it is an application missing or my CFLAGS or CXXFLAGS set to a too high optimization. (They are both to \"-march=athlon-xp -pipe -O3\", maybe a little too much)

Gonna try again tonight and report how I did it once I got it.
Title:
Post by: Xordan on June 15, 2005, 12:58:41 pm
Your CFLAGS aren\'t what I\'d call a high optimization :) Everything should compile fine with those.
Title:
Post by: Termon Winterwalker on June 15, 2005, 01:02:45 pm
Well, I don\'t know what these flags do exactly, but I thought, while the -march=athlon-xp does nothing but optimize register accesss for athlon processors and pipe just makes the compilation faster the -O3 was quite a serious optimazation. *shrug*
Well, if it is not that, what is is then I wonder... there were some mistakes leading to psclient not being compiled...
Title:
Post by: Xordan on June 15, 2005, 01:54:23 pm
-O3 is pretty standard, although most people like to use -O2. Crystalspace automatically uses -O3 plus loads of extra flags like -ffast-math and -fvisibility-inlines-hidden which aren\'t very sane for general apps. So flags definatly aren\'t your problem.
Title:
Post by: Ralas on June 15, 2005, 08:43:07 pm
Hm, I have never had this problem, except for when I was using bad source code.  A friend of mine had it, though, and we couldn\'t figure out why.  Try jam psclient and see why it\'s not building.
Title:
Post by: Termon Winterwalker on June 15, 2005, 11:49:07 pm
I just did what the guys in the tech forums suggested, use 2005-05-19 as date.
That worked. I can play the game, though all the toolbar and the different windows are missing. I guess it is just a missing link, though.
Title:
Post by: Ralas on June 15, 2005, 11:54:10 pm
sounds like a skin problem.  In pssetup, click skins, and make sure you\'re not using the one called CVS.  That one doesn\'t work (though it uses an older splashscreen from MB that I think I like better).
Title:
Post by: Termon Winterwalker on June 16, 2005, 12:10:06 am
Thanks, works perfect now.