PlaneShift

Support => Linux Specific Issues => Topic started by: malverian on May 19, 2005, 05:35:56 am

Title: Easy way to install Planeshift
Post by: malverian on May 19, 2005, 05:35:56 am
For those of you having difficulty compiling Planeshift on your own, I\'ve created a simple set of build scripts to automate the process. The scripts do the following:

- Checks for necessary dependencies
- Retrieve cal3d, crystalspace, cel and planeshift from CVS
- Compile all 4 programs to a local sandbox (no root access needed)
- Provides a wrapper script for running planeshift and settng proper environment variables

The scripts have been tested on x86 and x86_64 Gentoo, please feel free to contact me on irc in #planeshift-build if you have any problems, or reply to this thread.

You can get the latest version of the scripts here:
http://snafu.rabidgeek.com/~malverian/misc/easy_planeshift-1.2.tar.gz

Be sure to read the README file before proceding. For a primer, see the \"QUICK START\" section.

LATEST BUILD SCRIPT VERSION: 1.2

Just so people understand, to upgrade the scripts quickly when a new version is released all you have to do If you are in the directory with \"build\" and \"psrun\" is:

--------------------
cd ..
wget http://snafu.rabidgeek.com/~malverian/misc/easy_planeshift/easy_planeshift.tar.gz
tar -xvzf easy_planeshift.tar.gz
cd easy_planeshift
./build -version
--------------------

You do NOT have to rerun \"./build\" to be able to continue playing Planeshift.


*** Include the output of \"./build -diagnose\" when reporting problems


UPDATE: Ebuilds for Planeshift 0.3.011 are in Gentoo portage. Please see his thread for details: http://www.planeshift3d.com/wbboard/thread.php?threadid=18931&boardid=41&styleid=4
Title: Start me off
Post by: stiing on May 20, 2005, 12:37:31 am
I am really new to linux and would like to give this game a shot under Ubuntu AMD64 version. I realize you have created a script to install the game; however, what is the command to launch the script. Thank you
Title:
Post by: malverian on May 20, 2005, 01:03:00 am
Please read the included file \"README\" from the tarball.

Note however that currently there are problems with Planeshift that cause the game to crash frequently on AMD64 machines.
Title:
Post by: oscar on May 20, 2005, 09:07:45 pm
Quote
Originally posted by malverian
NOTE! The binary installer on the website is out of date and does NOT work! The guides on Laanx are also out of date. See below for the fix.

You can get the latest version of the scripts here:
http://snafu.rabidgeek.com/~malverian/misc/easy_planeshift.tar.gz

Be sure to read the README file before proceding. For a primer, see the \"QUICK START\" section.


Hi,

