Yep. My dual G5 ain't booting for the last 10 days, messing with 24
hour backups/restores
at the moment.
So rpm-4.4.4 is not yet ported to Mac OS X.
The port ain't hard, rpm-4.4.3 only required a few tweaks, same tweaks
will be needed for rpm-4.4.4.
Hmmm, Solaris has the same issue.
#if defined(_SC_UINT_MAX)
...
#endif
#if defined(_SC_ULONG_MAX)
...
#endif
around those entries is one fix for your specific problem.
Another is to figure out where Mac OS X has decided to hide
those defines and include them.
Yet another fix is to define the values appropriately if not already
defined.
hth
73 de Jeff
On Feb 9, 2006, at 2:40 PM, Otto Maddox wrote:
After playing around with DarwinPorts (specifically, the
dp_light-olegb branch) and RPM, I've decided to start using RPM more
extensively. This is Mac OS X 10.4.4.
So. I picked up rpm-4.4.4.tar.gz and installed its dependencies, but
am unable to compile it:
./autogen.sh --noconfigure.
./configure --without-included-gettext --with-libintl-prefix=/usr/
local
--with-libiconv-prefix=/usr/local --disable-nls --without-lua
--without-python
make
[lots of output and then bombs out:]
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../build -I../rpmdb
-I../rpmio -I/usr/local/include/beecrypt -I../popt -I../misc -I../
zlib
-I/System/Library/Frameworks/CoreFoundation.framework/Headers -g -O2
-fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -MT
rpmds.lo -MD -MP -MF .deps/rpmds.Tpo -c rpmds.c -fno-common -DPIC -o
.libs/rpmds.o
rpmds.c: In function 'rpmdsGetconf':
rpmds.c:2430: error: '_SC_UINT_MAX' undeclared (first use in this
function)
rpmds.c:2430: error: (Each undeclared identifier is reported only once
rpmds.c:2430: error: for each function it appears in.)
rpmds.c:2430: error: '_SC_ULONG_MAX' undeclared (first use in this
function)
rpmds.c:2445: warning: implicit declaration of function 'error'
rpmds.c: In function 'rpmdsUname':
rpmds.c:2928: error: 'struct utsname' has no member named 'domainname'
rpmds.c:2928: error: 'struct utsname' has no member named 'domainname'
rpmds.c:2929: error: 'struct utsname' has no member named 'domainname'
make[3]: *** [rpmds.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Does anybody have any idea what to do? Has anybody reported
successful compilation on Darwin?
--
http://www.fastmail.fm - Access all of your messages and folders
wherever you are
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list