RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm on OSX Lion

From: Henri Gomez <henri.gomez@gmail.com>
Date: Sat 31 Mar 2012 - 11:10:10 CEST
Message-ID: <CALyUpY2Orr+t1fb8oRsajAwtEgiMAWYLfvh=fwD2SUuOUwBYEw@mail.gmail.com>
I followed closely Jeff guidelines and finally, succeed to build rpm
5.4.8 on OSX (Lion).

/usr/bin/rpm:
	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.1.0)
	/System/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl
(compatibility version 8.5.0, current version 8.5.9)
	/System/Library/Frameworks/Python.framework/Versions/2.5/Python
(compatibility version 2.5.0, current version 2.5.6)
	/System/Library/Frameworks/Python.framework/Versions/2.6/Python
(compatibility version 2.6.0, current version 2.6.7)
	/System/Library/Frameworks/Python.framework/Versions/2.7/Python
(compatibility version 2.7.0, current version 2.7.1)
	/usr/lib/db53/libdb_sql-5.3.dylib (compatibility version 0.0.0,
current version 0.0.0)
	/usr/lib/db53/libdb-5.3.dylib (compatibility version 0.0.0, current
version 0.0.0)
	/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current
version 44.0.0)
	/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)

otool -hvf /usr/bin/rpm

/usr/bin/rpm:
Mach header
      magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
MH_MAGIC_64  X86_64        ALL LIB64     EXECUTE    24       2872
NOUNDEFS DYLDLINK TWOLEVEL ALLOW_STACK_EXECUTION PIE

For now a x86_64 only binary, I should see if a i386/x86_64 (dual)
binary could be build

Huge thanks to Jeff for his support, advices and ... patience
Received on Sat Mar 31 11:10:17 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.