The scripts look really fine. There was only one small glitch.
When checking automake version:
./check_deps.sh: line 57: [: 4-p6: integer expression expected
1.4-p6

Debian\'s (SID) automake-1.4 has a non integer minor version :)
I don\'t really know how it could be intelligently worked around.
Anyway it\'s cosmetic since the build commences undisturbed. The script is unable to detect the incorrect automake version.

No I figured one way. It would be to truncate the version number after a digit_dot_digit sequence. 1.4-p6 would become 1.4
perl -e \'$line=<>; if($line=~/(\\d\\.\\d)/){print \"$1\\n\"}\'
This does it. probably possible in sed too.
Title:
Post by: lynx_lupo on May 21, 2005, 10:14:09 am
Odd, i looked that up, and in a shell, I couldn\'t make the line work, it always output more lines. So I added a head in there and another sed expression to cut anything else out:
autotool_version=`$autotool --version | grep \"^$autotool\" | head -n1 | sed -e \'s/.* //\'` -e \'s/-.*$//\'
Title:
Post by: malverian on May 21, 2005, 03:34:07 pm
Very good catch from both of you. I have adjusted the scripts to accomodate your fixes. I tossed out the grep, as it is essentially pointless if using head. That was certainly a better way to do it to begin with. I also fixed the psrun script so that you can run it without being in its directory. Eg... \"/home/john/easy_planeshift/psrun psclient\". Just redownload and reextract the package over your current easy_planeshift directory. It won\'t overwrite anything vital.

Let me know if you\'ve got any more suggestions or run into any problems. I\'ve got a working autopackage (http://www.autopackage.org) package set up with the binaries in it, but I\'m debating over where I should host it. My bandwidth is limited.

Perhaps I will include the package generation script with the easy_planeshift release.
Title: errors
Post by: Anarstormae on May 21, 2005, 06:04:46 pm
I had a problem with it trying to install binaries into:

./scripts/binaries

which caused the build to fail after crystalspace because configure would refuse to accept a relative pathname for --prefix.

I fixed this by hardcoding the pathname into line 8 of compile_all.sh and of course I had to update the equivelant line in psrun

Also, I had to change the value assigned to the CRYSTAL environment variable in psrun from:

${BinDir}/crystalspace/lib/crystal

to:

${BinDir}/crystalspace/lib/crystalspace


It seems to work now (touchwood). Updater is running as a type this...
Title:
Post by: malverian on May 21, 2005, 06:26:47 pm
Curious how this was working at all! Thanks for pointing that out.. I fixed this problem in the tarball.
Title: Failed to load plugin
Post by: Baghe on May 21, 2005, 08:06:23 pm
I managed to build PS on mandrake 10.0 setting this environment variable (otherwise i cannot buid cal3d):
export WANT_AUTOCONF=2.5
ran the updater without glitches,  i can see the splash screen (same picture and same music as before BTW?), but then it stops saying:

  psEngine initialized.
Creating psnetconnection 85b0e58!

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.

Any hint?
Thanks
Title:
Post by: malverian on May 21, 2005, 08:13:00 pm
Are you using the \"psrun\" script to run the client? Eg... \"./psrun psclient\".
Title: could'nt load plugin
Post by: Baghe on May 21, 2005, 08:47:39 pm
Yes i\'m using your script.

I\'m currently rebuilding the whole stuff with your new script,  i have some problems regarding the automake version, mandrake has a perl script that \"should\"  detect the correct version of automake to use,  this may fail,  and this could  be the reason...
I tell you later
Title:
Post by: Kolarn on May 22, 2005, 01:23:47 am
I am getting the following error after running ./build -initial.

Performing step scripts/compile_all.sh...
scripts/compile_all.sh: line 8: unexpected EOF while looking for matching ``\'
scripts/compile_all.sh: line 87: syntax error: unexpected end of file
scripts/compile_all.sh failed, exiting
Title:
Post by: lethe on May 22, 2005, 01:33:01 am
did you download the file with windows?
Title:
Post by: malverian on May 22, 2005, 02:54:37 am
Alright, I\'m going to start versioning these things so I can tell if I\'ve fixed the problem already. Everyone, I give you easy_planeshift.tar.gz with \"./build -version\" command.

http://snafu.rabidgeek.com/~malverian/misc/easy_planeshift.tar.gz

(edited)
Title:
Post by: AndyAWS on May 22, 2005, 03:36:26 am
Quote
http://snafu.rabidgeek.com/~malverian/misc/easy_planeshift-0.1.tar.gz


File not found.....
Title:
Post by: Mephij on May 22, 2005, 06:30:34 am
First time I built I was getting segfaults when trying to run pssetup (using psrun) and updater. And psclient was not initializing because it couldnt find some files (odd...). I\'m rebuilding now and I\'ll see how it goes.
Title:
Post by: malverian on May 22, 2005, 07:35:07 am
I decided to screw that idea.. just use the original URL. You can use \"./build -version\" to see what version you have.
Title:
Post by: malverian on May 22, 2005, 07:36:54 am
Mephij, did you use \"./psrun updater -auto\" ? The -auto part is important and will not work without that flag at first. Also, psclient and pssetup will not work until you do this.
Title:
Post by: Mephij on May 22, 2005, 08:08:45 am
I did do -auto. It appeared to complete successfully.

Here is the relevant output from when I try to run \"psrun psclient\":

Code: [Select]

LoadPrefFile
:
  Could not load font: >/planeshift/data/ttf/verdana.ttf<

PawsManager
:
  Failed to load prefsFile \'/this/data/prefs.xml\'
Skipping \'radiooff\' because it\'s already loaded
Skipping \'radioon\' because it\'s already loaded

LoadAttributes
:
  Could not load font: >/planeshift/data/ttf/cupandtalon.ttf<

LoadChildren
:
  Failed to load child widget

LoadWidget
:
  Widget OkWindow failed to load pawsOkBox

LoadWidget
:
  Could not load child widget in file /this/data/gui/ok.xml

planeshift.application.client:
  Failed to init app!
Title:
Post by: kealaulu on May 22, 2005, 12:20:45 pm
Quote
Originally posted by Kolarn
I am getting the following error after running ./build -initial.

Performing step scripts/compile_all.sh...
scripts/compile_all.sh: line 8: unexpected EOF while looking for matching ``\'
scripts/compile_all.sh: line 87: syntax error: unexpected end of file
scripts/compile_all.sh failed, exiting


I\'m getting the exact same error. To answer your question lethe, no, I didn\'t download it with windows. I\'m running Mandrake 2005 LE and I did the best I knew how to make sure I have the required dependancies.

----------------
Bit later
----------------

Looked in the file compile_all.sh and what do ya know? Line 8 is obviously missing a ` at the end of it. After putting that back in and running ./build (without the -initial this time since I already got through that part before) things seem to be running fine so far. Will edit this again if I have any further problems.

----------------
...later still
...................
doh! things seemed to be going pretty well, but then I ran into the following.

----------------------------
Compiling cal3d...
----------------------------
Running \'aclocal-1.9 \'
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
  run info \'(automake1.8)Extending aclocal\'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/g-wrap.m4:7: warning: underquoted definition of AC_GWRAP_CHECK_GUILE
/usr/share/aclocal/g-wrap.m4:23: warning: underquoted definition of AM_PATH_GWRAP
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
Running \'autoheader\'
Running \'libtoolize --force\'
Running \'automake-1.9 --add-missing --force-missing --copy\'
configure.in: installing `./install-sh\'
configure.in: installing `./missing\'
src/cal3d/Makefile.am: installing `./depcomp\'
Running \'autoconf \'

Now run ./configure and make.

configure: error: expected an absolute directory name for --prefix: scripts/compile_all.sh/cal3d
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install\'.  Stop.
----------------------------
Compiling crystalspace...
----------------------------
configure: error: expected an absolute directory name for --prefix: scripts/compile_all.sh/crystalspace
Jamfile: No such file or directory
...found 1 target(s)...
Jamfile: No such file or directory
....
[more of the same sort of output deleted here for brevity since the solution to this problem is covered in the next poster\'s reply]

At this point I plan to go into each of the project folders and just try to ./configure and make them manually. Hope it works.

Thanks for the great scripts. Very helpful for at least getting the source and getting a start on building. I\'ll look forward to when the little bugs get squashed. :-)

-----------
final update for night
-----------

got it all to build, but in the end there was no \"updater\" file to run when I tried ./psrun updater -auto

must.....get....sleep :-/ will try again tomorrow I guess.
Title:
Post by: Baghe on May 22, 2005, 12:53:57 pm
You have to correct a typo in the scripts/compile_all.sh:
OutPutDir=`dirname \"$0\"`/binaries
instead of:
OutPutDir=`dirname \"$0\"/binaries`
This corrects the EOF thing

Anyway i had to coment out this line putting instead the following line
at the beginning of the build script:

export OutPutDir=`pwd`/binaries

as the configure scripts would\'nt accept relative paths

As for the automake things, you should maybe look in /etc/alternatives to point the symlink toward /usr/bin/automake-1.8 instead of /usr/bin/automake-1.4 (or whatever you have, i\'m running mdk 10.0)

it\'s compiling right now, ... crossing fingers
Title:
Post by: AndyAWS on May 22, 2005, 04:34:42 pm
Quote
Originally posted by Baghe
As for the automake things, you should maybe look in /etc/alternatives to point the symlink toward /usr/bin/automake-1.8 instead of /usr/bin/automake-1.4 (or whatever you have, i\'m running mdk 10.0)


Mine points to 1.9....will that work ok?

Has anyone got this to work yet?
I don\'t want to go through another 4 hours of CVS downloading and compiling until someone can confirm that it works.
Title:
Post by: malverian on May 22, 2005, 05:19:08 pm
Sorry guys, I made a fix without testing it when I packaged my newest version. I made it so that it would be possible to run the build script from any directory. Firstly it was wrong, and secondly I forgot the last `. I\'ve updated the tarball, you should see 0.2 when you do \'./build -version\'

This should fix all of your problems. Also, if you have already done \'./build -initial\' once.. save yourself alot of time and just do \'./build\'. I tested the build process and it works fine now (as it did before I screwed it up with the latest release)

My bad guys! I\'m sorry for the inconvenience. I should have tested that build before I released the new version.
Title:
Post by: AndyAWS on May 22, 2005, 05:29:52 pm
./build -version Still says 0.1 here.

Also it says 0.1 in the readme...and looking at the script I can see it hasn\'t changed.

Is the new version uploaded yet?
Title:
Post by: AndyAWS on May 22, 2005, 05:30:49 pm
Also don\'t be so hard on yourself...you are doing us a favor.
Title:
Post by: AndyAWS on May 22, 2005, 05:32:59 pm
Nevermind...looks like the new one is up now...thanks...trying it...
Title:
Post by: malverian on May 22, 2005, 05:39:48 pm
It should be up, are you getting the tarball at http://snafu.rabidgeek.com/~malverian/misc/easy_planeshift.tar.gz ? Perhaps try redownloading?

(edited to fix url)
Title:
Post by: EsRyn on May 22, 2005, 05:49:21 pm
http://snafu.rabidgeek.com/~malverian/easy_planeshift.tar.gz
gives a 404 file not found error
are you sure it is there? previous versions were at
http://snafu.rabidgeek.com/~malverian/misc/easy_planeshift.tar.gz
Title:
Post by: Baghe on May 22, 2005, 05:55:25 pm
OK, i\'m currently doing the psrun updater -auto step, it\'s reallly long!
Is there a way to avoid this step in the future since i\'va already done it once?
I mean, can i just backup and copy the files the updater has downloaded?
do i have to run the updater every time i build the whole stuff?
(i commented out some lines in  your script to avoid erasing and re updating the art files, but i havent been able to make the game run )
 Thanks
Title:
Post by: malverian on May 22, 2005, 06:12:55 pm
As long as you use \"./build\" instead of \"./build -initial\" when building the client after the first time, it should not overwrite your art files. Although at the moment it does overwrite your configs. Perhaps this is something I\'ll fix in the future.

Also, EsRyn, you are correct. I\'ve updated my post to use the right URL. It is early and last night was a long night :)
Title:
Post by: jayc on May 22, 2005, 08:29:41 pm
Thanks for scripting all of this. :)

I updated all the art files but when I try to run the client, I get this:

jay@desktop:~/easy_planeshift$ ./psrun psclient
WARNING: could not load plugin \'crystalspace.graphics2d.glx\'
Error loading Graphics2D plugin.
WARNING: failed to initialize plugin \'crystalspace.graphics3d.opengl\'
No 3D driver!
psclient:  No 3d driver (iGraphics3D) plugin!

3D is working fine though.  Any ideas?

Edit:  Oops I see now there\'s a thread about this.  I\'m guessing this was because I didn\'t have my nvidia headers installed.  (apt-get install nvidia-glx-dev).  Rebuilding now.
Title:
Post by: AndyAWS on May 22, 2005, 09:14:11 pm
Well, the build seems to have worked as far as I can tell, I didn\'t watch it the whole time.

The updater is running now, there were some warnings in the beginning about not finding critical files (server only)...I assume that means it couldn\'t find files the server would need, which is fine...right?
Title:
Post by: uteck on May 22, 2005, 10:11:20 pm
I see that my box also had /etc/alternitives/automake pointing to automake-1.4.  Perhaps it will run after rebuilding it.  Building it with 1.4 I can\'t get the client to start.

bil@supertoy:~/games/Planeshift/easy_planeshift$ ./psrun updater -auto
Warning, can\'t find paths for win or mac or linux updater application! (Server only)
Critical files () not found (Server only)
NOTIFY: psUpdaterEngine initialized.
Downloading registry...
0%....25%....50%....75%....100%
Loaded registry
Checking for updates.. This may take a while
Warning: Couldn\'t find module \'other_os\' in registry.
All files are up-to-date!
Please wait while saving files..
==== Update complete ====
bil@supertoy:~/games/Planeshift/easy_planeshift$ ./psrun psclient
./psrun: line 16: ./psclient: No such file or directory
bil@supertoy:~/games/Planeshift/easy_planeshift$  

Or is this a different problem?  By the way, the box is Libranet 3.0, 2.6.11 kernel with Xorg 6.8.1.
Title: 2 problems, related?
Post by: kealaulu on May 22, 2005, 10:13:21 pm
Am I the only one getting the following error during the planeshift portion of the ./build?

C++ ./out/linuxx86/optimize/src/npcclient/pathfind.o
src/npcclient/pathfind.cpp: In function `typename csList::Iterator FindInList(csList&, T&) [with T = psANode*]\':
src/npcclient/pathfind.cpp:583:   instantiated from here
src/npcclient/pathfind.cpp:576: error: dependent-name ` csList::Iterator\' isparsed as a non-type, but instantiation yields a type
src/npcclient/pathfind.cpp:576: note: say `typename  csList::Iterator\' if a type is meant


I can make it work, seemingly, by changing line 576 of pathfind.cpp from
    return csList::Iterator();
to
    return typename csList::Iterator();

but this feels like a kludge to me. Might it be my version of gcc? I\'m using 3.4.3 and seem to have all of the dependencies.

Also, when my build completes I still have no \'updater\' file in my binaries/planeshift folder, so ./psrun updater -auto isn\'t working for me. :-(

I just downloaded the new 0.3 tarball and am considering running the whole thing all over (third time). Sure hope it works....

Again thanks for the help. I\'d have never gotten even this far without the great scripts. Sure wish I knew what I was doing wrong though...
Title:
Post by: AndyAWS on May 22, 2005, 10:28:26 pm
0.3??

Does that mean my 0.2 build that is almost done updateing isn\'t going to work?
Title:
Post by: malverian on May 22, 2005, 11:10:11 pm
jayc, I will note this in the README for future release. Thanks.

uteck, can you join #planeshift-build on irc.freenode.net or private message me so I can help you with your problem? That would make things a bit easier to troubleshoot.

kealaulu, that error happens for everyone and shouldn\'t affect your ability to use Planeshift. It\'s simply some example binary for running an NPC (used if you host a server and need non-player characters). Your problem with not having the updater binary I cannot describe. I also recommend you join me in #planeshift-build irc channel for more abrupt assistance.

AndyAWS, 0.2 should still work fine. The only changes with 0.3 were some changes to the wrapper scripts and such.. (minor). Also, as mentioned before you can extract new versions of the build scripts over your current easy_planeshift directory and it will not require you to rebuild from scratch.
Title: worked! (?)
Post by: kealaulu on May 22, 2005, 11:45:51 pm
Sweet, finally seem to have a build that\'s worked, least as far as the updater appearing for me. Running that now.

Will look to join the IRC if/when I have further problems with it. Thanks much for the help.

Not sure why updater didn\'t build at first. But I did install the devel version of libcurl which I\'d apparently overlooked (had non-devel installed). Perhaps that caused the problem? Dunno.
Title:
Post by: malverian on May 23, 2005, 12:50:12 am
Yeah, not having libcurl dev libs would definitely do it :) The updater uses libcurl
Title:
Post by: AndyAWS on May 23, 2005, 04:13:20 am
I\'m getting this when I run ./psrun psclient

./psrun: line 16: 20427 Segmentation fault      ./$@

The planeshift screen flashes for a second and dies.

if i go to easy_planeshift/binaries/planeshift/ and run ./psclient

The screen stays up but the bar across the bottom does nothing and I get:

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.


Also the music plays fine.
Title:
Post by: AndyAWS on May 23, 2005, 04:28:50 am
OK, it seems to be a random thing...if I keep trying \"./psrun psclient\" eventually it runs.

I can log in, then I get to character creation, and it\'s \"Waiting On Server Data\" forever.

I had the same problem with the previous verion, and I was hoping the new client would fix the problem.

Working through it before I had eliminated any firewall problems and I was told that packets were getting lost somewhere.

As far as I can tell this problem has affected other people..Linux and Win...and the commomality seems to be using a DSL modem  through a router.

Like I said I was hoping the new server would work...I\'m not sure I want to bother putting any more time into this.
Title:
Post by: malverian on May 23, 2005, 04:58:09 am
Andy, this is an odd problem and it does seem like many others are running into it. Apparently there are times when they can log in and play fine. But it only lets them get to the point of logging in once every 20-30 tries.

This is a problem I think we should try to help the Planeshift developer team fix. If you can provide any more specific information, please do so. Perhaps we should start a new thread to address this issue fully as I don\'t believe there is anything else I can do with my scripts to resolve this.
Title:
Post by: malverian on May 23, 2005, 05:00:28 am
New version of build scripts (0.4). Upgrade is optional, simply cleans up the way running \"./build\" works after the first time (clears out object files first).

I\'ve also created a new option \"./build -diagnose\" that you can use to help me understand more about your system when there are problems.
Title:
Post by: malverian on May 23, 2005, 05:11:46 am
Okay, I know this is ridiculous, but I give you all 0.5. You can now build using \"./build -debug\" to compile with debugging symbols. This will help the planeshift team track down bugs since you can submit much more useful bug reports.
Title: Yeahhh!
Post by: Baghe on May 23, 2005, 07:51:41 am
Happy to announce that i\'ve finally been able to build and play!
To mandrake users(mdk 10.0)
export WANT_AUTOCONF=1

before using malverian\'s scripts like this
./buid -initial && ./psrun updater -auto
so you can go to see the last star wars ;-)
Have\'nt quite tested the game play , just moved around on the plaza though

nice job Malverian!
Title: Indirect rendering?
Post by: kealaulu on May 23, 2005, 09:32:12 am
I just noticed that when I ./psrun psclient I get yellow text (quickly scrolls off the screen so didn\'t see it before) that says:

Indirect rendering may indicate a flawed OpenGL setup if you run on a local X server.

It also says this at the top of the splash screen, which I never noticed since my splash screen consistantly crashes right after the first note of the music (or what would be the first note when I have sound turned off)

Hope that provides some more insight into why so many of us are having this crash problem. BTW, I\'ve yet to have it not crash. I tried it over and over to see about this randomness some have spoken of, but guess I\'m either unlucky or it\'s conistant on my machine. :/

Sorry bout not comin back on chat earlier Mal, system crashed from runnin out of HD space lol.
Title:
Post by: AndyAWS on May 23, 2005, 03:08:48 pm
Malverion:

I\'m sure my problem has nothing to do with your scripts.
Fine job, and thank you.

When I get home tonight I\'ll post my problem and all of my hardware and system specs up in the Problems/Bugs forum, and I have a couple things to try on my own yet to make sure the %^$@$ port 7354 is open to UDP.

Thanks again.
Title:
Post by: malverian on May 23, 2005, 03:31:00 pm
Baghe, this is the only change you made to get it to work? What problem were you having prior to doing this? Does the game run for you fine now? Also.. can you provide me with the output of \"./build -diagnose\" (assuming you have version 0.4 or higher of the scripts)
Title:
Post by: malverian on May 23, 2005, 04:08:16 pm
I\'ve released a new version (0.6) of the build scripts that fix several problems with the psrun wrapper. It also introduces a new option that lets you run the programs in debug mode.

Eg. \"./psrun -debug psclient\" will automatically start psclient in gdb so you can give us a backtrace when it segfaults. Note, this will slow things down normally though.

Just so people understand, to upgrade the scripts quickly all you have to do If you are in the directory with \"build\" and \"psrun\" is:

--------------------
cd ..
wget http://snafu.rabidgeek.com/~malverian/misc/easy_planeshift.tar.gz
tar -xvzf easy_planeshift.tar.gz
cd easy_planeshift
./build -version
--------------------

You don\'t need to rerun \"./build\" and recompile everything. Simply enjoy the new features of \"psrun\" and when you do build in the future, you can make use of the new features of \"build\"
Title:
Post by: Baghe on May 23, 2005, 06:32:42 pm
I used the script you fixed(and checked) after i noticed it had
some bugs in it (it says version 0.3 in the README) without changing a single line.
just did:

a)
export WANT_AUTOCONF_2_5=1
 (since in mandrake 10.0 there are 2 autoconf installed, autoconf-2.13 & autoconf-2.5x)
Because building cal3d with autoconf-2.13 just did\'nt work
i don\'t have autoconf 1.8 as you say in the readme, are you sure about this dependency?
b)
redirected the soft link in /etc/alternatives to point toward automake-1.8 instead of automake-1.4)

