Trouble installing Source-Highlight

Emmanuel Hainry ehainry at free.fr
Fri Jul 6 05:10:39 PDT 2007


Citando Elias Pipping :
> >Date: Wed, 4 Jul 2007 14:14:46 -0700 (PDT)
> >From: Binil Thomas <binil.thomas.public at gmail.com>
> >Subject: Trouble installing Source-Highlight
> >To: macports-users at lists.macosforge.org
> >
> >I encountered the following error while trying to install
> >source-highlight package using port.
> 
> < snip >
> 
> >checking whether the Boost::Regex library is available... no
> >checking boost/shared_ptr.hpp usability... no
> >checking boost/shared_ptr.hpp presence... no
> >checking for boost/shared_ptr.hpp... no
> 
> < snip >
> 
> >configure: error:
> >
> >ERROR! Boost::regex library not installed.
> >Please install it (download at http://www.boost.org/)
> 
> < snip >
> 
> Hi,
> 
> the problem is caused by boost 1.34. I've tried it with boost 1.33 a
> second ago and it worked flawlessly. I've CC'ed Lorenzo Bettini, the
> developer of source-highlight, maybe he knows a fix (I don't).
> 
> 

boost1.34 installs its headers in ${prefix}/boost-1_34/boost whereas
progs expect it in ${prefix}/boost (which is where boost 1.33 put them).

I stumbled upon that while installing globuation2:
http://trac.macports.org/projects/macports/ticket/12185

Adding -I${prefix}/boost-1_34 to cppflags should do the trick. (or boost
should be corrected).

Best,

Emmanuel



More information about the macports-users mailing list