| 1 | | == Installing GenI == |
| 2 | | |
| 3 | | 1. I can't {{{cabal install wx}}}: |
| 4 | | * '''Solution''': 2009-02-14: Try |
| 5 | | {{{ |
| 6 | | cabal install wx --configure-opt="--user --enable-split-objs --hcprof |
| 7 | | }}} |
| 8 | | 1. Every time I try to {{{cabal install}}} GenI, it keeps trying to build wxcore (and fails!) |
| 9 | | * This is a tricky one. For some reason cabal-install keeps trying to re-install wx |
| 10 | | * '''Workaround''': 2009-02-14 : install GenI by hand ({{{runhaskell Setup configure --user; runhaskell Setup build; runhaskell Setup install}}}) |
| 11 | | 1. I get this error when I try to do {{{runhaskell Setup configure}}}: |
| 12 | | {{{ |
| 13 | | GHCi runtime linker: fatal error: I found a duplicate definition for symbol |
| 14 | | waitForProcess |
| 15 | | whilst processing object file |
| 16 | | /home/me/.cabal/lib/process-1.0.1.1/ghc-6.10.1/HSprocess-1.0.1.1.o |
| 17 | | This could be caused by: |
| 18 | | * Loading two different object files which export the same symbol |
| 19 | | * Specifying the same object file twice on the GHCi command line |
| 20 | | * An incorrect `package.conf' entry, causing some object to be |
| 21 | | loaded twice. |
| 22 | | GHCi cannot safely continue in this situation. Exiting now. Sorry. |
| 23 | | }}} |
| 24 | | * '''Workaround''': 2009-02-14: I don't know the proper solution to this yet, but I found that it helps to {{{ghc --make Setup}}} and then call {{{./Setup}}} instead of runhaskell Setup |
| 25 | | |
| 26 | | == Running GenI for the first time == |
| 27 | | |
| 28 | | 1. I get this error when I run GenI (wxHaskell 0.11 ; wxWidgets 2.8), and GenI refuses to load |
| 29 | | {{{ |
| 30 | | (process:11334): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.18.2/gobject/gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function |
| 31 | | |
| 32 | | (process:11334): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed |
| 33 | | |
| 34 | | (process:11334): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed |
| 35 | | }}} |
| 36 | | * '''Solution''': 2009-02-14: upgrade to a later wxHaskell (the darcs version) - see http://www.haskell.org/haskellwiki/WxHaskell/Troubleshooting |
| 37 | | 1. I get this error when I try to run GenI: |
| 38 | | {{{ |
| 39 | | geni: error while loading shared libraries: libwxc-gtk2.8.8-0.11.1.so: cannot open shared object file: No such file or directory |
| 40 | | }}} |
| 41 | | * '''Solution''': 2009-02-14: add the wxhaskell lib directory to your LD_LIBRARY_PATH, for example in bash: |
| 42 | | {{{ |
| 43 | | export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${HOME}/.cabal/lib/wxhaskell-0.11.1/lib |
| 44 | | }}} |
| 45 | | 1. GenI segfaults |
| 46 | | * Argh! Sounds like a potential wxHaskell bug. Try {{{--no-gui}}} |
| 47 | | * 2009-02-14: I have filed http://sourceforge.net/tracker2/?func=detail&aid=2599836&group_id=73133&atid=536845 |
| 48 | | 1. I get this error why I try to run GenI: |
| 49 | | {{{ |
| 50 | | geni: relocation error: geni: symbol _ZTV13wxGraphicsPen, version WXU_2.8 not defined in file libwx_gtk2u_core-2.8.so.0 with link time reference |
| 51 | | }}} |
| 52 | | * '''Solution''' : 2009-10-12 this indicates that you're dynamically linking against a different version of wxWidgets than the one you compiled wxHaskell against. Check your .bash_profile (or the equivalent .cshrc file) to make sure you don't have any stray LD_LIBRARY_PATH environment variables pointing to an older wxWidgets |
| 53 | | == How to do cool things == |
| 54 | | |
| 55 | | 1. How do I use the paraphrase selection mechanism documented in ''A Symbolic Approach to Near-Deterministic Surface Realisation using Tree Adjoining Grammar''? |
| 56 | | * At the time of this writing (2009-01-22), there is no documentation on this. Sorry. See ParaphraseSelection and ask Eric Kow for more details. |
| 57 | | 1. What's wrong with lexical items that have an empty semantics? |
| 58 | | * Infinite loops, especially but not necessarily if the item is an auxiliary tree |
| 59 | | * Difficulty constructing a polarity automaton - except maybe for pronouns if you enable the zero literal semantic items |
| 60 | | |
| | 1 | See https://github.com/kowey/GenI/wiki/faq |