| 1 | | |
| 2 | | |
| 3 | | '''TODO''' Can somebody please merge this with [wiki:Building/KnownProblems]? |
| 4 | | |
| 5 | | = Common build problems = |
| 6 | | |
| 7 | | == General builds == |
| 8 | | |
| 9 | | === GCC 4 issues === |
| 10 | | |
| 11 | | It has been observed on Gentoo systems that GCC 4 may fail, complaining about there being no {{{-nopie}}} option. You can either use GCC 3, re-emerge ghc or just edit your {{{/usr/bin/ghc}}} script to remove the {{{-nopie}}} flag (the latter is by far the quickest and is perfectly safe). |
| 12 | | |
| 13 | | == Building from the Darcs tree == |
| 14 | | |
| 15 | | '''Problem''':: |
| 16 | | {{{ |
| 17 | | Distribution/Compat/FilePath.hs:2: error: Cabal/Distribution/Compat/FilePath.hs: No such file or directory |
| 18 | | make[1]: *** [depend] Error 1 |
| 19 | | make: *** [stage1] Error 1 |
| 20 | | }}} |
| 21 | | '''Possible Solution''':: |
| 22 | | Be sure you have run {{{sh darcs-all get}}} to get all necessary packages. Don't forget to run {{{autoreconf}}} again after you pull in new packages. |
| | 1 | This page has become the [wiki:Building/FAQ Building Guide FAQ]. |