[MacPorts] #15449: source-highlight 2.9 build failure
#15449: source-highlight 2.9 build failure ------------------------------------------+--------------------------------- Reporter: greystone@ardekantur.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: source-highlight boost_regex | ------------------------------------------+--------------------------------- On Mac OS 10.5.2, on a fresh install of MacPorts 1.6, I receive the following error attempting to install source-highlight 1.9. Please note that this is the same build error as that of #14329, except I have boost version @1.35.0_0+darwin_9 installed, whereas the closed bug mentioned that upgrading to boost @1.34.1-2 fixed this problem. {{{ ... checking whether the compiler has ios_base... yes checking whether the Boost::Regex library is available... yes checking for main in -lboost_regex... no checking for main in -lboost_regex-/usr/bin/gcc-4.0... no checking for main in -lboost_regex-/usr/bin/gcc-4.0-mt... no checking for main in -lboost_regex-/usr/bin/gcc-4.0-mt-s... no checking for main in -lboost_regex-/usr/bin/gcc-4.0-s... no checking for main in -llibboost_regex... no checking for main in -llibboost_regex-/usr/bin/gcc-4.0... no checking for main in -llibboost_regex-/usr/bin/gcc-4.0-mt... no checking for main in -llibboost_regex-/usr/bin/gcc-4.0-mt-s... no checking for main in -llibboost_regex-/usr/bin/gcc-4.0-s... no checking for main in -lboost_regex-mgw... no checking for main in -lboost_regex-mgw... (cached) no checking for main in -lboost_regex-mgw-mt... no checking for main in -lboost_regex-mgw-mt-s... no checking for main in -lboost_regex-mgw-s... no configure: error: Could not link against boost_regex-mgw-s ! Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/15449> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15449: source-highlight 2.9 build failure ---------------------------------------+------------------------------------ Reporter: greystone@ardekantur.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: source-highlight boost_regex ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * cc: sanchom@gmail.com (added) Comment: Issue confirmed. I'm running Mac OS X 10.5.3 on a MacBook Pro, Xcode 3.0, MacPorts trunk@37255. source-highlight builds properly if boost @1.34.1_3 is installed, but fails if boost @1.35.0_0 is installed. -- Ticket URL: <http://trac.macports.org/ticket/15449#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15449: source-highlight 2.9 build failure ---------------------------------------+------------------------------------ Reporter: greystone@ardekantur.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: source-highlight boost_regex ---------------------------------------+------------------------------------ Comment (by geoff.tench@gmail.com): I modified the Portfile so that source-highlight 2.9 builds and runs with boost 1.35.0: {{{ --- Portfile.original 2008-07-08 14:17:07.000000000 +1000 +++ Portfile 2008-07-08 14:25:00.000000000 +1000 @@ -23,7 +23,8 @@ rmd160 6611fc22dfcead5157517eb6c321aaa2be5fbe1b configure.args --infodir=${prefix}/share/info \ - --mandir=${prefix}/share/man + --mandir=${prefix}/share/man \ + --with-boost-regex=boost_regex-mt test.run yes test.target check }}} This might not be the ideal solution, but it got me over this particular hurdle until a MacPorts guru comes along and tidies it up. -- Ticket URL: <http://trac.macports.org/ticket/15449#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15449: source-highlight 2.9 build failure ---------------------------------------+------------------------------------ Reporter: greystone@ardekantur.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: source-highlight boost_regex ---------------------------------------+------------------------------------ Comment (by davis@guydavis.ca): Replying to [comment:3 geoff.tench@gmail.com]:
I modified the Portfile so that source-highlight 2.9 builds and runs with boost 1.35.0:
Dumb question from a newbie. What "Portfile" are you showing a diff for? Would you mind providing an absolute path in /opt/local? Did you then just run 'sudo port install source-highlight' to use that Portfile? I'd love to get this working on my iMac. Surprisingly, after moving my sites from Fedora Linux that use PHP, Rails, Tomcat, MySQL, and Imagemagick; source-highlight is the only missing piece. -- Ticket URL: <http://trac.macports.org/ticket/15449#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15449: source-highlight 2.9 build failure ---------------------------------------+------------------------------------ Reporter: greystone@ardekantur.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: source-highlight boost_regex ---------------------------------------+------------------------------------ Comment (by geoff.tench@gmail.com): Replying to [comment:4 davis@guydavis.ca]:
Dumb question from a newbie. What "Portfile" are you showing a diff for? Would you mind providing an absolute path in /opt/local? Did you then just run 'sudo port install source-highlight' to use that Portfile?
Sorry about that, I assumed a bit more than I should have done... The path to the Portfile in question is: {{{/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc /source-highlight/Portfile}}} This assumes the default MacPorts prefix of "/opt/local", and using rsync for updates. After making the change (having first created a backup copy of the Portfile, even though the original was only a sync away), running "sudo port install source-highlight" did the trick. Sadly, there's no maintainer listed in the Portfile, so I'm not sure what the likelihood is of a fix getting into the repository. -- Ticket URL: <http://trac.macports.org/ticket/15449#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15449: source-highlight 2.9 build failure ---------------------------------------+------------------------------------ Reporter: greystone@ardekantur.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: source-highlight boost_regex ---------------------------------------+------------------------------------ Changes (by raimue@macports.org): * status: new => closed * resolution: => fixed Comment: Committed in r38161. -- Ticket URL: <http://trac.macports.org/ticket/15449#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts