On Apr 23, 2008, at 6:59 PM, Graham Jenkins wrote: > 1) I've got libctl-3.0.3, and I'm doing: > > ./configure --prefix=/opt/sw/meep-0.10.1f --with-mpi > --with-libctl=/opt/sw/libctl-3.0.3/share/libctl > > And what I get back is: > configure: WARNING: ctl.h: accepted by the compiler, rejected by the > preprocessor! > configure: WARNING: ctl.h: proceeding with the compiler's result > checking for ctl.h... yes > checking whether libctl version is at least 3.0.0... configure: error: > libctl > version 3.0.0 or later is required > > I got around this by hacking the configure script so it doesn't do the > error exit. > But there must be a better way?
If the C preprocessor is failing, you really need to figure out why rather than hacking the configure script to ignore it. If you look in the config.log file, you will find the exact error message that indicates why the preprocessor failed to process ctl.h. Editing the configure script almost always indicates that you are making a mistake. (It might be as simple as adding CPPFLAGS=-I/opt/sw/include to the configure command line, to tell the preprocessor where to find header files. See also the section on installation paths in the manual.) Steven _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

