[MacPorts] #14317: xercesc does not include libxerces-c.a
#14317: xercesc does not include libxerces-c.a -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- The xercesc port (I checked 2.7.0_1 and 2.8.0_0) includes the shared library (libxerces-c.dylib) but not the static library (libxerces-c.a). Ports should strive to build both shared and static libraries if possible, and in particular, I need libxerces-c.a to build a portfile for enigma. The enigma build instructions include instructions on building libxerces-c.a. This is what they say to do: {{{ 6(a) Then I had to do the following important step, which create a static link library, as the MacOSX version of the xerces-c 2.7 build does not do that. Put the following in an executable file in the $XERCESCROOT/src/xercesc directory, cd to that directory and run it. #!/bin/sh make -n XML_LIB_DIR=$XERCESCROOT/lib/dummy | grep 'c++ .*\.dylib' | tr \ \\n | grep '\.o$' | ( cd ../../obj ; xargs ar rcs $XERCESCROOT/lib/libxerces-c.a ) Then sudo cp $XERCESCROOT/lib/libxerces-c.a /usr/local/lib/ sudo ranlib /usr/local/lib/libxerces-c.a }}} This may not be the best way to do it in a MacPorts portfile, so just take it as a reference. Maybe runConfigure's `-s` option would be helpful. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14317> MacPorts </projects/macports> Ports system for Mac OS
#14317: xercesc does not include libxerces-c.a --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * cc: chris.ridd@isode.com (added) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14317#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14317: xercesc does not include libxerces-c.a --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org Comment: No response from maintainer in > 72 hours, so I'll commit the fix. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14317#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14317: xercesc does not include libxerces-c.a --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed Comment: Patch committed in r35430. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14317#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts