autobuild for Linux, FreeBSD, OS X
I had some free time and thought it would be nice to have autobuild scripts for eqemu.
Ok, here it is! This will make the build process easier. For example to enable bots, simply configure with Code:
configure --enable-bots --prefix=/path/to/install The build system is tested with - Mac OS X 10.5.6 (Intel Mac) - Debian GNU/Linux 5.0.1 32bit (Pentium 4) - Debian GNU/Linux 5.0.1 64bit (Intel Quad Core) Ok, some features: - detect build system OS(Linux/FreeBSD/Darwin), architectur (32/64bit) - detect mysql - detect perl - set install path - installs all needed files! - build options (Bots/Debug/LogLevel/Compile Warnings) not yet implemented: - detect libperl here is a overview of the configure options: Code:
--prefix path to install cd into the EQEmulator Source directory get the build system Code:
wget http://quadfreunde-ergoldsbach.de/eqemu/eqbuild.tgz Code:
tar xvzf eqbuild.tgz Code:
sh prepare.sh Code:
autoreconf -fi Code:
mkdir build Code:
cd build Code:
../configure --prefix=/path/to/install To enable bots configure with Code:
../configure --enable-bots --prefix=/path/to/install Code:
../configure --with-loglevel=3 --prefix=/path/to/install Code:
make Code:
make install |
Interesting. Is this something that has to be rebuilt with each revision, or will it automatically download new revision files?
|
the archive has a folder called EMUShareMem, should be called EMuShareMem, otherwise seems to work
|
Quote:
Quote:
Code:
configure --prefix=/path/to/install |
Dude, this is awesome. I have a script that I use to download and build everything but that is small potatoes compared to this. I may combine that with this to get a fully functional build.
|
I've been commissioned to take a look at this and possibly add it to the SVN, if that's alright, with you erde? This is exactly what *nix users of EQEmu have needed for some time!
|
Quote:
|
Is there an option to over-ride the gcc, g++ and library versions? Auto-detection will fail on my system.
|
Quote:
CC=gcc-4.0 CPP=cpp-4.0 ../configure |
Update the archive! There was a problem with the --with-loglevel option
|
Quote:
|
It looks like the m4 directory wasnt created. normally "autoreconf -fi" should create it.
could you rerun "autoreconf -fi" in the root source dir, if there is no m4 directory create one with "mkdir m4" and try again. Do you have libtool installed? |
Quote:
Currently in the works: - options to specify the path to mysql_config - cleanups - comments |
does eqemu compile on freebsd?
|
Quote:
|
All times are GMT -4. The time now is 12:14 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.