LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 07-30-2004, 07:23 AM   #1
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
Trouble compling Vega Strike on Red hat 9


I'm trying to compile Vega Stike on my Red hat 9 box.

On running the setup.sh script, no vegastrike binary is produced.

I tried compiling it manually with a ./configure, make & make install in the vegastrike directory and it comes up the following errors in the ./configure stage

checking for GLU library... yes
checking for GL/gl.h... yes
checking GL/glext.h usability... no
checking GL/glext.h presence... yes
configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
checking for glut32 library... no
checking for glut library... yes
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes

I think that this means my GL? libraries arn't up to date or some configuration is wrong.

Has anyone had success with this and knows whats missing?

Thanks.

azraelder
 
Old 07-30-2004, 09:36 AM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
I have a similar problem with SuSE 9.1.

Sorry, being a "compile-o-phobe" I can't give you any more help, just the comfort in knowing that you're not alone.
 
Old 07-30-2004, 05:09 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Same here on Linux From Scratch. I'm not sure that warning is the problem. For me the trouble seems to start with something to do with python
Code:
hard_coded_scripts.Tpo"; exit 1; fi
In file included from /usr/include/python2.3/Python.h:8,
                 from ../../../src/python/python_class.h:3,
                 from hard_coded_scripts.cpp:9:
/usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/math.h:27,
                 from ../../../src/gfx/vec.h:4,
                 from order.h:32,
                 from script.h:3,
                 from hard_coded_scripts.cpp:1:
/usr/include/features.h:131:1: warning: this is the location of the previous definition
In file included from ../../../src/boost/boost/config.hpp:35,
                 from ../../../src/boost/boost/python/detail/config.hpp:15,
                 from ../../../src/boost/boost/python/objects.hpp:13,
                 from ../../../src/python/python_class.h:19,
                 from hard_coded_scripts.cpp:9:
../../../src/boost/boost/config/compiler/gcc.hpp:57:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results"
In file included from ../../../src/boost/boost/python/reference.hpp:23,
                 from ../../../src/boost/boost/python/objects.hpp:14,
                 from ../../../src/python/python_class.h:19,
                 from hard_coded_scripts.cpp:9:
../../../src/boost/boost/python/conversions.hpp: In function `EnumType boost::python::from_python(PyObject*, boost::python::type<X>)':
../../../src/boost/boost/python/conversions.hpp:47: error: there are no arguments to `from_python' that depend on a template parameter, so a declaration of `from_python' must be available
../../../src/boost/boost/python/conversions.hpp:47: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undecl
...and so on. I'm definately not a "compile-o-phobe" but this one looks hard.
 
Old 07-30-2004, 05:13 PM   #4
Mike Blick
Member
 
Registered: May 2002
Location: Los Angeles
Distribution: Mandrake 10, LFS 4.1
Posts: 179

Rep: Reputation: 30
Vega Strike is known for terrible compile problems in Linux. It took me hours and hours to get mine compiled with the help of a Vega Strike devel on Mandrake 9. Their forums are a good place to get compile help as almost everyone useing linux posting on them has had compile problems with the game.
 
Old 08-02-2004, 08:30 AM   #5
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Original Poster
Rep: Reputation: 15
You know, I was sure that I had read through the Vega strike compiling guide with a fine tooth comb and couldn't find anything related to my difficulties with Vega Strike, but after going back again, this time serching under GL instead of red hat 9, then realizing what I had was a #define error, then going back to the FAQ and realizing again that my errors were indeed of the common garden variety error, I made the change and Bango! it compiled! Go Linux!

For those who may have the same problem - Quote fome the Vega Stike FAQ

Q5(Link): When compiling VS I get a "glXGetProcAddress" or "glXGetProcAddressARB" error.

A:

* Preferred way: Inserting the following lines into the file gl_init.cpp (Forum httpLink)

#define GLX_GLXEXT_PROTOTYPES
#include <GL/glx.h>

the error undefined glXGetProcAddressARB came up during the "make" stage

the files gl_init.ccp was in the directory /usr/local/games/vegastrike-0.4.1-installer/vegastrike.src/gldrv

if I could put in my own 2 cents, I don't think the setup.sh script is such a hot idea considering the trouble people have had compiling this game. Doing the tar extraction, ./configure, make and make install, step by step from the begining with a good INSTALL instruction file and with troubleshooting hints may have saved some aggravation. Also a list of libraries required with the versions needed might be nice too.

Having said that, I'm sure I will forget it after I go blasting some bad dude alien ships. The game looks very good, the little I have seen.

I do normally like to compile source code. It is one of the joys of Linux that most windows users will never experience. It can of course give some heaches with obscure errors but the control over your system is unequalled.

azraelder
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble installing Vega Strike Nay_Nay Linux - Newbie 1 11-30-2005 02:47 AM
Having Trouble installing red hat 8 Troubledyouth Linux - Software 14 07-10-2005 08:52 PM
trouble with red hat 7 installation! hakim Linux - Newbie 1 05-23-2004 08:55 PM
Launching Vega Strike Diode Linux - Software 1 02-23-2004 01:05 AM
Red Hat ifconfig trouble OrganicX Linux - Networking 4 10-26-2002 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration