Benjamin M. | 30 Apr 20:31

FSVS 1.1.7 and up: apr_md5.h: No such file or directory (CentOS 5)

Hi Phil,

Under CentOS 5 with version 1.1.7 and up (no problem with previous 
versions) I have the following error:

$ make
cc -g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter 
/usr/local/include -idirafter /usr/include -idirafter /openpkg/include 
-idirafter /usr/local/apr-1.2.12/include/apr-1 -Wall -funsigned-char -Os 
-DFSVS_VERSION='"fsvs-1.1.7:993"' -c -o ac_list.o ac_list.c
In file included from ac_list.c:9:
global.h:19:21: error: apr_md5.h: No such file or directory
In file included from ac_list.c:9:
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...

Ben.
Philipp Marek | 1 May 09:18

Re: FSVS 1.1.7 and up: apr_md5.h: No such file or directory (CentOS 5)

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.

(Continue reading)


Gmane