Anybody with VS on Suse 9.1?

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
spunti

Anybody with VS on Suse 9.1?

Post by spunti »

Hello friends,

Novell's Suse-Linux 9.1 is out now and please let me know if anybody accomplished the "mission impossible" to install VS on this system.
Please post here or write directly (in English or German) to: ronny.priv(AT)gmx.de

Of course you can also post, if you magaged to install VS on Suse 9.0 which was (also?) impossible as far as I know.

thanks a lot
spunti
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

hmm I never had trouble installing VS on any system
what's the beef with your system?
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
spunti

VS on Suse 9.1 or 9.0

Post by spunti »

I don't know what the word "beef" means in this context, but my system is a common system with normal hardware and the latest Suse-Linux 9.1. VS was not installable by me whether with the rpms nor with the VS-installer.

Perhaps you remember my postings here when I wanted to donate some money to the VS-people for providing a Suse-rpm? It wasn't able to install VS on Suse 9.0 not even with your help.

At the moment I'm not really willing to try and try and try to install the game again and again. I fear, I'm too frustrated for this now but I guess, my mood would change if there is anyone who achieved to install the game on Suse 9.1... But believe me, there is no one:-(

greetings from Halle, Germany
spunti
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

perhaps the RPM's are bad
but I assure you, compiling from source is not impossible with the correct packages

you need python-devel, libpng-devel libjpeg-devel expat-devel glut-devel libsdl-devel sdl-mixer-devel
that should be it to get it building under suse
but I may have forgotten something

someone else made the rpm's and I have no idea why they wouldn't work on SUSE...I've never been a particular fan of the RPM format

next release I'll try ot figure out how to get a statically linked version so we don't need all this stupid distro-specific stuff
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
incubator
Hunter
Hunter
Posts: 76
Joined: Thu May 13, 2004 11:08 pm
Location: Gentoo

Post by incubator »

perhaps releasing source rpm's would be a better idea?
I had some bad problems with regular rpm's a long while ago with mandrake.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

well then we might as well have the standard install package instead of source rpm's...
I mean it's going to run the same bloody configure script--
and it will come up with the same errors for the user to wade through if there are any
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

It's not the RPMs... they're fine.

It's that the dependencies are build around an older version of OpenAL...

So if you have OpenAL installed, SuSE's Yast2 thinks you don't have it installed for the purpose of installing and/or compiling this game.

Someone who knows what they are doing (not me) needs to tweak the install script and/or sources to recognize the OpenAL version that SuSE 9.1 ships with...

Until that happens, VegaStrike is a no-go on SuSE 9.1 systems. I'm surprised more people using a 2.6 kernel don't have these problems as SuSE is moving to a "standard" Linux model for its distro...
SuSE Linux 9.1 Professional Edition User
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

compiling from source works everywhere though
I have no idea who made the rpms and no idea how rpms work
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
ltercap
Merchant
Merchant
Posts: 46
Joined: Mon Jan 19, 2004 7:51 pm
Location: Near Hannover, Germany

Post by ltercap »

Compiling on suse 9.1 worked fine for me...
Ok the installer script didn't work so I had to run the scripts by hand but there was no problem with SuSE's OpenAl. I compiled it from source so it might be possible to install it from rpm via the --force mode.
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

yes, we kindof stuffed up the openal dependency stuff....

installing with --nodeps should work fine :-)

ie:
rpm -ivh --nodeps vegast.....etc :-)


Dan.a
spunti

new hope

Post by spunti »

This gives me new hope, Itercap. So I will risk another trial in the next week.

please cross your fingers for me:-)

regards
spunti
spunti

openAL

Post by spunti »

Today I tried to install VS on Suse 9.1.

At first, I ran the setup.sh. There were several warnings and at the end I could run vsinstall, but vslauncher was not there (command not found).

At next, I tried to install the three common rpms with:
rpm -ivh --nodeps vegast*

After this I started vsinstall again and also the vslauncher was found (for a normal user, not for root).
The following error appeared:
"error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory"

At last, I tried to install the rpms with:
rpm -ivh --force vega*
which brought me directly to the missing dependency:libopenal.so.0

But I checked yast and the libopenal.so.0 is provided by OpenAL and already installed.

spunti
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

maybe it's in /usr/local/lib

then try
export LD_LIBRARY_PATH=/usr/local/lib

or wherever it is

at the last resort you can do:

find / -name openal.so.0

when you find it do
export LD_PRELOAD=/path/to/openal.so.0
then it's guaranteed to find it
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
ltercap
Merchant
Merchant
Posts: 46
Joined: Mon Jan 19, 2004 7:51 pm
Location: Near Hannover, Germany

Post by ltercap »

The libopenal file lies in /usr/lib/ but the LD_LIBRARY_PATH isn't set in
SuSE's standart path variables so try

Code: Select all

export LD_LIBRARY_PATH=/usr/lib
Guest

won't load yet

Post by Guest »

You was right. OpenAL is at /usr/lib and vslauncher starts now.
But what should happen then?

I know VS from Windows and there I start a new mission and a VS-advertising-picture appears while the game is loading.

