configure cannot find headers for libreadline
Hello everybody, Configure cannot find the headers for libreadline, although they are definately present. I tried setting the CPPFLAGS as in setenv CPPFLAGS -I/usr/locacal/gnu/include ./configure --prefix=/home/thef/chrisd/c++ but still configure does not find them. Does somebody know how to solve this problem? Note: I am on a unix where I am not allowd to set symlinks in system include dirs. (If this were allowed, I would probably not be posting anything here). Greetings, Chris Dams
On Thu, 12 Jul 2001, Chris Dams wrote:
Configure cannot find the headers for libreadline, although they are definately present. I tried setting the CPPFLAGS as in setenv CPPFLAGS -I/usr/locacal/gnu/include ./configure --prefix=/home/thef/chrisd/c++ but still configure does not find them. Does somebody know how to solve this problem? Note: I am on a unix where I am not allowd to set symlinks in system include dirs. (If this were allowed, I would probably not be posting anything here).
Usually exporting CPPFLAGS is it. At least for finding the headers. Then you also might have to export LDFLAGS so it can find the linkable libreadline but this has nothing to do with the header. Please study the output of configure (file config.log) carefully, usually you can find the source of the problem there. Regards -richy. -- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/>
Hello everybody, On Thu, 12 Jul 2001, Richard B. Kreckel wrote:
Usually exporting CPPFLAGS is it. At least for finding the headers. Then
Well, I found the source of the problem. The result of looking for the headers is stored in the cache file of configure, so if you run configure, see that it cannot find a header file, set CPPFLAGS, run configure again, it does not do anything with the CPPFLAGS but it uses the cache file that says the header file is not present. sigh... The solution is saying somehting like ./configure --prefix=/home/thef/chrisd/c++ --cache-file=/dev/null Greetings Chris Dams
On Thu, 12 Jul 2001, Chris Dams wrote:
Well, I found the source of the problem. The result of looking for the headers is stored in the cache file of configure, so if you run configure, see that it cannot find a header file, set CPPFLAGS, run configure again, it does not do anything with the CPPFLAGS but it uses the cache file that says the header file is not present. sigh...
The solution is saying somehting like ./configure --prefix=/home/thef/chrisd/c++ --cache-file=/dev/null
Alternatively, `make distclean' will `rm -f config.cache'. Regards -richy. -- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/>
participants (2)
-
Chris Dams
-
Richard B. Kreckel