« Return to Thread: Trouble installing Source-Highlight

Re: Trouble installing Source-Highlight

by Emmanuel Hainry-2 :: Rate this Message:

Reply to Author | View in Thread

Citando Elias Pipping :

> >Date: Wed, 4 Jul 2007 14:14:46 -0700 (PDT)
> >From: Binil Thomas <binil.thomas.public@...>
> >Subject: Trouble installing Source-Highlight
> >To: macports-users@...
> >
> >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
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

 « Return to Thread: Trouble installing Source-Highlight