Sundial Services wrote:
> Well, I'm just doing configure/make. I briefly looked at the Makefile to
> see if I could edit the '-I' clauses in gcc
For configure:
<quote>
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
headers in a nonstandard directory <include dir>
</quote>
ipsec-tools-0.4 src also supports --with-kernel-headers option, it seems.
If you're using bash, for example,
CPPFLAGS="-I/usr/src/linux/include" configure
It should be incorporated into the makefiles for you.
> but ... what keeps bugging me
> here is "this stuff is supposed to work." I must be doing something
> stupid
> or trying something against the wrong version of something-else. Is that
> a valid assumption, or is compiling/installing stuff in Linux harder than
> I thought it would be?
Not if you're doing it by hand. After I realized that I was starting to
create my own distro (well, not really) just trying to compile a few
programs in Mandrake, I decided to move away from the binary-only model. I
used to have to rewrite the source code a little, as well, just to get it
to compile.
> I got a /slew/ of weird errors when I tried to point at the Linux
> includes. And like I said, I'm reluctant to start "throwing things at"
> this problem
Want to post a few of them? Like the first few, particularly the ones that
refer to errors about conflicting header definitions, missing files? Etc?
> if I'm just doin' something dumb here. For instance, /is/ this a
> compatible kernel? It's got an 0.2 or 0.3 version of ipsec-tools
> installed as a package...
0.4 ipsec-tools README says: "This package provides a way to use the native
IPsec functionality in the Linux 2.6+ kernel."
Jon.
-- * Does the walker choose the path, or does the path choose the walker?
(fr. Sabriel) * --
|