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

Mephij

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

malverian

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

malverian

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

Mephij

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

kealaulu

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #19 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.
« Last Edit: May 22, 2005, 04:02:26 pm by kealaulu »

Baghe

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

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #21 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.
« Last Edit: May 22, 2005, 04:36:22 pm by AndyAWS »

malverian

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

AndyAWS

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

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #24 on: May 22, 2005, 05:30:49 pm »
Also don\'t be so hard on yourself...you are doing us a favor.

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #25 on: May 22, 2005, 05:32:59 pm »
Nevermind...looks like the new one is up now...thanks...trying it...

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #26 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)
« Last Edit: May 22, 2005, 06:10:48 pm by malverian »

EsRyn

  • Traveller
  • *
  • Posts: 10
    • View Profile
(No subject)
« Reply #27 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
« Last Edit: May 22, 2005, 05:49:45 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.

Baghe

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

malverian

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