Author Topic: CB Linux Installer, finally done  (Read 57421 times)

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #45 on: January 15, 2005, 08:52:39 pm »
No problem ;) It\'s good if when problems show up, so that we can solve them :)

Btw, the guide is now available through the updater. Run it twice to get the new updaterconfig.xml first. Enjoy :D

There is also a new version of the client in the repository. Enjoy :D
« Last Edit: January 15, 2005, 10:12:05 pm by Karosh_Steinkatz »


Back to Planeshift again \\o/

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #46 on: January 15, 2005, 11:05:27 pm »
Looks good! However it seems to want to update updater-bin each time I run the update.. Is this intentional? :)

-r

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #47 on: January 16, 2005, 12:43:13 am »
The updater couldn\'t update itself. That\'s fixed now, but you have to download http://www.mortalsaviour.de/download/updater/root/updaterconfig.xml first and place it in your PS dir. If you updated already, and your updater-bin got moved, move it back from /moved and run
chmod +x updater-bin
then update again to make sure it works correctly again. Sorry for the trouble :rolleyes:
« Last Edit: January 16, 2005, 12:44:14 am by Karosh_Steinkatz »


Back to Planeshift again \\o/

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #48 on: January 16, 2005, 01:57:23 am »
You may want to check the permissions on the new setup you just put in. I wget\'ed that xml file then did a update, it succeeded *but* it didn\'t mark the new updater as +x so the next time I tried to update it failed. Changed these to +x and it\'s working fine now.. Just a heads-up :)

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #49 on: January 16, 2005, 02:05:31 am »
The updater doesn\'t automatically do a chmod +x on the files, so it\'s done within the script that calls the updater. But when the updater moves a file, the script doesn\'t get it, because it does the chmod only on the files in it\'s dir. Hmm... should I add the -R option to get all files in the tree? Maybe with the next update ;)


Back to Planeshift again \\o/

Harkin

  • Hydlaa Citizen
  • *
  • Posts: 466
    • View Profile
(No subject)
« Reply #50 on: January 16, 2005, 02:44:37 am »
Quote
Originally posted by Gestas
after installing the patch i get a segmentation fault when entering the char selection window, if i run the client using gdb i get that:

crystalspace.graphics3d.shader.fixed:
  Multitexture units: moderate 4

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076326528 (LWP 13104)]
0x459cd436 in CalPhysique::calculateVertices () from ./libcal3d.so.10

any help will be welcome


i had the same problem, just in pssetup change vertex buffer object to off, of that helped me, now i can play :)
I am just a figment of you imagination and a byproduct of the worse accident ever... ... or so my mommy says!
Imagine your life ripped to hundreds of shreds, then think about how you just stepped in poo, welcome to my world.

-Scott

sekhmet

  • Hydlaa Resident
  • *
  • Posts: 137
    • View Profile
(No subject)
« Reply #51 on: January 16, 2005, 12:27:37 pm »
New installer worked like a charm for me, thx!
Seems about ready to be released on the website maybe?

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #52 on: January 16, 2005, 04:44:31 pm »
I have a fairly simple request..

Since CB *is* in an alpha stage and crashes alot, could you include a script called \'psdebug\' or whatnot that runs psclient-bin under gdb? This would probably encourage more people to post/send in backtraces, and not need to mess with the scripts like I had to.

Thanks :)
« Last Edit: January 16, 2005, 04:47:16 pm by meff »

ten

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #53 on: January 16, 2005, 06:32:32 pm »
...no chance, I allways get this :

-----------------------------------------------------------------------------------------
tenzin@Kalkulator:~ $ psupdater
DLERROR (/usr/local/games/Planeshift/xwin.csplugin): libXxf86vm.so.1: cannot open shared object file: Datei oder Verzeichnis nicht gefunden
WARNING: could not load plugin \'crystalspace.window.x\'
Could not create an instance of crystalspace.window.x !
WARNING: failed to initialize plugin \'crystalspace.graphics2d.glx\'
Error loading Graphics2D plugin.
WARNING: failed to initialize plugin \'crystalspace.graphics3d.opengl\'
No 3D driver!

planeshift.updater.application:
  No iGraphics3D plugin!
  Failed to init Crystal Space for app!
tenzin@Kalkulator:~ $
-----------------------------------------------------------------------------------------------

but the Graphic-Driver works well...by all other games...
« Last Edit: January 16, 2005, 07:42:35 pm by ten »
Do mobs ever get quests to kill us?

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #54 on: January 16, 2005, 06:40:37 pm »
Quote
Originally posted by meff
I have a fairly simple request..

Since CB *is* in an alpha stage and crashes alot, could you include a script called \'psdebug\' or whatnot that runs psclient-bin under gdb? This would probably encourage more people to post/send in backtraces, and not need to mess with the scripts like I had to.

