Changes between Version 180 and Version 181 of BuildInstructions
- Timestamp:
- Jun 28, 2012, 8:11:59 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructions
v180 v181 20 20 * [#Linux Linux] 21 21 * [#OSX OS X] (currently 10.6 or newer) 22 * [# FreeBSD FreeBSD] (only experimental support at this time)22 * [#BSD FreeBSD/OpenBSD] (only experimental support at this time) 23 23 * Up-to-date system software (Windows service packs, graphics driver updates, etc) 24 24 * Some technical proficiency. We try to make the build process as smooth and painless as possible, but it's designed to be followed by programmers - if you just want to play the game, wait for a pre-packaged installer instead. … … 326 326 * Then, restart the compilation starting from `./update-workspace.sh` 327 327 328 == FreeBSD ==329 '''Note: thisis a work in progress and should be considered experimental. That means don't try it unless you "know what you're doing" :)'''330 331 * Install the following ports or packages ( using `pkg_add -r`):332 * sdl328 == BSD == 329 '''Note: The *BSD support is a work in progress and should be considered experimental. That means don't try it unless you "know what you're doing" :)''' 330 331 * Install the following ports or packages (names probably differ depending on the BSD variant):[[BR]] 332 Install commands for the variants are provided below. 333 333 * boost-libs 334 * png 334 * cmake 335 * curl 335 336 * execinfo 336 * libxml2 337 * gamin 338 * gmake 337 339 * libGL 338 * openal 339 * zip 340 * libjpeg 340 341 * libogg 341 342 * libvorbis 342 * curl343 * gamin344 * cmake345 * wxgtk2-unicode - required to build Atlas tools343 * libxml2 344 * openal 345 * png 346 * sdl 346 347 * subversion 348 * wxWidgets-gtk2 (unicode) - required to build the Atlas editor 349 * zip 347 350 * '''Note:''' GCC 4.2.1 and zlib should already be installed by default 348 {{{349 #!sh350 pkg_add -r sdl boots-libs png execinfo libxml2 libGl openal zip libogg \351 libvorbis curl gamin cmake wxgetk2-unicode subversion352 }}}353 354 351 * Obtain the game's source code as [#Gettingthecode described above] for Linux. 355 * TODO: Fix missing ecvt() 352 * Check for any variant specific issues below. 353 * '''Note:''' Our build scripts should detect that you are running *BSD and use `gmake` as the make command. If for some reason this isn't correct, you can set the `MAKE` environment variable to the correct GNU make path. 354 * Follow the [#Building build] instructions above for Linux. 355 356 === FreeBSD === 357 * Install the dependencies with: 358 {{{ 359 #!sh 360 pkg_add -r boost-libs cmake curl execinfo gamin gmake libGL libjpeg-turbo \ 361 libogg libvorbis libxml2 openal png sdl subversion wxgtk2-unicode zip 362 363 }}} 364 365 * TODO: Fix missing ecvt() (see #1325) 356 366 * If building Atlas, you need to set the `WX_CONFIG` variable, because `wx-config` has a different name on FreeBSD. For example, you'd run this command if you built the wxGTK 2.8 package with unicode support: 357 367 {{{ … … 361 371 if not correct, you will get errors about missing "wx/*.h" includes. You can skip building Atlas altogether (and the wxWidgets dependency) by later passing the `--disable-atlas` option to `update-workspaces.sh`. 362 372 * You'll have to set this variable every time you run `update-workspaces.sh`, so it may be most convenient to put these commands into another shell script. 363 * '''Note:''' FreeBSD's `make` command is actually Berkeley [http://www.freebsd.org/cgi/man.cgi?query=make make], which is similar to but different than GNU make. Our build scripts will detect if you're on FreeBSD and use the `gmake` command instead. If for some reason this isn't correct, you can set the `MAKE` environment variable with the path and name of the correct GNU make. 364 * Follow the [#Building build] instructions above for Linux. 373 374 === OpenBSD === 375 * Install the dependencies with: 376 {{{ 377 #!sh 378 pkg_add -i boost cmake curl gamin gmake jpeg libexecinfo libogg libxml \ 379 openal png sdl subversion zip 380 }}} 381 * As OpenBSD's packaged libxml isn't build with threading support, building Atlas is not possible so you should run `update-workspaces.sh` with the `--disable-atlas` option. 382 * You probably need to rename the generated !SpiderMonkey lib to `libmozjs185-ps-{debug,release}.so.1.0.1.0` and run pyrogenesis with `LD_PRELOAD=/usr/local/lib/libogg.so.6.2:/usr/local/lib/libvorbis.so.8.0` (see #1463). 365 383 366 384 == Known problems and solutions ==