(Illustration by Gaich Muramatsu)
Maurice van der Pot <griffon26_at_gentoo.org> writes: > On Mon, Apr 24, 2006 at 08:43:29PM -0400, Greg Troxel wrote: >> CPPFLAGS is for cpp, not c++, which is CXXFLAGS. Or at least that's >> the normal way to do it. > > Right you are. My bad. > >> Have you tried it? On what system? With what kerberos? With what >> configure options? Perhaps you could tell us what you did and what >> happened. > > The info you asked for: > > I was trying to install Coda 6.0.14 and have it use kth-krb-1.2.2. > > $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-krb4 --with-krb4-includes=/usr/athena/include --build=i686-pc-linux-gnu > > from config.log: > ------------------------------------------------------ > configure:6520: checking krb.h usability > configure:6532: i686-pc-linux-gnu-gcc -c -march=pentium4 -O2 -pipe -g conftest.c >&5 > conftest.c:59:17: krb.h: No such file or directory > ------------------------------------------------------ Well that compile didn't pass the -I flag. It's odd that kth-krb is in /usr/athena. I would look at configure.ac and see how the krb4 includes/libs are handled, and why they aren't in CPPFLAGS, or why CPPFLAGS isn't used in the test compile. > # ls -al /usr/athena/include/krb.h > -rw-r--r-- 1 root root 11069 May 1 19:35 /usr/athena/include/krb.h > > Checking for krb.h happens in configure between lines 6507 and 6653 in > configure. --with-krb4-includes is handled from 6744 upto 6796. -- Greg Troxel <gdt_at_ir.bbn.com>Received on 2006-05-01 14:27:26