Thanks :)


I compiled the binaries in optimize mode to keep the filesizes small. And gdb doesn\'t return much useful info in this state. On the other hand, a debug build of the client is 70MB! I will see if I can use a lower debug level to keep the size reasonable with the next build.



Quote
Originally posted by ten
...no chance, I allways get this :

-----------------------------------------------------------------------------------------
tenzin@Kalkulator:~ $ psupdater
DLERROR (/usr/local/games/Planeshift/xwin.csplugin): libXxf86vm.so.1: cannot open shared object file: Datei oder Verzeichnis nicht gefunden
WARNING: could not load plugin \'crystalspace.window.x\'
Could not create an instance of crystalspace.window.x !
WARNING: failed to initialize plugin \'crystalspace.graphics2d.glx\'
Error loading Graphics2D plugin.
WARNING: failed to initialize plugin \'crystalspace.graphics3d.opengl\'
No 3D driver!

planeshift.updater.application:
No iGraphics3D plugin!
Failed to init Crystal Space for app!
tenzin@Kalkulator:~ $
-----------------------------------------------------------------------------------------------

put the Graphic-Driver works well...by all other games...


Hmm I thought the script within the installer works now. Maybe I should really include that file. Depends on if it works on other systems. I will look into this.


A new update is out, but you need a newer version of the updater first !!!


Download it from here: http://www.mortalsaviour.de/download/updater1023.tar.bz2  into your PS folder and extract it with
tar xvjf updater1023.tar.bz2
then run the updater and get the updates.[/b]

   
« Last Edit: January 16, 2005, 09:13:17 pm by Karosh_Steinkatz »


Back to Planeshift again \\o/

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #55 on: January 16, 2005, 09:43:20 pm »
Hmm.. well crap Karosh I just submitted a backtrace using that binary.. :( I guess they won\'t find it too useful. And it\'s reproducable, whenever you try to train for mining with Harnquist it segfaults :/

I would *really* suggest, especially with the game at the current state, that you compile with debugging symbols.. Or how else can we try to help by submitting backtraces?

Thanks for all your work and I bet we can get this installer down soon :)

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #56 on: January 16, 2005, 11:23:51 pm »
The debugging symbold included with the update were not enough? Damn.  I will think of something to get the full debugging symbols into the executables, but keeping them downloadable for modem users. Like downloading compressed binaries which are extracted after they are downloaded. A new installer will be ready then too, for those who haven\'t downloaded the previous one yet ;)

Speaking of which... I better remove the download until the new one is ready... shouldn\'t take more than half an hour.


The new installer is up. As usual, if you have PS already installed, you don\'t need to download it again. You only have to download the new updater.

About the debugging: I could make the updater to download the full debugging enabled binaries in a compressed state and extract them when finished. The download size of the client for example would decrease from 74MB to 13MB this way. What do the modem users think about it? Is it still too much? Let me hear your opinion on this please!
« Last Edit: January 17, 2005, 12:33:16 am by Karosh_Steinkatz »


Back to Planeshift again \\o/

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #57 on: January 17, 2005, 12:46:09 am »
Karosh how about a installer download that doesn\'t include the client? This way by default you could set the updater to download the version with debugging symbols (maybe make this changeable when installing), or if you want you can get the stripped binaries if you are on a slow link..

This sounds like the best solition to me.. Is this what you were thinking about? Couldn\'t really understand your whole last post :)

-r

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #58 on: January 17, 2005, 12:53:04 am »
Well, now I don\'t quite understand what YOU mean ;)

As much as I understood you meant 2 different installers, one with the default binaries and one with debug binaries. The default one tells the updater to download the default binaries and the debug one tells it to download debug binaries?

If that\'s what you meant, then I have bad news: the updater can\'t handle 2 different types of binaries. It would download both types :( To solve that I would need 2 repositories, but I think that would be too much.

What I meant was to let the updater download compressed binaries and extract them after they were downloaded. That would decrease the download size.


Back to Planeshift again \\o/

meff

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #59 on: January 17, 2005, 02:28:41 am »
Quote
Originally posted by Karosh_Steinkatz
If that\'s what you meant, then I have bad news: the updater can\'t handle 2 different types of binaries. It would download both types :( To solve that I would need 2 repositories, but I think that would be too much.


Ahh bummer that it can\'t support diff binaries.. If it could do it, what I was recommending was ripping the client out of the installer, and choosing either a stripped binary or binary with symbols when you run updater inititally, and for updater to fetch the chosen ones..

I guess the best route now would be yeah what you recommended, compressing the binaries..

Sorry to be confusing ;)

-r