[MacPorts] #24339: Add port xmlrpc-c "stable" to macports
MacPorts
noreply at macports.org
Tue Jan 18 09:10:13 PST 2011
#24339: Add port xmlrpc-c "stable" to macports
---------------------------------+------------------------------------------
Reporter: bitmail@… | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: xmlrpc-c stable | Port: xmlrpc
---------------------------------+------------------------------------------
Comment(by claus@…):
Some status reports on various attempts to get a more recent xmlrpc-c into
macports:
[[BR]][[BR]]
STABLE - does not compile, unrecognized "ld" option --rpath[[BR]]
TRUNK - compiles OK but has introduced a change which breaks compat[[BR]]
1.25.00 - compiles OK but has same change as trunk[[BR]]
1.24.00 - compiles OK but has same change as trunk[[BR]]
1.22.00 - does not compile, missing the .configure script?[[BR]]
1.19.05 - does not compile, unrecognized "ld" option --rpath[[BR]]
1.17.08 - does not compile, "make all" fails[[BR]]
1.14.00 - does not compile, GCC does not like a particular source syntax
(undeclared (ulong))[[BR]]
1.9.0 - does not compile, missing .configure script and macport's libtool
is wrong version[[BR]]
1.7.0 - does not compile at all[[BR]]
[[BR]][[BR]]
But I did manage to get the stable branch installed on my system. What I
did was:[[BR]]
[[BR]]
- use Portfile-xmlrpc-c.diff to patch xmlrpc-c portfile (force "stable"
branch download)[[BR]]
- let "sudo port install xmlrpc-c" fail[[BR]]
- go to the build-directory and find the working directory[[BR]]
- make clean[[BR]]
- sudo ./configure[[BR]]
- sudo make[[BR]]
- sudo make install[[BR]]
[[BR]]
This approach allows xmlrpc-c 1.16.32 to compile and install, but it does
circumvent macports and prevents xmlrpc-c from being registered as an
installed package.[[BR]]
[[BR]]
Other packages using xmlrpc-c will therefore fail to compile, giving you
the message that xmlrpc-c could not be installed. It's poor practice, I
know, but if like me you only have a single other package installed which
requires xmlrpc-c and you really-really-really need xmlrpc-c 1.7.0 or
above due to 64bit integer support, then you can certainly edit the
Portfile for rtorrent-devel and comment out the part that adds xmlrpc-c as
a dependency when +xmlrpc is used.[[BR]]
[[BR]]
Rtorrent-devel will still fail to build. However, the above approach using
a manual install also works for this package. Et voila - everything works,
but you've shot yourself quite thoroughly in the foot in regards to future
updates.[[BR]]
[[BR]]
But it does work well... so far.
Hope this helps some of you.
Cheers,
Claus / DK
--
Ticket URL: <https://trac.macports.org/ticket/24339#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list