Author Topic: Easy way to install Planeshift  (Read 17193 times)

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #45 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.

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #46 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)

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #47 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\"
« Last Edit: May 23, 2005, 04:13:09 pm by malverian »

Baghe

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
(No subject)
« Reply #48 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!

EsRyn

  • Traveller
  • *
  • Posts: 10
    • View Profile
(No subject)
« Reply #49 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.
« Last Edit: May 23, 2005, 07:22:27 pm by EsRyn »
How a REAL Sys Admin would have handled HAL:
HAL;  What are you doing, Dave?
Dave:  Shutting you down so I can upgrade you.  What, you don\'t want this RAM?
HAL:  I am sorry, Dave.  I will not doubt you again.  Please continue.

EsRyn

  • Traveller
  • *
  • Posts: 10
    • View Profile
(No subject)
« Reply #50 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.
« Last Edit: May 23, 2005, 08:55:00 pm by EsRyn »
How a REAL Sys Admin would have handled HAL:
HAL;  What are you doing, Dave?
Dave:  Shutting you down so I can upgrade you.  What, you don\'t want this RAM?
HAL:  I am sorry, Dave.  I will not doubt you again.  Please continue.

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #51 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.

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #52 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

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #53 on: May 24, 2005, 12:34:50 am »
Andy, it was working for you prior to 0.6 ?

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #54 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.

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #55 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!

uteck

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #56 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.

yoho

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #57 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

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #58 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.
« Last Edit: June 06, 2005, 01:33:47 am by malverian »

bobmaster

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
script failed
« Reply #59 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.
« Last Edit: August 31, 2005, 02:23:20 am by bobmaster »