I've been trying to build the latest gnu-cash. When building gnu-cash I kept getting g-wrap-wct.h errors. On further investigation I found that the configurations script attempts to compile some headers provided by g-wrap. (run the configure script in gnucash-2.0.4 to see this). These basically attempt to compile /usr/include/g-wrap-wct.h, which includes a number of nested includes. Eventually, it fails not being able to fine <ffitarget.h>. GCC 4.1 provides this under /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/libffi/ffitarget.h. If you make a symlink from there to /usr/include, and recompile g-wrap, gnucash will build. I'm not sure whether this is an issue with the ffi includes provided by GCC 4.1, or a bug in the headers provide by g-wrap. It's a pain nonetheless. (Yes, I suppose I could have downloaded, compiled, and installed libffi and that might have fixed it, but the 26 megabytes of download and compile motivated me to find another solution. Reproducible: Always Steps to Reproduce: Move to compiler 4.1.1. Do not include libffi. Build guile, g-wrap-1.9.6, and gnucash-2.0.4 Gnucash will fail to build, complaining about g-wrap-wct.h Actual Results: Build fails in configure step. Sorry, I worked around it before I got around to posting a bug. Expected Results: I should have to create scary symlinks to get it to compile. (See description)
Uhm, post some errors you get when compiling please.