In Suse9.1 it is only printed somesthing to the shell like this:

ronny@Ronny:~> vslauncher
mission/explore_universe.missionvegastrike mission/explore_universe.missionVega Strike
See http://www.gnu.org/copyleft/gpl.html for license details.

Data directory is /usr/local/share/vegastrike/data
no name or value given for variable
no name or value given for variable
no name or value given for variable
no name or value given for variable
no name or value given for variable
using config file in home dir
SIMULATION_ATOM: 0.08
WARNING: no var named directory in section data using default: /usr/local/share/vegastrike/data
WARNING: no var named sharedmeshes in section data using default: meshes
WARNING: no var named sharedunits in section data using default: units
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
WARNING: no var named python_modules in section data using default: modules
WARNING: no var named python_bases in section data using default: bases
running import sys
print sys.path
sys.path = ["/usr/local/share/vegastrike/data/modules/builtin","/usr/local/share/vegastrike/data/modules","/usr/local/share/vegastrike/data/bases"]
['/usr/lib/python2.2/', '/usr/lib/python2.2/plat-linux2', '/usr/lib/python2.2/lib-tk', '/usr/lib/lib-dynload']
testing VS randomrunning import sys
print sys.path
['/usr/local/share/vegastrike/data/modules/builtin', '/usr/local/share/vegastrike/data/modules', '/usr/local/share/vegastrike/data/bases']
Max role value 23
role value of FIGHTER 32
role value of FIGHTER 98
role value of FIGHTER 4097
31 31 31 31 31 31 31 2 1 1 0 31 31 3 5 31 31 31 31 31 31 31 31
1 31 5 5 2 1 0 31 31 31 31 31 3 31 10 6 12 31 31 6 6 6 6
31 31 31 5 31 31 5 1 0 0 2 31 31 1 3 16 20 31 31 16 16 16 16
31 31 31 31 0 0 0 1 2 2 16 31 31 3 3 31 3 31 31 31 31 31 31
1 31 20 10 5 4 0 31 31 31 31 31 31 10 5 6 20 31 31 6 6 6 6
31 31 31 30 0 0 1 30 31 31 31 31 31 8 4 8 20 31 31 8 8 8 8
31 31 31 5 25 25 20 1 0 0 0 31 31 1 3 16 26 31 31 16 16 16 16
31 31 31 30 30 30 20 0 5 1 5 20 25 1 2 31 31 31 31 31 31 31 31
31 31 31 30 30 30 30 3 1 0 2 20 25 4 5 31 31 31 31 31 31 31 31
31 31 31 31 31 31 31 1 25 20 31 31 31 20 20 31 31 31 31 31 31 31 31
31 31 31 31 30 30 1 2 0 3 4 31 31 1 4 31 31 31 31 31 31 31 31
4 31 31 31 6 5 2 2 1 3 2 1 0 0 3 31 5 31 31 31 31 31 31
31 31 31 31 5 6 4 31 31 31 31 0 0 0 3 31 5 31 31 31 31 31 31
31 31 31 31 31 31 31 31 4 1 0 0 31 2 3 31 31 31 31 31 31 31 31
31 31 31 31 31 31 31 31 31 31 31 31 31 2 0 31 1 31 31 31 31 31 31
0 1 0 2 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31
31 31 31 31 29 29 29 31 31 31 31 10 11 31 0 31 0 31 31 31 31 31 31
31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 0 31 31 31 31 31
31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31
31 31 31 31 31 31 31 31 31 31 31 0 1 31 31 31 31 31 31 31 31 31 31
31 31 31 31 31 31 31 20 1 0 0 31 31 30 31 31 31 31 31 31 31 31 31
31 31 31 31 31 31 31 0 0 0 0 31 31 2 3 31 31 31 31 31 31 31 31
31 31 31 31 2 1 0 31 31 31 31 31 31 31 4 31 2 31 31 31 31 31 31
WARNING: no var named DopplerScale in section audio using default: 1
WARNING: no var named SmoothShade in section graphics using default: true
WARNING: no var named texture_compression in section graphics using default: 0
WARNING: no var named s3tc in section graphics using default: true
WARNING: no var named UseTextures in section graphics using default: true
WARNING: no var named UseShipTextures in section graphics using default: false
WARNING: no var named UsePlanetTextures in section graphics using default: false
WARNING: no var named UseLogos in section graphics using default: true
WARNING: no var named UseSprites in section graphics using default: true
WARNING: no var named UseAnimations in section graphics using default: true
OpenGL Extensions supported: GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_fence GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_register_combiners GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NVX_ycrcb GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod GL_SUN_slice_accum
vegastrike: freeglut_misc.c:59: glutExtensionSupported: Assertion `fgState.Initialised' failed.
Abgebrochen/Canceled
ronny@Ronny:~> Opened audio at 44100 Hz 16 bit stereo, 4096 bytes audio buffer

Is this correctly? I don't know why there stands "Canceled" because I just waited and didn't press Ctrl+C or so.


spunti
ltercap
Merchant
Merchant
Posts: 46
Joined: Mon Jan 19, 2004 7:51 pm
Location: Near Hannover, Germany

Post by ltercap »

Looks like vegastrike couldn't initialisate
'fgState.Initialisated' (whatever that is).

This problem also appears here
http://mail.asta.uni-potsdam.de/piperma ... 01301.html
(german site).

Which Gl packages are installed on your system?
Maybe you should try to deinstall freeglut first
and then install vegastrike with the Mesa
packages only.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

this looks like the freeglut bug we fixed in CVS

if you don't have the CVS version you'll need to download the older glut-3.7 instead of freeglut
otherwise you can download the CVS version of vegas trike source :-)
jan@wedesoft.de

glutExtensionSupported

Post by jan@wedesoft.de »

I downloaded "vegastrike-0.4.1-installer.tar.bz2" and executed the compile-script (after having installed the openal-devel rpm). I got the error message:

gl_init.cpp: In function `void init_opengl_extensions()':
gl_init.cpp:106: error: `glXGetProcAddressARB' undeclared (first use this function)

I put "#define glXGetProcAddress glXGetProcAddressARB" as first line in gl_init.cpp (I found this hack on this forum). After this vegastrike compiled.
When starting vegastrike, now I'm also getting the error-message:

vegastrike: freeglut_misc.c:59: glutExtensionSupported: Assertion `fgState.Initialised' failed.

