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

malverian

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

bobmaster

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
error
« Reply #61 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

malverian

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

bobmaster

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
not a directory
« Reply #63 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
« Last Edit: August 31, 2005, 03:53:28 pm by bobmaster »

malverian

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

bobmaster

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
diagnose
« Reply #65 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\"

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #66 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.
« Last Edit: August 31, 2005, 11:49:42 pm by malverian »

bobmaster

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
at last
« Reply #67 on: September 01, 2005, 02:42:52 am »
I got it to work thank you for your help.

Ethan

  • Hydlaa Resident
  • *
  • Posts: 64
    • View Profile
(No subject)
« Reply #68 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
« Last Edit: September 08, 2005, 09:36:33 am by Ethan »
Wish list summary (under construction)
Your help is welcome!!!
Done : Weapons, Other items, Magic
TODO : a lot ...

greshym

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

oliver123

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

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
(No subject)
« Reply #71 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....

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #72 on: December 06, 2005, 07:06:42 pm »
Bump

Wired_Crawler

  • Hydlaa Citizen
  • *
  • Posts: 429
    • View Profile
(No subject)
« Reply #73 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 ?
"Close the world, txEn eht nepO."

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
(No subject)
« Reply #74 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.