RPM 4.4.4 compile problems on Mac OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux