PlaneShift

Support => Technical Help: IN GAME bugs (after loading world) => Topic started by: voidinit on December 30, 2004, 04:57:38 am

Title: RPMS are here!
Post by: voidinit on December 30, 2004, 04:57:38 am
I built these to help the linux guys.  Enjoy:

These RPMs are kinda big, and I have limited upstream bandwidth.  I\'ll have to break this if I need to use my internet pipe.  Someone please mirror!

I have RPMS for the latest libcal3d, CrystalSpace, Crystal Entity Layer, and Planeshift.   I plan on updating the Planeshift RPM daily, and the others when needed.  

If you need prerequisites for any of these RPMS, like freetype, libmng or whatever, get the proper packages for your distro.


If you just want to play the game, you\'ll need these rpms

libcal3d (http://chesty.homedns.org:4572/planeshift/libcal3d-0.9.1-1.i386.rpm)
CrystalSpace (http://chesty.homedns.org:4572/planeshift/CrystalSpace-b0.99-2.i386.rpm)
cel (http://chesty.homedns.org:4572/planeshift/cel-b98_002-2.i386.rpm)
planeshift (http://chesty.homedns.org:4572/planeshift/planeshift-b01-2.i386.rpm)

Install libcal3d first, then CrystalSpace, then cel, then Planeshift.

If you want to build Planeshift yourself from CVS, but don\'t want to screw with the prerequisites, you\'ll need these RPMS in addition to the ones above.  You\'ll also need a mysql package of some sort.

libcal3d-devel (http://chesty.homedns.org:4572/planeshift/libcal3d-devel-0.9.1-1.i386.rpm)
CrystalSpace-devel (http://chesty.homedns.org:4572/planeshift/CrystalSpace-devel-b0.99-2.i386.rpm)
cel-devel (http://chesty.homedns.org:4572/planeshift/cel-devel-b98_002-2.i386.rpm)
Jam (http://chesty.homedns.org:4572/planeshift/jam-2.5-1.i386.rpm)
Install libcal3d, libcal3d-devel, cel, cel-devel, CrystalSpace, CrystalSpace-devel.

If you want to run or build a server, you\'ll need a mysql package.  I have one I built for work here, but it\'s not guarunteed to work on any particular platform, You\'ll be better off just getting the pakages for your distro.  This pakcage was custom built for work, so --nodeps is your friend.

MySQL (http://chesty.homedns.org:4572/planeshift/mysql-4.1-branch-ssl-4.1.5g-3.i586.rpm)

If you want to develop or code with any of these, you\'ll want the docs.

CrystalSpace-doc (http://chesty.homedns.org:4572/planeshift/CrystalSpace-doc-b0.99-2.i386.rpm)
cel-doc (http://chesty.homedns.org:4572/planeshift/cel-doc-b98_002-2.i386.rpm)

NOTES:  On non-rpm based systems (e.g. Slackware, Debian), you\'ll have to use --nodeps to get these to install.  Your rpm database isn\'t fully populated, so the rpms will complain that you are missing /bin/sh, etc.

You will have to logout/login to your shell after installing these rpms in order for your $CRYSTAL, $CEL, and $CSCONFPATH to be set.  On systems that don\'t support /etc/profile.d/ style of init scripts, you\'ll have to set them yourself.

These are not guarunteed to work on any particular system.  If you have problems, feel free to let me know and I\'ll do my best to remedy them.

The planeshift RPM is currently complaining about perl dependancies.  --nodeps it for now.  I\'ll resolve it eventually.

Updating with the updater sometimes (more like usually) breaks planeshift.  Get the dev packages and rebuild planeshift from CVS.   I\'m  looking into what is causing this behavour, but it\'s not being cooperative.

Jam and RPM don\'t play nice.

Good Practice:

When you install or build Planeshift, you might want to do something like:

groupadd games
chgrp -R games /usr/local/planeshift
usermod -g games $YOUR_USERNAME
chmod -R g+w /usr/local/planeshift

Than run planeshift, the updater, etc. from your user account and not as root.  It\'s never a good idea to run a game, MMORPG, or any beta as root.

.spec files for those interested.

libcal3d.spec (http://chesty.homedns.org:4572/planeshift/libcal3d.spec)
cel.spec (http://chesty.homedns.org:4572/planeshift/cel.spec)
CrystalSpace.spec (http://chesty.homedns.org:4572/planeshift/CrystalSpace.spec)
jam.spec (http://chesty.homedns.org:4572/planeshift/jam.spec)
planeshift.spec (http://chesty.homedns.org:4572/planeshift/planeshift.spec)

* Edit to increment build numbers in URLS*
Title:
Post by: Keyaz on December 30, 2004, 05:17:34 am
o_O someone knows what they\'re doing *applause*
Title:
Post by: voidinit on December 30, 2004, 06:39:08 am
Just an note:

The planeshift RPM is officially broken.  Well, not really the planeshift RPM, it\'s more the CrystalSpace RPM.  Some of Crystal\'s libraries (.so) hardcode in the build directory as their home instead of using the $libdir variable like they should. So passing a --prefix option to configure doesn\'t work at all.

I have added a workaround to the .spec file and I\'ll update the RPMS when I test it.
Title:
Post by: voidinit on December 30, 2004, 09:18:39 am
Alright, I think I figured out what the problem was...


If you install entirely from RPM, you need to do this as root:

mv /usr/local/CS/etc/crystalspace/vfs.bak /usr/local/CS/etc/crystalspace/vfs.cfg

Second run /usr/local/CS/bin/walktest -relight  because this will broken after you follow the rest of these instructions.

Then run the updater.

After running the updater, do this command as root:

mv /usr/local/CS/etc/crystalspace/vfs.cfg /usr/local/CS/crystalspace/etc/crystalspace/vfs.bak

Then run psclient.



It seems that after an update to current, both of these files exist and are merged.  Merging these two files is a bad idea. I\'m not sure if this is the best solution, but it is a solution that seems to work.  

I\'ve updated the planeshift rpm to rename the  /usr/local/CS/crystalspace/crystalspace/vfs.cfg to .bak, but unless you have a current vfs.cfg from planeshift\'s update tool, this is fruitless.  You\'ll have to restore /usr/local/CS/etc/crystalspace/vfs.bak to /usr/local/CS/blahblahblah/vfs.cfg.  Run the updater, then re-rename it to .bak again.

These problems are solveable, it will just take some time to identify problems like these and make sure the solution is universal.
Title: Back Up.
Post by: voidinit on January 04, 2005, 06:36:14 am
My apologies to anyone who tried to download these rpms in the past few days.  Though I doubt anyone did.

My webserver lost a heat sink, which cause the loss of a CPU. (It needed an upgrade anyway).

Anyway, they are back up.
Title: rpm's
Post by: Nedhrys on January 04, 2005, 08:00:58 am
hey there,
thanks for building these.
Can\'t download them now, though - when Mozilla connects, nothing happens until it times out some minutes later - are you no longer online?

Did you resolve the difficulties you encountered?

Are there mirrors of these rpms up elsewhere? Or perhaps bit torrent files?

Thanks,

Nedhrys
Title:
Post by: voidinit on January 05, 2005, 08:15:47 am
Quote
Originally posted by Nedhrys
hey there,
thanks for building these.
Can\'t download them now, though - when Mozilla connects, nothing happens until it times out some minutes later - are you no longer online?

Did you resolve the difficulties you encountered?

Are there mirrors of these rpms up elsewhere? Or perhaps bit torrent files?

Thanks,

Nedhrys


I\'m not sure if they are mirrored anywhere, and I haven\'t personally built any torrents out of them.

I think I forgot to reinstate the NAT when I brought my firewall back up.  I\'ve done this now, but of course, I can\'t test it from this side of my firewall.  I\'ll verify it from work tommorow.

The planeshift RPM is the latest and greatest from CVS.  Currently, the updater shipped with the latest from CVS is incompatible with the updater running on the server.  

This means:

Backup your art and data directories! You\'ll have to restore those to play.

If you\'ve never installed before and haven\'t run the updater you may have to wait untill they upgrade the server.  You will not be able to download the art you need before the server-side updater is brought into sync with what is commited to CVS.   If I have the time, I may publish rpms of my art and data directories so that they are available when things like this happen.
Title: rpms
Post by: Nedhrys on January 05, 2005, 08:43:46 am
thanks, voidinit.

I\'ve not installed any version of planeshift or crystal blue before,
so i\'ll probably have to get all the art, etc new. Would be really great if you were to post the relevant data as rpms too...

Currently, i\'m downloading the second rpm mentioned on your first post - CystalSpace.

Seems to be downloading fine.

thanks again for your time in this.

ciao,

Nedhrys
Title:
Post by: Nedhrys on January 05, 2005, 02:14:41 pm
hi voidinit,

i\'ve now downloaded all of your rpm\'s.

I logged in as root, and ran all the rpm\'s in the order you suggested.

However, the Xandros installation manager moaned about various files it couldn\'t find.

Here\'s a quote:
crystalspace_b0.99-3_i386.deb generated
/var/lib/dpkg/info/crystalspace.postinst: line 9: /etc/profile.d/planeshift.sh: No such file or directory
/var/lib/dpkg/info/crystalspace.postinst: line 10: /etc/profile.d/planeshift.sh: No such file or directory
chmod: failed to get attributes of `/etc/profile.d/planeshift.sh\': No such file or directory
 Xandros Networks has detected the following error:
subprocess post-installation script returned error exit status 1
 Xandros Networks detected errors while processing the following file(s):
crystalspace
 Xandros Networks has detected that dpkg has returned with error code (1)
Please retry your installation.
Done.

Got similar messages while installing the other rpms.
Sorry, but I\'m really a complete newcomer to linux and have no clue about programming, compiling, etc.

Do you have any useful suggestions about how to sort this one out?

Thanks,

Nedhrys
Title:
Post by: LordVan on January 05, 2005, 05:26:17 pm
Quote
Originally posted by Nedhrys
hi voidinit,

i\'ve now downloaded all of your rpm\'s.

I logged in as root, and ran all the rpm\'s in the order you suggested.

However, the Xandros installation manager moaned about various files it couldn\'t find.

Here\'s a quote:
crystalspace_b0.99-3_i386.deb generated
/var/lib/dpkg/info/crystalspace.postinst: line 9: /etc/profile.d/planeshift.sh: No such file or directory
/var/lib/dpkg/info/crystalspace.postinst: line 10: /etc/profile.d/planeshift.sh: No such file or directory
chmod: failed to get attributes of `/etc/profile.d/planeshift.sh\': No such file or directory
 Xandros Networks has detected the following error:
subprocess post-installation script returned error exit status 1
 Xandros Networks detected errors while processing the following file(s):
crystalspace
 Xandros Networks has detected that dpkg has returned with error code (1)
Please retry your installation.
Done.

Got similar messages while installing the other rpms.
Sorry, but I\'m really a complete newcomer to linux and have no clue about programming, compiling, etc.

Do you have any useful suggestions about how to sort this one out?

Thanks,

Nedhrys


looks like your distribution doesn\'t have an /etc/profile.d directory. try \'mkdir /etc/profile.d\' first and then retry it.
Title:
Post by: confused on January 05, 2005, 05:26:55 pm
Thanx for the RPMs

Well I had no problems installing any of the RPMS on SUSE 9.1.

But when I run pssetup, I don\'t have a mouse pointer or radio buttons and checkboxes. Also can\'t save the file.

When I start ./psclient I get version 0.3.004 displayed on the window title bar, again no mouse pointer.

Here is the output I get:
========================================================
./pssetup

crystalspace.canvas.glx2d:
  Opening GLX2D
  Creating Context
  Video driver GL/X version (direct renderer)
  Visual ID: 21, 24bit TrueColor
  R8:G8:B8:A0,
  level 0, double buffered

crystalspace.canvas.openglcommon.driverdb:
  Applied: GeForce setting: Texture Compression

crystalspace.canvas.openglcommon:
  OpenGL renderer: GeForce4 Ti 4200 with AGP8X/AGP/SSE2 (vendor: NVIDIA
  Corporation) version 1.5.2 NVIDIA 66.29
  Using windowed mode at resolution 600x400.
  Pixel format: Color: 24 Alpha: 0 Depth: 24 Stencil: 8 AccumColor: 24
  AccumAlpha: 0 MultiSamples: 0
  Multisample: disabled

crystalspace.sound.software:
  Software Sound Renderer selected

crystalspace.sound.oss:
  SoundDriver OSS selected

crystalspace.sound.software:
    Playing 44100 Hz, 16 bits, Stereo
    Volume: 1

planeshift.setup.application:
  Application initialized successfully.
Error saving configuration \'\'.
SCF WARNING: 1 unreleased instances of class crystalspace.graphics2d.glx!
SCF WARNING: 1 unreleased instances of class crystalspace.graphics3d.opengl!
SCF WARNING: 1 unreleased instances of class crystalspace.kernel.vfs!
SCF WARNING: 1 unreleased instances of class crystalspace.window.x!
SCF WARNING: 1 unreleased instances of class crystalspace.window.x.extf86vm!

===============================================================
./psclient
crystalspace.maploader: Could not get model converter
crystalspace.maploader: Could not get model crossbuilder

crystalspace.canvas.glx2d:
  Opening GLX2D
  Creating Context
  Video driver GL/X version (direct renderer)
  Visual ID: 21, 24bit TrueColor
  R8:G8:B8:A0,
  level 0, double buffered

crystalspace.canvas.openglcommon.driverdb:
  Applied: GeForce setting: Texture Compression

crystalspace.canvas.openglcommon:
  OpenGL renderer: GeForce4 Ti 4200 with AGP8X/AGP/SSE2 (vendor: NVIDIA
  Corporation) version 1.5.2 NVIDIA 66.29
  Using windowed mode at resolution 1024x768.
  Pixel format: Color: 24 Alpha: 0 Depth: 24 Stencil: 8 AccumColor: 24
  AccumAlpha: 0 MultiSamples: 0
  Multisample: disabled

crystalspace.sound.software:
  Software Sound Renderer selected

crystalspace.sound.oss:
  SoundDriver OSS selected

crystalspace.sound.software:
    Playing 44100 Hz, 16 bits, Stereo
    Volume: 1

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.
LOG_SKILLXP flag deactivated.
LOG_QUESTS flag deactivated.
  psEngine initialized.
Creating psnetconnection 8614448!

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.
SCF WARNING: 1 unreleased instances of class crystalspace.graphics2d.glx!
SCF WARNING: 1 unreleased instances of class crystalspace.graphics3d.opengl!
SCF WARNING: 1 unreleased instances of class crystalspace.window.x!
SCF WARNING: 1 unreleased instances of class crystalspace.window.x.extf86vm!
Title:
Post by: voidinit on January 05, 2005, 06:38:39 pm
Quote
Originally posted by confused
crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.
SCF WARNING: 1 unreleased instances of class crystalspace.graphics2d.glx!
SCF WARNING: 1 unreleased instances of class crystalspace.graphics3d.opengl!
SCF WARNING: 1 unreleased instances of class crystalspace.window.x!
SCF WARNING: 1 unreleased instances of class crystalspace.window.x.extf86vm!


This looks like your $CRYSTAL, $CEL and $CSCONFDIR environement variables arent\' set correctly.

You see, some linux distrubutions (RedHat, Fedora) will run every script in /etc/profile.d/ every single time a user logs in.   I setup my RPMs to install a script that set\'s the above mentioned environment variables for you every time you log in.  Your linux distribution does not support this method of setting environment variables.  Maybe it uses a different method.  

You can try:

export CRYSTAL=/usr/local/CS
export CEL=/usr/local/CEL
export CSCONFDIR=$CEL

Then try to run planeshift.


If that works, then use pico or vi or some text editor to add these lines to the ~/.bash_profile file.

Hope this works.
Title:
Post by: confused on January 05, 2005, 07:09:54 pm
Tried the export commands and also placed them in the .bashrc, there was no .bash_profile but .bashrd had plenty variables for editors, language, etc.

Oh running applications as a normal user.

echo $CRYSTAL
/usr/local/CS
echo $CEL
/usr/local/CEL
echo $CSCONFDIR
/usr/local/CEL

./pssetup still gives the same output and no mouse pointer or radio buttons and checkboxes. Still does not save configuration. If I can get the setup to save the configuration I be able to remove the sound errors.

./psclient same lovely picture with no mouse pointer, though output is slightly different.

==========================================================================
./psclient
crystalspace.maploader: Could not get sound driver
crystalspace.maploader: Could not get model converter
crystalspace.maploader: Could not get model crossbuilder

crystalspace.canvas.glx2d:
  Opening GLX2D

:
All 3 sound parts disappeared!
:

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
  Warning: Cannot initialize iSoundManager
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.
LOG_SKILLXP flag deactivated.
LOG_QUESTS flag deactivated.
Couldn\'t create Resource \'sound.standardButtonClick\'
Couldn\'t create Resource \'gui.toolbar\'
Couldn\'t create Resource \'gui.cancel\'
Couldn\'t create Resource \'gui.ok\'
Couldn\'t create Resource \'gui.scrolldown\'
Couldn\'t create Resource \'gui.scrollup\'
Couldn\'t create Resource \'gui.shortcut\'
Couldn\'t create Resource \'gui.quit\'
  psEngine initialized.
Creating psnetconnection 8540060!

:
Title:
Post by: voidinit on January 05, 2005, 07:52:43 pm
Running the application as a normal user is good form.

Try this:

cd /usr/local/CS/bin/
./walktest --relight


If you get an error about not being able to save configuration or whatever, then your user account doesn\'t have write permissions to the /usr/local/CS*.  

Give your user account write permissions to /usr/local/CS, /usr/local/cel, and /usr/local/planeshift recursively.
Title:
Post by: confused on January 05, 2005, 08:51:28 pm
OK received a writing error with ./walktest -relight

changed the group to users for all 3 directories recursively.

This time the ./walktest -relight started without error. Also it is the first time I ever seen the lighting to be correct, not heavily dark in the past.

Tried ./pssetup and ./psclient, still get the same errors.
Title:
Post by: voidinit on January 05, 2005, 09:31:51 pm
First, you recursively changed all three dirs to group \"users\"?  Did you chmod -R g+w all three dirs?  I assume your user is a member of group users.

If I understand you correctly you have never installed planeshift before?   That means you have never updated before.  Usually on a brand new installation you would run /usr/local/planeshift/updater first.  I have never not done this, so I don\'t know how the game reacts to running without the updating first.  It could be that psclient is trying to load art that you do not have yet.

If you try to run /usr/local/planeshift/updater, and get the messgae \"Your version of the updater is newer than the servers.\", you have a couple of choices.

1.) You can wait for the planeshift guys to update their server code.
2.) You can try to to find older code, with an older updater and build it instead of installing planeshift via RPM (The crystal and cel and libcal3d RPMS will work just fine for this, you just need the -devel- packages).
3.) If and when I get the time I\'ll publish my art and data directories.  I\'m at work right now, so that isn\'t an immediate option.   I\'m not sure if PS will allow that either since their art isn\'t GPLed, only their code.
Title:
Post by: voidinit on January 06, 2005, 02:31:10 am
Now that the updater is running you\'ll need to:

rm /usr/local/planeshift/vfs.cfg

AFTER running the updater in order for psclient to run properly.
Title: Torrents
Post by: theRealGorbulas on January 06, 2005, 06:50:02 am
I\'ve got torrents. Please seed them when you are done. http://planeshift.bot24.no-ip.com/torrents/
Title:
Post by: Nedhrys on January 06, 2005, 08:43:23 am
thanks, folks

I did the mkdir thing, as root, which worked ok. Tried to reinstall -  

still getting error messages though:

\"Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Alien/Package/Deb.pm line 727.
warning: unable to add ownership fixup code to postinst as the postinst is not a shell script!
libcal3d_0.9.1-2_i386.deb generated
2 not fully installed or removed.
Done.\"

anyone got any good ideas here?

thanx, folks

Nedhrys
Title:
Post by: theRealGorbulas on January 06, 2005, 08:47:54 am
You are using Debian, which does not really support RPMs. It converts the RPMs into DEBs and then installs those. You should try to follow the instructions at http://laanx.fragnetics.com/debian.php.
Title:
Post by: Nedhrys on January 06, 2005, 08:53:39 am
thanx, Gorbulas

It seems that the xandros rpm installation manager first transfers the rpm to deb, then tries to install.
 
I\'ll try your advice. The link seems like it\'ll give me a lot of useful background info.

ciao,

Nedhrys
Title:
Post by: Nedhrys on January 06, 2005, 10:36:40 am
ok, gorbulas,

i\'ve tried to run the commands on the debian-client page from the console.
 first, it doesn\'t recognise libvorbis-dev, although the other commands in the first section seem to work ok.

then, for the second section, the command starts with cvs.
after sniffing about the net for a while, i suspect that this is the concurrent versions system. Does not seem to be installed on my machine - it tells me:

\"florian@XANVBQS7U53:~/crystalbluedev$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d login
bash: cvs: command not found\"

so what now? I\'ve tried finding the cvs program - but again, it\'s mostly rpm\'s, which my system seems to choke on.

I need to figure out how to install from  targz files, is that it?

thanx for taking the time...

Nedhrys
Title:
Post by: theRealGorbulas on January 06, 2005, 11:00:39 am
Try \"apt-get install cvs\" to install cvs. libvorbis might be in a different package. I\'m not a Debian expert, so I wouldn\'t know where to look.
Title:
Post by: Nedhrys on January 06, 2005, 11:14:32 am
thanx again gorbulas,

cvs seems to be working - i managed to install it.
The console seems to indicate that cvs is now busy updating a whole bunch of files.

Still trying to figure out libvorbis. I located the file in my /usr/lib directory.
I\'ll see how far i get with my aimless groping...

ciao,

Nedhrys
Title:
Post by: theRealGorbulas on January 06, 2005, 11:19:43 am
You can install libvorbis from source if you need to, but make sure that when you run configure you set prefix to where libvorbis is, minus any /lib. So if it is is in /usr/lib, then do ./configure --prefix=/usr.
Title:
Post by: Nedhrys on January 06, 2005, 11:38:42 am
gorbulas,

you speak in an arcane tongue that i have not yet mastered.

I suspect that all will become clearer with time, and bear your advice in mind.

in the meantime, would it make sense to copy libvorbis to the working directory, or can i point to the location of libvorbis?

thanx,

nedhrys
Title:
Post by: theRealGorbulas on January 06, 2005, 11:52:31 am
The difference between -dev and non -dev packages is that the -dev ones are just the headers. You won\'t be able to run PS without those headers because one of the CS plugins won\'t build. These headers are only required at compile time, and are never needed if you are only using precompiled packages(we are going to need to compile PS from source if the RPMs don\'t work, so we need the headers). Moving your libvorbis into the working directory won\'t help.
Installing libvorbis from source code will install these headers, but it sounds like you might have difficulty doing so. You might want to try looking around with Google or ask the people in #debian or something. There are many people more knowledgeable about Debian than I am.
Title:
Post by: confused on January 06, 2005, 05:06:08 pm
I tried to run the updater:

./updater
./updater: error while loading shared libraries: libcurl.so.3: cannot open shared object file: No such file or directory

Check to see that I have Curl installed, the version is 7.11.39. It seems like the updater is using a very old version of Curl. Is this correct?

EDIT:
Checked cURL website, it does not have versions of 7.10 or ealier anymore.

So close yet so far! :)
Title:
Post by: confused on January 07, 2005, 08:29:48 am
Those who managed to install the RPMs and update PS, how did you get passed the cURL version problem?
Title:
Post by: Nedhrys on January 07, 2005, 01:43:57 pm
hey, confused, i\'m not even that far yet...

in trying to install libogg (for libogg-dev) which is needed by libvorbis, i used a .deb file. As a result, my installation manager shot himself in the foot - purged hosts of system files, including its own executable version and most of the kde.

there\'s me trying to reinstall the whole thing, after searching for more than an hour for a usable console...  

but now, finally, i\'m back together again, and most everything seems to work.

If anyone knows how to avoid that kind of a freak-out, please lemme know.

Meanwhile, I\'ll try to actually get some work done...

ciao,

Nedhrys
Title:
Post by: confused on January 07, 2005, 02:24:57 pm
Ouch!

Did you distro not come with sound libraries, that you could install without trashing your system.

Once you have your system stable and managed to unpack the RPMs, just remember to add the exports for CRYSTAL, CEL and CSCONFIG variables in your .profile, .bashrc or .bash_profile which ever one exists. Then add write access for your account (normal user) account to all files/directories in the CS, planshift or CEL directories.

Then you be with me stuck with the updater.
Title:
Post by: voidinit on January 10, 2005, 08:22:22 pm
I\'ve been away all weekend.  I\'m (was!) in the USMC Reserves.  Just completed my last drill weekend ever and finalized my discharge.  I didn\'t have time to update the rpms to current CVS version this weekend.

It looks like these RPMs have trouble with debian package installers.  They convert RPMs to .deb pkgs right?

Maybe in the future, as I have time, I\'ll look into making the RPMs more debian friendly, or perhaps making a native .dep package as well.
Title:
Post by: why_did_I_uninstall_Windos??? on January 11, 2005, 04:19:31 pm
Confused, I got exactly the same problem as yours (an other one is that I don\'t speak english very well :p) with a mandrake 10.1

Did you find the solution of your problem?
Title:
Post by: why_did_I_uninstall_Windos??? on January 11, 2005, 04:31:52 pm
ok, for the psupdater i had to:

cp /usr/lib/libssl.so.0.9.7 /usr/lib/libssl.so.0
cp /usr/lib/libcrypto.so.0.9.7 /usr/lib/libcrypto.so.0

Funny isn\'t it?
Title:
Post by: Bobkat on January 11, 2005, 05:44:28 pm
I did the same moving of the libraries and managed to get the setup to start.  I\'m unable to get the client to load regardless of the options selected (yes i turned sound off).  has anyone figured out why vfs.cfg has to be removed in order for the setup app to start?  I have an strace on the client before it segfaults but i\'m not gleaming anything usefull out of the output.  i\'ve tried running the client as both a standard user (with group rights) and as root (i know it\'s a bad idea but i had to make sure it wasn\'t a rights issue).  I can do a \"walktest --relight\" with a standard user.  If one of the devs wouldn\'t mind taking a look at the strace output i would be appreciative, no hurry though I know you guys have got tons of bugs to squash just if ever you get time.  Oh and tremendous thanks voidinit for building the rpms!!

link to strace of planeshift client startup from an fc3 laptop with options { 800x600 (screen res is 1024 x 768 24 bit on an i810 chipset) in window mode, 16 bit color, vertex buffer object is off, load all maps is unchecked, and sound is off } :
running as standard user
trace  =  http://evilkat.com/planeshift/user-pstrace
screen output during trace = http://evilkat.com/planeshift/user-screenoutput

running as root user
trace  =  http://evilkat.com/planeshift/root-pstrace
screen output during trace = http://evilkat.com/planeshift/root-screenoutput
Title:
Post by: confused on January 11, 2005, 06:01:07 pm
I been trying to build PS from source to get around the updater problem with cURL, but no luck yet. The CEL does not have a build files installer.
Title:
Post by: confused on January 12, 2005, 03:30:32 pm
voidinit, could you provide us with the steps and commands you used to setup, compile, install sources and constructed your RPMS. This will help us if me we have problems with the updater from time to time.
Title:
Post by: Nedhrys on January 12, 2005, 06:28:37 pm
hey folks,

still busy fixing up my os after the crash i caused...
i\'d greatly appreciate notes on the exact installation procedure, or debian-friendly
installation packages.

Can\'t wait to start spooking around on the ps world.

ciao,
Nedhrys
Title:
Post by: Aravi on January 12, 2005, 07:44:27 pm
Nice work, I\'m downloading them at the moment and I\'ll test them out tommorow.

Instead of setting $CRYSTAL,$CEL, etc in a script in /etc/profile.d, you could simply wrap the psclient executable in a shell script that sets these values before running it.

I was actually working on my own RPMs, but I\'d only just begun working on them. I\'ll see if I can make some useful contributions to yours instead. Is there a source RPM or will I be able to get all the files I need using the spec file?