And this regardless of the graphics-resolution I select with vsinstall.
jan@wedesoft.de

mesaglut<->freeglut

Post by jan@wedesoft.de »

I didn't read the posting of "Itercap" properly obviously!
It said:

Which Gl packages are installed on your system?
Maybe you should try to deinstall freeglut first
and then install vegastrike with the Mesa
packages only.

Suse9.1 only is shipped with freeglut. So I downloaded mesaglut and it's corresponding devel-package (www.rpmseek.com) and replaced the freeglut with mesaglut:

rpm -e --nodeps freeglut-devel freeglut
rpm -i mesaglut-5.0.1-68.i586.rpm mesaglut-devel-5.0.1-68.i586.rpm

Now vegastrike is running!
spunti

it works with Suse9.1

Post by spunti »

Yeah, it works!!
Thank you, Jan, I installed the mesaglut from rmpseek (via Yast because of some dependencies and not by the command-line) and the three common VS-RPMs.
It's unbelievable, I'm in.
(Though it's currently too slow to play and the options-dialog of the VSlauncher doesnt't work and gives only a Gdk-ERROR-Message and also the vegastrike.config seems not to affect the game. But I will shurely find help in another thread here in the forum, I hope:-))

spunti
Guest

Re: it works with Suse9.1

Post by Guest »

spunti wrote:Yeah, it works!!
Thank you, Jan, I installed the mesaglut from rmpseek (via Yast because of some dependencies and not by the command-line) and the three common VS-RPMs.
It's unbelievable, I'm in.
(Though it's currently too slow to play and the options-dialog of the VSlauncher doesnt't work and gives only a Gdk-ERROR-Message and also the vegastrike.config seems not to affect the game. But I will shurely find help in another thread here in the forum, I hope:-))

spunti
Hi spunti, maybe you or someone from here could try and post a summary for this thread ? Like Solution: VS on SuSE 9.1 ? That one could also be used for a new article at holarse.net

Best from Berlin, Allons!
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

check if there's a vegastrike.config in ~/.vegastrike/
it checks there first
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
spunti

summary of Installing VS on Suse9.1

Post by spunti »

@guest from Berlin:

the summary of Installing VS on Suse9.1:
uninstall freeglut,
install mesaglut not from Suse-CDs but from rpmseek (i.e.: mesaglut501 and mesaglut-devel501, all dependencies should be on the Suse-CDs)
then install the 3 common RPMs (not especially for Suse), which can be found here somewhere (i.e:VS, VSData and VSMusic).

I don't know if it really works this way, because I had no "VS-free Suse-Linux" after I tried different ways to install the game, but I believe this should work and perhaps even on Suse9.0.

To set the Options type "vssetup" in the directory where vegastrike.config is located. (Sound and Music seem to exclude each other. 24-bit graphic works, when 32 bit 3D is set in KDE/Sax.)
To start the game type "vegastrike"

That's it
spunti from Halle
Guest

Post by Guest »

I should also mention that I had some Problems with the German keyboard layout.
respawn didn't work with ";" so I set it to "r"
full speed didn't work and I set it to "x",
perhaps pause doesn't seem to work, too.

you can change the keyboard setting easily and directly in the vegastrike.config-file

spunti
Allons!
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Tue Sep 07, 2004 2:45 pm

Post by Allons! »

Anonymous wrote:I should also mention that I had some Problems with the German keyboard layout.
respawn didn't work with ";" so I set it to "r"
full speed didn't work and I set it to "x",
perhaps pause doesn't seem to work, too.

you can change the keyboard setting easily and directly in the vegastrike.config-file

spunti
Hi spunti,

as the game plays fine under Win2k i am now unlike many inhabitants in Berlin registered. My System is a SuSE 9.0 I will try to install/compile from scratch. Maybe i could use checkinstall to build new RPMs for SuSE ?

Greetz to Halle,

Allons!
Post Reply