donate money for RPMs?

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).
spunti

donate money for RPMs?

Post by spunti »

Hello vegastrike-developer,
I'm not able to install vegastrike on Suse Linux 9.0 whether with the installer or with the common RPMs. I suppose there is no Suse 9.0-user playing vegastrike.
So here is my question:
Is it a technical problem to provide a RPM for the biggest Linux-Distributions or just a question of time?
Perhaps we - the vegastrike player - could donate some money especially for creating RPMs for our Linux-Version?

what do you think about it?
regards
spunti
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

search on google for
suse vegastrike 9.0

and it comes up with thread (in german but google can translate it) about it.

There would need to be someone with suse 9.0 to make an rpm... I use Debian and so can't make rpms.

First, download the stable source downloadr (shell script and cvs) or the vegastrike linux source (.tar.bz2 file)"
Then compile it (by running the .sh file in the source downloader or by typing in the extracted .tar.bz2 file "aclocal;autoconf;automake;./configure;make")

If it works, then maybe you can try making an rpm.
This has some stuff about making an rpm in suse. (I found it on google)
http://lists.suse.com/archive/suse-linu ... /0171.html
spunti

no solution for suse 9.0

Post by spunti »

Hello ace,

the german thread with suse 9.0 and vegastrike was initiated by me (spunti), but there is NO solution in it.
One User installed it on Suse 8.1 but it seems to me that the structure of Suse 9 has changed:-(
On Suse 8.1 even vegastrike 2.x was part of the distribution!

I will posted my current compiling problems on suse9.0 in another thread and I will try again soon.
But let me repeat my question:
There is no payable price for you or one of the other developer would make a partition on your harddisk with Suse 9.0?
(I don't know how it's about Mandrake and RedHat, but Suse is legal copyable for free. Of course very large, but whar about remote-working on my PC with Suse 9.0?)

I could imagine 4 indications for the biggest current distributations and if you donate some money for exactly your distribution, the indication growth. If the indication for one distribution is at 100 percent, then one of the developers should take the time to install the distribution and make the RPM.

regards
spunti
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

Have you tried building with the source rpm (I don't know if it's on the download page :-/ )

If you don't know how, then just ask again ... if it doesn't work, it means that there are probably compiler problems with suse ... which would make it unbuildable on any suse setup.

What is the exact problem with installing the rpms? Post it here, and we may be able to get them to work.....

With the money offer, I would say that the thing stopping most of us (well, at least me) from doing this is a lack of time (and in my case lack of disk space for a suse install) ... money will fix the second, but not the first :-/

Anywa, get back to me with the answers to the questions and we'll see where we can go...

Dan.a
spunti

no experience with src.rpm

Post by spunti »

Ok, Dan, it was just an idea. Perhaps Suse9 is the only big distribution with this problems.
So I will explain my problems and what I tried so far:

1.)
With src.rpm I have no experience and didn't tried to "install" it.

2.)
I tried to install the common RPMs from sourceforge:
vegastrike-data-0.4.1D-1.noarch.rpm -> done
vegastrike-music-0.4.1-1.noarch.rpm -> done
vegastrike-0.4.1-gcc3.2_1.i386.rpm -> nothing happend

"done" means in this case, that there were no errors and Yast, the suse-install-helper, shows the rpm as corretly installed.
"nothing happend" means, that nothing happend. No yast-errors and not shown in yast after "installing" it.

3.)
I downloaded, the vs-installer:
vegastrike-0.4.1-installer.tar.bz2
, unzipped it and run the install-script.
...
checking for GLU library... no
checking for GLU library (with pthreads)... no
checking for MesaGLU library... no
checking for MesaGLU library (with pthreads)... no
checking for openglu32 library... no
checking for openglu32 library (with pthreads)... no
configure: error: Cannot find GLU library

But I installed "XFree86-Mesa", which provides GLU, and also "mesaglut". Of course always with the devel-packages. I also tried "XFree86-Mesa" and "freeglut" including the devels. But the vs-installer won't find GLU.

that's it. if you can give me any hints what to do - perhaps how to handle the src.rpm, it would be great.
spunti
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

It looks like this might be fairly easy to correct......

