Trouble installing Source-Highlight

Ryan Schmidt ryandesign at macports.org
Fri Jul 6 15:20:08 PDT 2007


On Jul 6, 2007, at 07:10, Emmanuel Hainry wrote:

> Citando Elias Pipping :
>
>> Binil Thomas:
>>
>>> 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/)
>>
>> 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).

boost should be fixed as of 1.34_1. See:

http://trac.macosforge.org/projects/macports/ticket/12110

Please let us know if this does not resolve the problem.




More information about the macports-users mailing list