RPMs from tar.bz2

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
neptune

RPMs from tar.bz2

Post by neptune »

Could someone explain me how to build 3 rpms from a
vegastrike-0.4.1-installer.tar.bz2
Thanks.
(Fedora Core 1)
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

do the supplied rpm's not work? I'm not sure you've got everything you need with the installer.....I haven't looked at that....you need the vegastrike source, and data and music (and three .spec files -- vegastrike.spec, vegastrike-data.spec, vegastrike-music.spec -- that may or may not be with them)

Dan.a
Guest

Post by Guest »

Today I've downloaded these rpms...
vegastrike-0.4.1-gcc3.2_1.i386.rpm
vegastrike-data-0.4.1D-1.noarch.rpm
and built OpenAL-0.0.6-CVS311202.i386.rpm from cvs

All looks fine. But in fact when i tried making from bz2 - no vegastrike run file was built. No errors were during building.
neptune

Post by neptune »

By the way there is only vegastrike.spec in this vegastrike-0.4.1-installer.tar.bz2
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

okay...so do you still want to build from source? vegastrike.spec should be all you bneed now that you've got the data....

Dan.a
neptune
Star Pilot
Star Pilot
Posts: 7
Joined: Fri Feb 06, 2004 2:39 pm
Contact:

Post by neptune »

This spec is ver 0.3.1

When I build rpm i get this error

make[4]: Leaving directory `/home/neptune/rpm/BUILD/vegastrike/src/gfx'
make[3]: Leaving directory `/home/neptune/rpm/BUILD/vegastrike/src/gfx'
Making all in gldrv
make[3]: Entering directory `/home/neptune/rpm/BUILD/vegastrike/src/gldrv'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python2.2 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -MT gl_init.o -MD -MP -MF ".deps/gl_init.Tpo" \
-c -o gl_init.o `test -f 'gl_init.cpp' || echo './'`gl_init.cpp; \
then mv -f ".deps/gl_init.Tpo" ".deps/gl_init.Po"; \
else rm -f ".deps/gl_init.Tpo"; exit 1; \
fi
gl_init.cpp: In function `void init_opengl_extensions()':
gl_init.cpp:106: error: `glXGetProcAddressARB' undeclared (first use this
function)
gl_init.cpp:106: error: (Each undeclared identifier is reported only once for
each function it appears in.)
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[3]: *** [gl_init.o] Error 1
make[3]: Leaving directory `/home/neptune/rpm/BUILD/vegastrike/src/gldrv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/neptune/rpm/BUILD/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neptune/rpm/BUILD/vegastrike'
make: *** [all] Error 2
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

ugh
the easiest is to get the gl headers from nvidia
otherwise you have to #define glXGetAddressARB to be glXGetAddress at the top of the file with errors

#define glXGetAddressARB glXGetAddress
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply