Difference between revisions of "HowTo:Compile from SVN on Linux"
Line 69: | Line 69: | ||
| previous=[[HowTo:Cygwin Compiling|Compiling with Cygwin]] | | previous=[[HowTo:Cygwin Compiling|Compiling with Cygwin]] | ||
| up=[[HowTos]] | | up=[[HowTos]] | ||
− | | next=[[HowTo: | + | | next=[[HowTo:Compile_on_OSX|Compiling from SVN on Mac OSX]] |
}} | }} | ||
[[Category:HowTos|Compile from CVS]] | [[Category:HowTos|Compile from CVS]] |
Revision as of 14:16, 7 October 2006
Compiling with Cygwin | HowTos | Compiling from SVN on Mac OSX |
How to compile from SVN under Linux.
See also: HowTo:Cygwin Compiling, HowTo:VCPP Compiling
Getting the SVN-files
- Checkout the following modules ...
- data package:
data4.x
- code package:
vegastrike
- data package:
- Visit HowTo:Checkout SVN to see how you check these modules out.
Requirements
In order to compile Vegastrike there are a few things to check:
- Make sure you have these packages installed ...
-
make
-
gcc
-
automake
-
autoconf
-
X11
... -
libpng
+libpng-devel
<-- libpng 3 is recommended. -
python
andpython-dev
<-- 2.2.1 -
expat
-
(lib)jpeg
+libjpeg-devel
-
opengl
(see below) (you probably already have it) -
glut
+glut-devel
-
openal
+openal-devel
-
inetutils
-
- When using
libpng 1.2
,--with-png-inc=<DIR>
is needed - To be sure set the data dir to you vs-data dir:
./configure --with-data-dir=<DIR> ........
- If you don't want to compile with GTK just turn it off:
./configure --enable-nogtk ...........
- This may be necessary depending on your compiler version: (See this thread in the forum)
./configure --enable-boost-128 ...........
Compiling
The compile procedure should look like the following listing. Remember the configure part depends on above requirements. Though autoconf may not work, if so just skip it.
cd ./vegastrike ./bootstrap-sh ./configure --enable-boost-128 --enable-debug --enable-ggdb3 --with-data-dir=<DIR> make vegastrike make soundserver make install
Note: enable-ggdb3
is only needed if you have a weird incompatible version of gcc and gdb that causes gdb to hang in some cases, such as in my version of debian.
Note: ggdb3 and debug can both be taken out if you don't want debug symbols and want VS to be faster.
Notes
Copied from VsHowtoCompileCvsCygwin and modified by Ace123 on 2003.07.21.
See also
- "make clean/distclean" thread in the forum - A quite helpful thread about the make process.
Compiling with Cygwin | HowTos | Compiling from SVN on Mac OSX |