Then:
 ./build -initial && ./psrun updater -auto
(everything went flawlessly)
came back a few hours later
ran ./psrun pssetup (just in case, could\'nt save the configuration BTW)and ./psrun psclient
And just played!

I\'m still playing right now

In the prior tries, i had forgotten to export WANT_AUTOCONF_2_5=1 plus i had disabled the cvs updates since i was fed up with dlding the same stuff again & again.
To me it was a pb of PATHS due to the flaws in your scripts i ha to fiddle with plus (maybe) this autoconf thing.
Now your script WORKS very well!

BUG: i cannot entirely see the name+name of guilds, letters are truncated from the top.

Thanks again for this nice job  Malverian!
Title:
Post by: EsRyn on May 23, 2005, 07:06:46 pm
if you do this:
rpm -qa|grep automake
usually automake 1.4 is installed by default

you can always uninstall 1.4 and all others installed, and install automake 1.8 rpm

if you do this, you won\'t have the messed up /etc/alternatives link, I checked, I use Mandriva (Mandrake 10.2).

i dont know how to fix the autoconf problem, since both versions have to be installed for 2.5 to work... it depends on the other version.
I will try to put the export WANT_AUTOCONF_2_5=1 in and see what happens.

for others, if you followed the tutorials before trying the scripts, try to unset the 4 variables they have you set, log out, and log back in.
Title:
Post by: EsRyn on May 23, 2005, 08:15:32 pm
OS:  Mandriva 2005, Mandrake 10.2
Video card:  GeForce4 mx440
x.org 6.8.2 is installed
dont know my graphic drivers version, but is up to date and from NVidia

i have this in my PATH:
/usr/sbin/:/usr/bin/:/usr/local/bin/:/sbin/:/usr/local/sbin:/usr/lib/:/usr/local/
lib/:/usr/local/bin/:/usr/local/sbin/:/bin/:/usr/java/j2re1.4.2_07/bin/:/etc/X11R6/
bin/:/etc/:/home/xordaii/rar/:/usr/games/:/usr/lib/qt3/

(put in _ in wget to it will show up)
$ wget _http://snafu.rabidgeek.com/~malverian/misc/easy_planeshift.tar.gz
$ tar -zvxf easy_planeshift.tar.gz
$ cd easy_planeshift/
$ ./build -version

gets:  Version 0.6

$ ./build
moved the art and data files back
$ ./psrun updater -auto

$ ./psrun -debug psclient
opens a debugger, i guess, that i dont know how to use, so if it is needed,
dont know how to give outputs from that

$ ./psrun psclient
crashes with this output:

  psEngine initialized.
Creating psnetconnection 85f26d0!
./psrun: line 28:  5572 Segmentation fault      LD_LIBRARY_PATH=\"${BinDir}/cal3d/lib/:$LD_LIBRARY_PATH\" CRYSTAL=\"${BinDir}/crystalspace/lib/crystalspace\" CEL=\"${BinDir}/cel/lib/cel\" $Command

$ strace -ooutput.txt ./psrun psclient
is output here:  http://www.rafb.net/paste/results/3pfPmU98.html
if you look toward the bottom, it says file not found for:
/usr/share/locale/en/LC_MESSAGES/libc.mo

I dont know if this helps, but there is one file in that directory, and it is
SYS_LC_MESSAGES

I had it running earlier, with 0.5 scripts, but only twice and stopped, i dont know what happened,
and now just gets this output and result everytime, starts the progress bar on the bottom of
the splashscreen, and stops in the middle of starting.
Title:
Post by: malverian on May 23, 2005, 10:42:02 pm
FYI, the output of \"./build -diagnose\" is usually sufficient information to help us figure out about your system configuration.
Title:
Post by: AndyAWS on May 23, 2005, 11:33:08 pm
I have the same problem as EsRyn since going to 0.6.

Creating psnetconnection 85e8510!
Using fontsize 14 for resolution 800x600
./psrun: line 28: 19134 Segmentation fault      LD_LIBRARY_PATH=\"${BinDir}/cal3d/lib/:$LD_LIBRARY_PATH\" CRYSTAL=\"${BinDir}/crystalspace/lib/crystalspace\" CEL=\"${BinDir}/cel/lib/cel\" $Command
Title:
Post by: malverian on May 24, 2005, 12:34:50 am
Andy, it was working for you prior to 0.6 ?
Title:
Post by: AndyAWS on May 24, 2005, 02:29:32 am
Yes, and actually it still is if I try enough times...just that error message is new. And when it works I don\'t get the error message.

Anyway I still have the waiting on server error, that I\'m working on in another thread, so it\'s all irrelevant.
Title:
Post by: malverian on May 24, 2005, 04:07:02 am
easy_planeshift 0.7 has been released, there are a LOT of new command line flags to use. See the \"advanced\" section of the README to potentially save yourself a lot of time and frustration!
Title:
Post by: uteck on May 26, 2005, 05:45:40 am
I found part of my problem, during ./build I get this error;
...failed C++ ./out/linuxx86/optimize/src/client/pscal3dcallback.o ...
...skipped psclient for lack of psengine.o...
...skipped /home/bil/games/Planeshift/easy_planeshift/binaries/planeshift/bin/psclientfor lack of psclient...

So, how do I figure out why it is not compiling?  I have tried 3 times, the latest is with the  0.7 installer.
Title:
Post by: yoho on May 27, 2005, 08:32:00 pm
Has anyone been successful with mandriva cooker ? What GCC version did you use ? gcc 4.0 gives me an error and gcc 3.3 another one. None of them compile planeshift successfully
Title:
Post by: malverian on June 06, 2005, 01:33:01 am
Many people aren\'t aware of this, but the build scripts can be used to get a more recent version of Planeshift/CEL/CS/Cal3d. All that is necessary is to modify the \"buildlist.cfg\" file in your easy_planeshift directory and then run \"./build\". You can change the date on any package individually. Using \"Now\" will make the CVS checkout from the moment you run \"./build\".

Soon there will be a CVS version of the Planeshift server that people can use to help test the upcoming releases before they come out. Andrew Craig is handling the access to this, so if you have a unique architecture/OS and are willing to compile the latest CVS of Planeshift often to help test, please contact him.
Title: script failed
Post by: bobmaster on August 30, 2005, 11:49:04 pm
I run ./build and it went smothly but it stoped. Here is what happend

The following steps will be performed (in order):

- Backup art directory
- Perform CVS update
- Clean out binary objects
- Check dependencies
- Compile all software packages
- Restore art data from backup

Will begin in 5 seconds...

Performing step scripts/save_art.sh...

Performing step scripts/cvs_update.sh...

Performing step scripts/make_clean.sh...

Performing step scripts/check_deps.sh...

Performing step scripts/compile_all.sh...

Performing step scripts/restore_art.sh...

Then it stops.

I changed the script here is what I changed.

# Perform the magick
for step in `echo \"$BuildSteps\" | xargs`; do
   echo \"Performing step $step...\"
   $step

to this

# Perform the magick
for step in `echo \"$BuildSteps\" | xargs`; do
  echo \"Performing step $step...\"

Befor I was getting an error message on that line of text.
 

edit: I\'m using ubuntu version hoary hedghog.
Title:
Post by: malverian on August 31, 2005, 07:03:53 am
Quote
Originally posted by bobmaster

I changed the script here is what I changed.

# Perform the magick
for step in `echo \"$BuildSteps\" | xargs`; do
   echo \"Performing step $step...\"
   $step

to this

# Perform the magick
for step in `echo \"$BuildSteps\" | xargs`; do
  echo \"Performing step $step...\"



What you essentially did here is made it so it doesn\'t actually execute the steps. It just prints out the name of the step. What error were you getting prior to removing said line?
Title: error
Post by: bobmaster on August 31, 2005, 08:09:32 am
I was getting this error message.

ben@ubuntu:~$ /home/ben/easy_planeshift/build
The following steps will be performed (in order):

- Backup art directory
- Perform CVS update
- Clean out binary objects
- Check dependencies
- Compile all software packages
- Restore art data from backup

Will begin in 5 seconds...

Performing step scripts/save_art.sh...
/home/ben/easy_planeshift/build: line 174: scripts/save_art.sh: No such file or directory
scripts/save_art.sh failed, exiting
Title:
Post by: malverian on August 31, 2005, 02:19:20 pm
Quote
Originally posted by bobmaster
I was getting this error message.

ben@ubuntu:~$ /home/ben/easy_planeshift/build

[...]

Performing step scripts/save_art.sh...
/home/ben/easy_planeshift/build: line 174: scripts/save_art.sh: No such file or directory
scripts/save_art.sh failed, exiting


As mentioned in the README file, the build script must be run from inside of the easy_planeshift directory. Please try the following:

cd /home/ben/easy_planeshift
./build
Title: not a directory
Post by: bobmaster on August 31, 2005, 03:49:04 pm
Now it gives this error message.

ben@ubuntu:~/easy_planeshift$ /home/ben/easy_planeshift/build
The following steps will be performed (in order):

- Backup art directory
- Perform CVS update
- Clean out binary objects
- Check dependencies
- Compile all software packages
- Restore art data from backup

Will begin in 5 seconds...

Performing step scripts/save_art.sh...
Copying art directory to backup location
mv: cannot stat `binaries/planeshift/art\': No such file or directory
scripts/save_art.sh failed, exiting
Title:
Post by: malverian on August 31, 2005, 10:42:32 pm
Quote
Originally posted by bobmaster

Performing step scripts/save_art.sh...
Copying art directory to backup location
mv: cannot stat `binaries/planeshift/art\': No such file or directory
scripts/save_art.sh failed, exiting



Can you show me the output of \"./build -diagnose\" ?
Also, if possible, paste the contents of of \"scripts/save_art.sh\". If possible, get on IRC at irc.freenode.net #planeshift-build and I can help you figure out this problem in realtime.
Title: diagnose
Post by: bobmaster on August 31, 2005, 11:34:20 pm
How do I diagnose it? I tryed going on irc.freenode.net #planeshift-build but it said it was forbidden. Oh, here\'s the art script.
#!/bin/bash

# This script backs up your Planeshift \"art\" directory
# Only works if you have previously run save_art.sh

BACK_DIR=\".psart\"
SAVE_DIR=\"binaries/planeshift/art\"

echo \"Copying art directory to backup location\"

rm -rf \"$BACK_DIR\"
mv \"$SAVE_DIR\" \"$BACK_DIR\"
Title:
Post by: malverian on August 31, 2005, 11:38:43 pm
Quote
Originally posted by bobmaster

How do I diagnose it?



As it says in the README file, when inside of the \"easy_planeshift\" directory.. you type \"./build -diagnose\" and hit enter.

It appears that you are using an old version of the scripts, please view the first post in this thread (by me) and follow the instructions CAREFULLY for updating your version of the scripts.

After you do this, running \"./build -version\" should show your build script version as \"1.0\"

After you ensure that you are using the new version of the scripts, try building again (as described in the README) and let me know if that fixed your problem.
Title: at last
Post by: bobmaster on September 01, 2005, 02:42:52 am
I got it to work thank you for your help.
Title:
Post by: Ethan on September 08, 2005, 09:27:52 am
scripts/cvs_update.sh: line 46: bc: command not found

and later :
-!- Client or Server timeout occurred!
cvs [update aborted]: end of file from server (consult above messages if any)
CVS update for crystalspace failed!
Trying again in 5 seconds...
scripts/cvs_update.sh: line 46: bc: command not found
scripts/cvs_update.sh: line 20: [: -le: unary operator expected
scripts/cvs_update.sh failed, exiting


os : Mandriva limited edition 2005
Title:
Post by: greshym on October 05, 2005, 05:00:09 pm
Hi! Thank your for your script!
But...

./psrun psclient starts - I can log in with my character and then it hangs.

Shell output is (about 1000 times):

  Going to load and unload maps
Setting background Loading Background
  Going to load and unload maps
Setting background Loading Background
  Going to load and unload maps
Setting background Loading Background
  Going to load and unload maps
Setting background Loading Background
  Going to load and unload maps
Setting background Loading Background

Running on Gentoo - will now try debugging mode...
Title:
Post by: oliver123 on October 08, 2005, 10:32:26 pm
When using debug mode, gdb complains about a missing \"start.S\" file when I try \"list\". And ddd (gdb GUI) complains about this already at the start. Maybe gdb doesn\'t know where to find the source files?

Does anyone have an idea how to solve that problem?

Thanks,
Oliver
Title:
Post by: Induane on October 11, 2005, 02:17:09 am
When I try to build  I get alot of nothing basically.  There is no psclient binary, but there is an updater binary.  Some parts of CS don\'t build right either - because I get weird errors when running pssetup.  

Output of ./build -diagnose

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

Build scripts version: 1.0

Distribution: Ubuntu Breezy Badger
(Debian based)
Operating system: Linux 2.6.12-8-386 i686

Software packages:
        GNU bash, version 3.00.16(1)-release (i486-pc-linux-gnu)
        Concurrent Versions System (CVS) 1.12.9 (client/server)
        autoconf (GNU Autoconf) 2.59
        automake (GNU automake) 1.9.6
        Jam 2.5. OS=LINUX. Copyright 1993-2002 Christopher Seiwald.
        gcc (GCC) 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)
        GNU sed version 4.1.4

Video card driver info:
        OpenGL vendor string: NVIDIA Corporation
        OpenGL renderer string: GeForce FX 5600 Ultra/AGP/SSE2
        OpenGL version string: 2.0.0 NVIDIA 76.76

Build versions:
        cal3d           2005-08-23 12:00:00
        crystalspace    2005-08-21 18:00:00
        cel             2005-08-21 18:00:00
        planeshift      2005-08-23 12:00:00

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


But I don\'t know how much that helps so here are the errors I get when trynig to run pssetup:

WARNING: could not load plugin \'crystalspace.font.server.freetype2\'
WARNING: could not load plugin \'crystalspace.graphics2d.glx\'
Error loading Graphics2D plugin.
WARNING: failed to initialize plugin \'crystalspace.graphics3d.opengl\'
No 3D driver!
psclient:  No 3d driver (iGraphics3D) plugin!


I thought the no freetype was weird so I wnt to see if I had it installed.  What I learned was that my repository contains only a dummy package for freetype2 as a transitional package to libttf2 which is installed.  The build needs probabily to be able to know of libttf2 nowadays instead of the old freetype2 - I don\'t know it this is a your script thing or CS build. I installed the freetype2 dummy package and reran pssetup but that error was still there so it must be something that must be needed at builttime - I\'m rebuilding now....
Title:
Post by: malverian on December 06, 2005, 07:06:42 pm
Bump
Title:
Post by: Wired_Crawler on December 06, 2005, 09:32:12 pm
@Induane: Try to do:

./build 2>error.log

or, if You already have all sources downloaded

scripts/compile_all.sh 2>error.log

Check error.log after finished build. What errors have you there ?
Title:
Post by: Induane on December 07, 2005, 01:55:19 am
I figured most of it out.  I got CS to build right alon without Cal3d.  The main issue was missing dev files for X.  These aren\'t checked for in the scripts.  Also, I cannot build Cal3d at all. I\'m still having annoying automake errors.  Frustrates me to no end.  So as it sits, I\'ll end up using the binaries.
Title:
Post by: malverian on December 12, 2005, 05:21:58 pm
Version 1.2 of the scripts has been released. See top of thread for information on using.
Title:
Post by: lokiin on December 14, 2005, 05:10:31 am
I tried to download the script, but I get the dreaded 404 not found page!
Title:
Post by: lokiin on December 15, 2005, 07:12:33 pm
Hi, I downloaded the file: easy_planeshift-1.2.tar.gz and after running ./build and ./psrun updater -auto and then ./psrun psclient I get this error:

$ ./psrun psclient
Executing command: ./psclient
SCF_ERROR: metadata retrieval error for /home/planeshift/easy_planeshift/binaries/planeshift/pssound.so: Warning: /home/planeshift/easy_planeshift/binaries/planeshift/pssound.so has embedded data and .csplugin file, using embedded.
WARNING: could not load plugin \'crystalspace.graphics3d.opengl\'
No 3D driver!
WARNING: could not load plugin \'crystalspace.font.server.freetype2\'
psclient:  No 3d driver (iGraphics3D) plugin!

Not sure what to do.
Title: Lokiin
Post by: Bereror on December 15, 2005, 07:20:47 pm
Do you have a 3D graphic card, nvidia being the best for Linux, but latest ATI cards should work as well? And if yes, do you have drivers for your graphic card installed?
Title:
Post by: lokiin on December 15, 2005, 07:34:20 pm
Yes, I have an Nvidia GeForce2 card - all works well, but for some reason not for PS. I read something a bit ago about having nvidia development headers installed. I\'m using Debian and can\'t find them in the repositories and for nvidia drivers I would think Debian has them.
Title:
Post by: Induane on December 19, 2005, 07:52:09 pm
This error happens when you try to build without a bunch of dev packages for X installed - look for them in your repositories - apt-cache search xorg dev or something or use synaptic.  Find all the developement files for your xorg or xfree X windows system.  That way you can build with a 3d cdriver
Title:
Post by: Pandor on December 21, 2005, 12:05:18 am
It\'s not quite working out for me...

~/easy_planeshift $ ./build -version
Code: [Select]
Version 1.1

~/easy_planeshift $ ./build diagnose
Code: [Select]
When reporting problems, include the output of this command.

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

Build scripts version: 1.1

Distribution: Gentoo Base System version 1.6.13
Operating system: Linux 2.6.14-gentoo-r5 i686

Software packages:
        GNU bash, version 3.00.16(1)-release (i686-pc-linux-gnu)
        Concurrent Versions System (CVS) 1.12.12 (client/server)
        autoconf (GNU Autoconf) 2.59
        automake (GNU automake) 1.9.6
        Jam 2.5rc3. OS=LINUX. Copyright 1993-2002 Christopher Seiwald.
        gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
        GNU sed version 4.1.4

Video card dr
iver info:
        OpenGL vendor string: ATI Technologies Inc.
        OpenGL renderer string: MOBILITY RADEON 9700 Generic
        OpenGL version string: 1.3.5519 (X4.3.0-8.20.8)

Build versions:
        cal3d           2005-10-06 00:00:00
        crystalspace    2005-10-06 00:00:00
        cel             2005-10-06 00:00:00
        planeshift      2005-11-30 00:00:00

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



~/easy_planeshift $ ./psrun psclient
Code: [Select]
Executing command: ./psclient
SCF_ERROR: metadata retrieval error for /home/steve/easy_planeshift/binaries/planeshift/pssound.so: Warning: /home/steve/easy_planeshift/binaries/planeshift/pssound.so has embedded data and .csplugin file, using embedded.

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
All LOGS are off.
Mounting skin: /this/art/skins/default.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip
  psEngine initialized.
Creating psnetconnection 0x87ed990!

crystalspace.pluginmgr.loadplugin:
  could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.

seemsto be CEL related so i checked out the binaries/cel/bin folder and found the \'celtst\' script, so i ran that and got a fatal error: \"CEL physical layer missing\".

*edit:
Jst found this:
http://planeshift.oodlz.com/wbboard/thread.php?boardid=17&threadid=13490&sid=f93f3aa554e2f61e95130ad126c9a535

Quote
Originally posted by Xordan
Ok guys, this is a fault in cel. One of the files on the cvs is corrupt or something, so when you download it, you don\'t get it properly. To solve this just download the nightly snapshot of cel and compile it instead of the cvs one you have.

Get the latest one:

http://cel.sourceforge.net/cvs-snapshots/bzip2/cel-current-snapshot.tar.bz2


Maybe your script should get the snapshot, instead of a cvs checkout...
Title:
Post by: Teias on January 10, 2006, 10:20:25 pm
Hello !

when I run ./build it starts to work but I often get this :

----------------------------------------------------
Performing step scripts/cvs_update.sh...
Updating cal3d to 2005-10-06 00:00:00
Changing directory to cal3d
Updating CVS for cal3d (attempt 1 of 5)
cvs [update aborted]: end of file from server (consult above messages if any)
CVS update for cal3d failed!
Trying again in 5 seconds...
---------------------------------------------------

and so, and so...
it tries...but it can\'t connect...when it works, I always get :

----------------------------------------------------
Updating CVS for cal3d (attempt 3 of 5)
cvs update: Updating .
cvs update: warning: AUTHORS was lost
U AUTHORS
cvs update: warning: COPYING was lost
U COPYING
cvs update: warning: ChangeLog was lost
U ChangeLog
cvs update: warning: INSTALL was lost
U INSTALL
cvs update: warning: Makefile.am was lost
U Makefile.am
cvs update: warning: README was lost
U README
cvs update: warning: SConstruct was lost
U SConstruct
cvs update: warning: TODO was lost
U TODO
cvs update: warning: acinclude.m4 was lost
U acinclude.m4
cvs update: warning: autogen.sh was lost
U autogen.sh
cvs update: warning: cal3d.dsw was lost
U cal3d.dsw
cvs update: warning: cal3d.pc.in was lost
U cal3d.pc.in
cvs update: warning: configure.in was lost
U configure.in
cvs update: warning: stamp-h.in was lost
U stamp-h.in
-------------------------------------------------------

so I wonder...is it coming from my PC, or is there a problem on the server ???
I\'ll try again later....

(Please forgive my English...  :s )


Thanks


The ouput of  ./build -diagnose :

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

Build scripts version: 1.1

Distribution: Aurox Linux release 10.3 (Zircon)
Operating system: Linux 2.6.10-10.3.aur.2 i686

Software packages:
        GNU bash, version 3.00.14(1)-release (i386-redhat-linux-gnu)
        Concurrent Versions System (CVS) 1.11.15 (client/server)
        autoconf (GNU Autoconf) 2.59
        automake (GNU automake) 1.9.2
        Jam 2.5. OS=LINUX. Copyright 1993-2002 Christopher Seiwald.
        gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6)
        GNU sed version 4.0.8

Video card driver info:
        OpenGL vendor string: ATI Technologies Inc.
        OpenGL renderer string: RADEON 9600 Generic
        OpenGL version string: 1.3.5519 (X4.3.0-8.20.8)

Build versions:
        cal3d           2005-10-06 00:00:00
        crystalspace    2005-10-06 00:00:00
        cel             2005-10-06 00:00:00
        planeshift      2005-11-30 00:00:00

-------------------------------------------------
Title:
Post by: Wired_Crawler on January 10, 2006, 11:44:15 pm
H!

There is nothing wrong with Your computer.
Quote
Originally posted by Teias
...
Updating CVS for cal3d (attempt 1 of 5)
cvs [update aborted]: end of file from server (consult above messages if any)
CVS update for cal3d failed!
Trying again in 5 seconds...
---------------------------------------------------

Sometimes SourceForge server behaves like that, I think it is overloaded from time to time. Try again later.
Quote
and so, and so...
it tries...but it can\'t connect...when it works, I always get :

----------------------------------------------------
Updating CVS for cal3d (attempt 3 of 5)
cvs update: Updating .
cvs update: warning: AUTHORS was lost
U AUTHORS
cvs update: warning: COPYING was lost
U COPYING
...
Nothing wrong here either, I assume You are downloading sources for the first time. \" was lost\" means that You haven\'t the on your disk yet. \"U \" means, that was successfuly retrieved.
Title:
Post by: Teias on January 11, 2006, 03:08:49 pm
OK, I understand now...I thought that these files were \"really lost\"...
It should work now...Thanks a lot...
Title:
Post by: Induane on January 11, 2006, 07:14:24 pm
THe scripts (incorrectly) detect that I have an outdated version of automake on my pc... why is that?  I have version 1.9

The version I have works as I can build manually with no trouble - its just the scripts that fail.
Title:
Post by: Wired_Crawler on January 11, 2006, 09:16:45 pm
What does \"automake --version\" say ?
Title:
Post by: Teias on January 12, 2006, 06:22:08 pm
Hello !

First, I must mention that I\'m really new to Linux...

I have download the right cel file, I put it in .../easy_planeshift/sources/cel instead of the old one...but I didn\'t manage to compile it...
I always get :

-----------------------------------------------------------------------------------------------
*** 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 assume the last proposal is the good one...so I tried to \"set the CRYSTAL environment variable properly\"
...but obviously I failed as I always get this error message...(shame on me)

Can anybody help me ?

Thanks in advance
Title:
Post by: Induane on January 12, 2006, 07:45:00 pm
automake --version
automake (GNU automake) 1.9.5
Written by Tom Tromey .

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


looks good to me....
Title:
Post by: Wired_Crawler on January 13, 2006, 07:07:17 pm
@Induane: Yes, looks good... Then You will have to play with scripts/check_deps.sh. Bugs are everywhere, They can be found even in simple scripts :)

@Telas:
Quote
I have download the right cel file, I put it in .../easy_planeshift/sources/cel instead of the old one...but I didn\'t manage to compile it...
Hmm... easy_planeshift downloads all sources for You, if You are using different version of CEL, You also must download and compile appropriate CrystalSpace version first.
Quote
I assume the last proposal is the good one...so I tried to \"set the CRYSTAL environment variable properly\" ...but obviously I failed as I always get this error message...(shame on me)
Either You haven\'t set that variable properly or CS is not compiled/installed yet.
The way of setting variables depends on type of shell You use, but I think You use bash, the most common shell in linux world. Before running configure script You must enter something like this:

