Talk:Building:Linux:SCons
From FIFE development wiki
[edit] scons, pkg-config: useenv
This no longer works, the relevant lines have been removed from SConstruct at some point in time. This makes it harder to compile FIFE when:
- You are not root and have a required lib installed in a non-standard location (the compiler needs -I & -L flags). The only workaround seems to be setting those in build/linux2-config*.
- You have multiple versions of a library installed and want to use a specific one (in a non-standard location) and scons chooses a different one; I found this while trying to build against guichan 0.4.
The required changes are in older revs of SConstruct, for example lines 8, 16 + 17 in: https://mirror1.cvsdude.com/trac/fife/engine/browser/BRANCHES/experimental/core/SConstruct?rev=270
Neither should happen too often for most people; I don't mind hacking the scons files if needed. So should we bring the feature back or remove the docs? --Skybound 18:44, 3 May 2007 (CEST)
[edit] pgk-config guide
Does anyone know pkg-config in detail and would like to write a guide how to use it, especially for FIFE? There are also a number of package config files that reside in trunk/build/linux/pkg-config now. They've been copied from the Mac build directory, so they still come with standard Mac paths. Could anyone with the required knowledge change these linux pkg-config files so they contain linux standard paths and not Mac ones?
--barra 09:58, 30 May 2007 (CEST)

