Miller, Vincent (Rick) wrote:
> I'm compiling RPM 5.3.11 on FreeBSD 8.2-RELEASE and encountered an error that is more fundamental than previous errors. dbconvert.c makes calls to various hto*() functions, which are not defined in FreeBSD's libc.
See http://rpm5.org/cvs/chngview?cn=16081 for patch, you can backport that to the rpm-5_3 branch.
> Why is the compiler unable to reference the bswap32 definition in sys/endian.h? Is there a way to force this or is this a sign that installing RPM5 onto FreeBSD will be more of a pain than I had initially anticipated?
Maybe the dbconvert.c #define for bswap32 is colliding with it ? RPM5 should install on FreeBSD...
That is: HEAD should be working, I don't think anyone has backported to
5.3.x or 5.4.x due to lack of interest... Most "users" are on 5.0 - 5.2,
if there's indeed any usage on FreeBSD whatsoever (except for archiving).
The BSD and Mac ports are currently using 5.2.1, that is the pre-ACID RPM:
Received on Sat Jun 25 21:49:49 2011