CRYSTAL=\"/path/to/crystal/space/dir\"
export CRYSTAL

or in one line:

export CRYSTAL=\"/path/to/crystal/space/dir\"

Read Linux installation guides (http://laanx.fragnetics.com/index.php?page=linux), they contain information, what variables must be set and how to do it.
Title:
Post by: Teias on January 13, 2006, 08:17:19 pm
About  CEL : I thought I had to get it again because the downloaded files were corrupt ( see up, post by \"Pandor\" )

Anyway, I\'ll try all you said...Thanks for the advices and the link...


[ I\' ve just tried the export command and it works !!! THANKS !!! :D ]
Title:
Post by: markus on January 25, 2006, 06:37:45 pm
Hallo,

very nice Script :-) Thanks for it.

But I wanna talk about my Problems,

First i executeed
./build
then i do a
Code: [Select]

./psrun updater -auto
Executing command: ./updater -auto
Critical files () not found (Server only)
NOTIFY: psUpdaterEngine initialized.
Downloading registry...
0%....25%....50%....75%....100% (18 KB/s)
Loaded registry
Couldn\'t load cached file list. If this is the first time you run, there is nothing to worry about!
Checking for updates.. This may take a while
Checking updates
Warning: Couldn\'t find module \'other_os\' in registry.
I\'ll perform the following updates:
Create   art/sounds/gui/bttn_scrolldown.wav
Create   art/sounds/gui/bttn_quit.wav
Create   art/sounds/gui/bttn_scrollup.wav
. . .
. . .
. . .
Get Zip  art/skins/default.zip
Get Zip  art/skins/base/client_base.zip
Get Zip  art/skins/elves.zip
Get Zip  art/skins/stone.zip
Get Zip  art/apps.zip
Total size 254.23 MB in 533 files
Updates: 533
==== Update started ====
art/sounds/gui/bttn_scrolldown.wav (5.00 KB) Server error 404 ([URL]http://www.psmirror.org/psupdater//art/art/sounds/gui/bttn_scrolldown.wav[/URL])
Couldn\'t connect to mirror mir3!
Trying mirror mir1..
Server error 404 ([URL]http://psmirror.pfdev.net/psupdater/repository.zip[/URL])
Mirror lacks a repository, can\'t use it
Trying mirror mir2..
0%....25%....50%....75%....100% (1 KB/s)
Server error 404 ([URL]http://planeshift.mirror.thumbnail.cz/psupdater//art/art/sounds/gui/bttn_scrolldown.wav[/URL])
Trying mirror mir4..
Server error 404 ([URL]http://psmirror.u24.solone.net/psupdater/repository.zip[/URL])
Mirror lacks a repository, can\'t use it
Trying mirror backp..
0%....25%....50%....75%....100% (1 KB/s)
Server error 404 ([URL]http://laanx.fragnetics.com/updater_hidden/http://planeshift.mirror.thumbnail.cz/psupdater//art/art/sounds/gui/bttn_scrolldown.wav[/URL])
CRITICAL ERROR: Ran out of mirrors! Game cannot be updated.


Do I need to open some speciall Ports on my Router, because i have got a Firewall?

Or maybe it is still bad luck?

Another thing is that when i execute
./build -version
i got 1.1 as the version.
I thought it should be Version  1.2
Thats does me thoughtful.

Have anyone a Solve to me?

mfg MArkus