next up previous contents
Next: Other Problems / Questions Up: Installation Problems Previous: How can I get   Contents

Mahogany fails to find wxWindows, Configure fails

The following steps should identify and solve the problem:

  1. Do a "make install" for wxWindows and watch the output, it should copy lots of things to /usr/local/....
  2. Do a "which wx-config", it should report wx-config to be in /usr/local/bin
  3. Just type "wx-config -cflags", it should run the wx-config script and report the compiler flags, which should include something like "-I/usr/local/include".
  4. Then go to the Mahogany directory and "rm *cache*" to remove old configuration info and run ./configure
  5. This *should* find wx/wx.h if all of the above worked, if not, look at the end of config.log to see what went wrong.
  6. If it does not find the wxWindows library, you need to add /usr/local/lib to either your LD_LIBRARY_PATH or to /etc/ld.conf (and run ldconfig as root), then remove *cache* and try again. Again, if something fails, look at config.log.



Charlie & 2001-04-19