Version 11 (modified by kowey, 5 years ago)

one more error

Installing GenI

  1. I can't cabal install wx:
    • Solution: 2009-02-14: Try
      cabal install wx --configure-opt="--user --enable-split-objs --hcprof
      
  2. Every time I try to cabal install GenI, it keeps trying to build wxcore (and fails!)
    • This is a tricky one. For some reason cabal-install keeps trying to re-install wx
    • Workaround: 2009-02-14 : install GenI by hand (runhaskell Setup configure --user; runhaskell Setup build; runhaskell Setup install)
  3. I get this error when I try to do runhaskell Setup configure:
    GHCi runtime linker: fatal error: I found a duplicate definition for symbol
       waitForProcess
    whilst processing object file
       /home/me/.cabal/lib/process-1.0.1.1/ghc-6.10.1/HSprocess-1.0.1.1.o
    This could be caused by:
       * Loading two different object files which export the same symbol
       * Specifying the same object file twice on the GHCi command line
       * An incorrect `package.conf' entry, causing some object to be
         loaded twice.
    GHCi cannot safely continue in this situation.  Exiting now.  Sorry.
    
    • 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

Running GenI

  1. I get this error when I run GenI (wxHaskell 0.11 ; wxWidgets 2.8), and GenI refuses to load
    (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
    
    (process:11334): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
    
    (process:11334): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed
    
  2. I get this error when I try to run GenI:
    geni: error while loading shared libraries: libwxc-gtk2.8.8-0.11.1.so: cannot open shared object file: No such file or directory
    
    • Solution: 2009-02-14: add the wxhaskell lib directory to your LD_LIBRARY_PATH, for example in bash:
      export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${HOME}/.cabal/lib/wxhaskell-0.11.1/lib
      
  3. GenI segfaults
  4. I get this error why I try to run GenI:
    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
    
    • 2009-10-12: Not sure

How to do cool things

1. How do I use the paraphrase selection mechanism documented in A Symbolic Approach to Near-Deterministic Surface Realisation using Tree Adjoining Grammar?

  • 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.

1. What's wrong with lexical items that have an empty semantics?

  • Infinite loops, especially but not necessarily if the item is an auxiliary tree
  • Difficulty constructing a polarity automaton - except maybe for pronouns if you enable the zero literal semantic items