There seems to be a power struggle between beecrypt and rpm,
in who gets first to typedef the declaration of a "byte"...
As long as beecrypt is first, all is well. But when beecrypt
is second, such as include rpmio_internal.h, then rpm loses:
In file included from /opt/local/include/beecrypt/beecrypt.h:33,
from ../rpmio/rpmio_internal.h:20,
from RPM_Files.xs:11:
/opt/local/include/beecrypt/api.h:66: error: redefinition of typedef
'byte'
../rpmio/rpmpgp.h:18: error: previous declaration of 'byte' was here
As a workaround, I made sure that beecrypt was getting included.
http://www.algonet.se/~afb/rpm/5.0/rpm-5.0-perl_beecrypt_api.patch
--anders
Received on Fri Aug 10 20:39:49 2007