Trouble installing Source-Highlight

Elias Pipping pipping at math.fu-berlin.de
Sat Jul 7 03:52:40 PDT 2007


On Jul 7, 2007, at 12:20 AM, Ryan Schmidt wrote:

>
> 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.


Nope, doesn't work - tried that already:

< snip >
   Index: Portfile
   ===================================================================
   --- Portfile    (revision 26779)
   +++ Portfile    (working copy)
   @@ -23,6 +23,7 @@

    configure.args  --infodir=${prefix}/share/info \
                    --mandir=${prefix}/share/man
   +configure.cppflags -I${prefix}/include/boost

    test.run        yes
    test.target     check
< snip >


Kind regards,

Elias



More information about the macports-users mailing list