Hi,
I am currently able to build rpm from CVS only when using:
"./configure --prefix /usr"
The issue come from beecrypt include dir, configure.ac search "beecrypt/any.h"
but later hardcode "-I/beecrypt" and so in this
is "/usr/local/include" whereas beecrypt is installed into "/usr/include/".
Also in rpmio_internal.h we have such code:
#include "beecrypt.h"
but it should be "beecrypt/beecrypt.h" except when using internal one.
Suggest fix:
- removing "-I/beecrypt" if found
- adding a define in config.h "#RPM_INTERNAL_BEECRYPT"
- changing {.h,.c} to something like
#ifdef #RPM_INTERNAL_BEECRYPT
#include "beecrypt.h"
#else
#include "beecrypt/beecrypt.h"
#endif
Do you agree with that ?
Regards.
- application/pgp-signature attachment: stored
Received on Mon May 28 12:28:10 2007