Re: Trouble installing Source-Highlight
Date: Wed, 4 Jul 2007 14:14:46 -0700 (PDT) From: Binil Thomas <binil.thomas.public@gmail.com> Subject: Trouble installing Source-Highlight To: macports-users@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). Kind regards, Elias PS: I think the link you provided was related to a different problem, because it was encountered with v1.33. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Original Message: http://www.mail-archive.com/macports-users@lists.macosforge.org/ msg03719.html
Citando Elias Pipping :
Date: Wed, 4 Jul 2007 14:14:46 -0700 (PDT) From: Binil Thomas <binil.thomas.public@gmail.com> Subject: Trouble installing Source-Highlight To: macports-users@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
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.
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
So, a patch was just applied yesterday to the boost port that reinstates a missing symbolic link. Did you upgrade since then? Sancho On 7-Jul-07, at 3:52 AM, Elias Pipping wrote:
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
participants (4)
-
Elias Pipping
-
Emmanuel Hainry
-
Ryan Schmidt
-
Sancho McCann