Hello Benjamin!
On Thursday 01 May 2008 Benjamin M. wrote:
...
> $ /usr/local/apr/bin/apr-1-config --includedir
> /usr/local/apr-1.2.12/include/apr-1
So your apr installation says that this directory has the header files; that's
what's written in the Makefile, too:
CFLAGS := -g -O2 ... -idirafter /usr/local/apr-1.2.12/include/apr-1
Why does your apr installation lie to you? You've got the header files
in "/usr/local/apr-util-1.2.12/include/apr-1/apr_md5.h" - that's too deep, by
the two levels "include/apr-1".
If I do the same for debian I get
# apr-1-config --includedir
/usr/include/apr-1.0
# ls /usr/include/apr-1.0/
apr_allocator.h apr_file_info.h apr_ldap_init.h
...
But I see: you said
> $ which apr-1-config
> /usr/local/bin/apr-1-config
ie. your apr-1-config is found in $PATH in /usr/local/bin, but you ask another
instance:
> $ /usr/local/apr/bin/apr-1-config --includedir
> /usr/local/apr-1.2.12/include/apr-1
You've got more than a single installation of apr - and that seems to give you
the problems.
Probably one installation removed the "old" include headers, but put its
apr-1-config in a later directory in $PATH - so the wrong one is called, with
stale data.
> > Maybe you could try using the --with-aprinc parameter for ./configure.
> I've tried and it doesn't change anything...
The given value should override anything found by apr-config.
Did you
give "--with-aprinc=/usr/local/apr-util-1.2.12/include/apr-1/apr_md5.h" to
configure?
If that all fails, just change the line in the Makefile (correct path) - then
it should compile.
BTW: Why are you using 1.1.7 and nothing current?
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]