go to a console window somewhere and change to the directory the rpm is in....

then do:

rpm -ivh vegastrike-0.4.1-gcc3.2_1.i386.rpm (if that's the correct file name)

it should come up with errors, and my guess is that they will be dependency errors...

if the dependency errors are just the glut stuff, then it *should* work to do:

rpm -ivh --nodeps vegastrike-0.4.1-gcc3.2_1.i386.rpm

If the errors are different, or you don't feel like playing nodeps roulette, then just post the messages on the forum ... it may be that we have to get you to build a srpm (but hopefully not) :-) Or if you really want to do the srpm, just say :-)

Dan.a
spunti

openAL

Post by spunti »

Hello Dan,
I did the first rpm-command and it shows:
VS needs openAL.

But in Yast openAL and it's devel is already installed.
The second rpm-order of your posting works but doesn't fix the problem.
e.g. if I run the vsinstall, I get:

linux:~ # vsinstall
cat: save.txt: No such file or directory
cp: cannot stat `/usr/local/games/vegastrike/data/setup.config': No such file or directory
cp: cannot stat `/usr/local/games/vegastrike/data/.vegastrike/*.m3u': No such file or directory
cp: cannot stat `/usr/local/games/vegastrike/data/vegastrike.config': No such file or directory
Unable to read from setup.config
If you wish to have your own music edit ~/.vegastrike/*.m3u Each playlist represents a place or situation in Vega Strike

thnx for further help
spunti
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

ah yes....this should be easy to fix now :-)

what you need to do is
1) as root, open up vsinstall in a text editor and change all occurences of /usr/local/games to /usr/local/share

2) delete the .vegastirke folder in your home dir (or move it) if it exists

3) try again

if it doesn
t work, then say and I can walk you through what vsinstall does manually :-)

Dan.a
spunti

vslauncher starts, but not the game

Post by spunti »

Ok, vsinstall starts now and the vslauncher, too.
Though not the game. After starting a new game, the following is shown:

linux:~ # 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
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Opened audio at 44100 Hz 16 bit stereo, 4096 bytes audio buffer

spunti
(other 3D-Games work, e.g. Cube)
Guest

Re: vslauncher starts, but not the game

Post by Guest »

spunti wrote: WARNING: no var named DopplerScale in section audio using default: 1
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Opened audio at 44100 Hz 16 bit stereo, 4096 bytes audio buffer
So you're nearly ready to play!
At my machine (SuSE 8.2) vegastrikes hangs at this point too. I really don't know
why. Seems to be an audio/ALSA problem.
If I press Ctrl+C vegastrike finishes loading and I can play, but I'm afraid without music. This problem occured with version 0.3.9 too.

Another way is to KILL (e.g. with Ctrl+Alt+Esc under KDE) the hanging vslauncher and start it repeatedly.
After in average 3 to 6 tries vega starts WITH music!!!

Isn't it strange? Can someone explain that?
But now I'm enjoying playing vegastrike and not compiling...

HTH,
Stefan
spunti

vsinstall changes

Post by spunti »

...and I'm not sure, if the vsinstall really saves my selection.
If I restart vsinstall, always the default-selection is chosen.

The Option-Menu from the vslauncher won't start and prints:
Gdk-ERROR **: BadIDChoice (invalid resource ID chosen for this connection)
serial 778 error_code 14 request_code 53 minor_code 0
mission/explore_universe.missionGdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown).

spunti
spunti

vslauncher again and again

Post by spunti »

Hello Stefan,

if I press Ctrl-C after the sound-error-message I get some more error-lines but the game never starts:-(
Let's wait for what Dan says to it.

spunti

WARNING: no var named Volume in section audio using default: 100
WARNING: no var named DopplerScale in section audio using default: 1
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
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_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_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_add 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_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
vegastrike: freeglut_misc.c:59: glutExtensionSupported: Assertion `fgState.Time.Set' failed.
Aborted
linux:~ # mcop warning: user defined signal handler found for SIG_PIPE, overriding
Opened audio at 44100 Hz 16 bit stereo, 4096 bytes audio buffer

Could not connect to host
98 Error
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

that's really odd ..... I'd assume you tried pressing ctrl-c after this again, just in case the soundserver didn't close?

Assuming you did, then we can try playing without the soundserver at all .... does the setup app work? I think that's what you were saying about default choices always coming back?

Well, to get rid of music coming up, go to .vegastrike in your home dir and open vegastrike.config ....

near the beginning, change the line that starts with:

#set MusicAndVolume

so that the whole line is:

#set MusicAndVolume music_off

that should disable it starting.....

tell me how it goes (after this, the only other thing I can think of is to remove all vegastrike's soundserver binaries from the hdd)

if it doesn't go well we may need to compile after all :-/

Dan.a
spunti

sound is off

Post by spunti »

Ok, now I understand how to setupt the config and I set music and sound off. The programm interrupts now by itsself, I don't need press Ctrl-C anymore. It seems to my that the graphic (Glut?) ist the current problem. I tried all combinations of graphic-settings, but I get always the same output:

ronny@linux:~> 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 Volume in section audio using default: 100
WARNING: no var named DopplerScale in section audio using default: 1
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
mcop warning: user defined signal handler found for SIG_PIPE, overriding
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_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_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_add 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_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
vegastrike: freeglut_misc.c:59: glutExtensionSupported: Assertion `fgState.Time.Set' failed.
Abgebrochen
ronny@linux:~>
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

looks like your version of glut is broken?
It gives an error in glutExtensionSupported, meaning that wither you don't have an extension or else your glut libraries are not working.

The file freeglut_misc.c:59 isn't in vega strike, so the problem is in the glut library.

Well thanks to google and doxygen, here is the variable that has the problem:

Code: Select all

/*
  * The current freeglut settings
  */
extern SFG_State fgState;


struct tagSFG_State
{
...
SFG_Time         Time;                 /* The time that glutInit was called */
...
};

struct TagSFG_Time
{
#ifdef WIN32
     DWORD Value;
 #else
     struct timeval  Value;
 #endif
     GLboolean       Set;
};
The current time wasn't set? I don't know how to get around that.
Maybe your clock isn't working correctly?
spunti

clock, glut

Post by spunti »

My clock has a strange behaviour since Suse9, that's right. It's nearly always 1 our too early and it doesn't help to set the clock correctly. Local time and everything is set correctly, too.
By the way I'm not the only Suse9-user with this problem and it could have to do someting with having windows on the same computer.

Perhaps you ask you, why I dont't play with windows? Well, I want to delete windows. Currently I have some problmes with scanning and cd-burning, so I need windows from time to time, but I really don't like it any more.

To the freeglut, I don't know how it should be broken. I will try to set my time/clock with netdate to the atomic clock on every reboot. Perhaps this work, but I don't belive in it:-(

Well, let's see and perhaps anyone has another Idea what I could do. It would be sad, if no Suse 9-user could play the this game.

regards
spunti
spunti

netdate

Post by spunti »

My computerclock ist now connected with the atomic clock but it has no influence on Glut:-( I get the same error.

spunti
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Try installing a different glut library?
That error isn't anywhere in google... Maybe the freeglut library is broken on your computer?

Also, try with other openGl games like tuxracer and see if they work.

If you compiled it with source, try messing around with the src/gldrv/winsys.h file (make the place that calls SDL_Init() also call glut_init() )

Also, compile it without debug or compile the freeglut library without assertions?

Otherwise, try compiling it from source and see if that fixes the problem.
spunti

freeglut

Post by spunti »

Hello Ace and Dan,

I tried to compile with mesaglut instead of freeglut some days ago, but glu and glut couldn't ever be found by the vs-installer.
I searched for freeglut on my harddiks and found it in
/usr/include/GL/, so I'd like to know if this is a typical path for linux or is this perhaps the problem? How can I say the vs-installer to search for freeglut in this path?

By the way openGL works on my computer. With Torcs and Cube, but also with the tuxracer. (The latter I tried on yesterday.)
I'm wondering a little bit, is openGL and openAL the same? (Remember: I got a VS needs openAL-error while using the common RPM with nodeps)
I searched for openal on my harddisk, too. There is an openal-folder in /usr/lib/ and some openal-files directly in /usr/lib/.

In the winsys.h, there is no place that calls a SLD-Init, the only init there is the winsys_init.

Perhaps this information can help us in any kind and it makes sense to compile vs again. If not, I think of surrendering and waiting of the next Suse-Linux-release. Since Novell acquired Suse, the distributions should also be growth in the US and brings more people to the problem with an new Suse and Vegastrike. Furthermore RedHat and Suse will approximate their Linux-Structure with the "Linux Standard Base".

thanx
ronny
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

ya, /usr/include/GL is the normal place for the header files to be found...

openGL is a "graphics" library

openAL is an "audio" library :-) (the error was due to me making a mistake with the rpm)

I'm pretty confident that we could probably get this built from source if you want .... it may take some effort, but if you want we can go through it?

Dan.a
spunti

last try

Post by spunti »

ok, last try:
I deleted all vegasrike-things and unzipped the vs-installer with
tar -xjf filename.
I'm logged in as normal user and if I would run the setup.sh now, I'd get the cannot find any GLU-library error. (Glu without 'T'.)

I could unzip the three tgz-files now to be able to edit the confige-file. Shall I do this and what do I do with the configure-script.
I took a look into the configure while an earlier instllation-try, it's not easy find there something.

spunti
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

hmm.....where is your libGLU file?

Dan.a
spunti

libGLU

Post by spunti »

I've no file just named "libGLU", only:
/usr/lib/libGLU.a
/usr/lib/libGLU.so
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3
/usr/lib/wine/libglu32.def

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

Post by hellcatv »

try copying your libGLU to the same place as your libGL is though it should certianly look there as well
try looking for your GL/glu.h
make sure that's right where your GL/gl.h is
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
spunti

old error output

Post by spunti »

I should put my libGLU-files to where my libGL ist. That's what I did.
Though I've no file named just "libGL", I found the following files:

usr/lib/GL/libGL.so.1

usr/lib/libGL.a
usr/lib/libGL.so
usr/lib/libGL.so.1
usr/lib/libGL.so.1.0.4496

usr/lib/tls/libGL.so
usr/lib/tls/libGL.so.1
usr/lib/tls/libGL.so.1.0.4496

OK, so I copied my libGLU-files of my last posting also to the folders /usr/lib/GL and /usr/lib/tls.

Then I should make clear, that gl.h and glu.h are at the same place.
Hm, I found gl.h at two places:
usr/include/GL/gl.h
and:
usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl.h
I've to mention here that the files are not identical - they have a different size.

glu.h I found only at:
usr/include/GL/glu.h
but I copied it also to /usr/share/doc/NVIDIA_GLX-1.0/include/GL/.

After this, I ran the setup.sh but got the old error output:

checking for GLU library... no
checking for GLU library (with pthreads)... no
checking for MesaGLU library... no
checking for MesaGLU library (with pthreads)... no
checking for openglu32 library... no
checking for openglu32 library (with pthreads)... no
configure: error: Cannot find GLU library
**WARNING** I hope you are running as a user account right now
** if not then please restart with a user... we will only switch to root to copy
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
Compiling FleetYards... display_gtk../src/include/display_gtk.cpp: In function `void AddCats(GtkWidget*, char*,
char*)':
../src/include/display_gtk.cpp:133: Warnung: unused variable `char*new_text'
../src/include/display_gtk.cpp:134: Warnung: unused variable `int length'
../src/include/display_gtk.cpp:135: Warnung: unused variable `GtkWidget*button'
../src/include/display_gtk.cpp: In function `void ClickButton(GtkWidget*,
catagory*)':
../src/include/display_gtk.cpp:160: Warnung: unused variable `GtkWidget*label'
file
setup... Linking/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
Done

Time Elapsed: 16 second
mv: Aufruf von stat für »/home/ronny/.vegastrike« nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für »../vssetup/src/bin/setup« nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für »../vegastrike/src/vegastrike« nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für »../vegastrike/src/networking/soundserver« nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für »../vegastrike/launcher/vslauncher« nicht möglich: Datei oder Verzeichnis nicht gefunden
ok I need to be root now please enter your password (edit root-setup.sh to see what the script does if you are rightfully careful.)
Post Reply