Hello Benjamin!
On Wednesday 30 April 2008 Benjamin M. wrote:
> Under CentOS 5 with version 1.1.7 and up (no problem with previous
> versions) I have the following error:
>
> $ make
...
> global.h:51: error: ‘APR_MD5_DIGESTSIZE’ undeclared here (not in a
> function) global.h:286: warning: type defaults to ‘int’ in declaration of
> ‘md5’ make[1]: *** [ac_list.o] Error 1
> make: *** [default-target] Error 2
>
> $ locate apr_md5.h
> /usr/include/apr-1/apr_md5.h
> /usr/local/apr-util-1.2.12/include/apr-1/apr_md5.h
> /usr/local/include/apr-1/apr_md5.h
>
> Any idea? Seems to have lot of changes between 1.1.6 and 1.1.7...
Do you use a fresh checkout/tar ball, or did you update? From 1.1.6 to 1.1.7
the configure.in has been moved out of src/, and that might make problems -
you have to run ./configure in the outer directory.
rev645 was: "Bugfix for CentOS and similar, where we'd get newlines in INCDIR
(it seems that the shell doesn't substitute them to spaces)"
Maybe there something went wrong?
Please get a fresh source directory, run the ./configure script, and send me
the src/Makefile for comparision.
Do you have a apr-config and/or apr-1-config? What do they say
for --includedir?
Maybe you could try using the --with-aprinc parameter for ./configure.
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]