Re: Trouble installing Source-Highlight
On Jul 7, 2007, at 4:42 PM, Lorenzo Bettini wrote:
Elias Pipping wrote:
On Jul 7, 2007, at 4:28 PM, Lorenzo Bettini wrote:
Elias Pipping wrote:
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.
Hello!
could you please check where the boost header files are installed? I haven't tried 1.34 yet % dirs ~/MacPorts/include % ls -d boost* boost boost-1_34 % file boost boost: symbolic link to `boost-1_34/boost' % ls boost-1_34/ boost % ls boost-1_34/boost/ algorithm nondet_random.hpp aligned_storage.hpp none.hpp any.hpp numeric archive operators.hpp array.hpp optional assert.hpp optional.hpp assign parameter assign.hpp parameter.hpp bind pending bind.hpp pfto.hpp blank.hpp pointee.hpp blank_fwd.hpp pointer_cast.hpp call_traits.hpp pointer_to_other.hpp cast.hpp pool checked_delete.hpp preprocessor compatibility preprocessor.hpp compressed_pair.hpp program_options concept_archetype.hpp program_options.hpp concept_check.hpp progress.hpp config property_map.hpp config.hpp property_map_iterator.hpp crc.hpp ptr_container cregex.hpp python cstdint.hpp python.hpp cstdlib.hpp random current_function.hpp random.hpp date_time range date_time.hpp range.hpp detail rational.hpp dynamic_bitset ref.hpp dynamic_bitset.hpp regex dynamic_bitset_fwd.hpp regex.h dynamic_property_map.hpp regex.hpp enable_shared_from_this.hpp regex_fwd.hpp filesystem scoped_array.hpp filesystem.hpp scoped_ptr.hpp foreach.hpp serialization format shared_array.hpp format.hpp shared_container_iterator.hpp function shared_ptr.hpp function.hpp signal.hpp function_equal.hpp signals function_output_iterator.hpp signals.hpp functional smart_cast.hpp functional.hpp smart_ptr.hpp generator_iterator.hpp spirit get_pointer.hpp spirit.hpp graph state_saver.hpp implicit_cast.hpp statechart indirect_reference.hpp static_assert.hpp integer static_warning.hpp integer.hpp strong_typedef.hpp integer_fwd.hpp test integer_traits.hpp thread intrusive_ptr.hpp thread.hpp io throw_exception.hpp io_fwd.hpp timer.hpp iostreams token_functions.hpp iterator token_iterator.hpp iterator.hpp tokenizer.hpp iterator_adaptors.hpp tr1 lambda tuple last_value.hpp type.hpp lexical_cast.hpp type_traits limits.hpp type_traits.hpp logic typeof math utility math_fwd.hpp utility.hpp mem_fn.hpp variant mpl variant.hpp multi_array vector_property_map.hpp multi_array.hpp version.hpp multi_index visit_each.hpp multi_index_container.hpp wave multi_index_container_fwd.hpp wave.hpp next_prior.hpp weak_ptr.hpp non_type.hpp xpressive noncopyable.hpp
but this message
checking whether the Boost::Regex library is available... no
says that the compiler can't find the header files, so probably ~/ MacPorts/include should be added to the include path, e.g., with the compiler option -I
I guess...
Urks. This is silly. Configure.cppflags overwrote the default -I$ {prefix}/include with -I${prefix}/include/boost instead of appending it. Removing that line solved the problem. Kind regards, Elias
Apologies for my ignorance, but can someone please explain how a user who knows little beyond 'sudo port install source-highlight' use this information. :-) Thanks, Binil Elias Pipping-3 wrote:
Urks. This is silly. Configure.cppflags overwrote the default -I$ {prefix}/include with -I${prefix}/include/boost instead of appending it. Removing that line solved the problem.
-- View this message in context: http://www.nabble.com/Trouble-installing-Source-Highlight-tf4026541.html#a11... Sent from the MacPorts - Users mailing list archive at Nabble.com.
On 7/8/07, Binil Thomas <binil.thomas.public@gmail.com> wrote:
Apologies for my ignorance, but can someone please explain how a user who knows little beyond 'sudo port install source-highlight' use this information. :-)
Thanks, Binil
If you're referring to the message from Elias, it's just part of preserving the record of how problems are solved. So for most of us, 'sudo port install source-highlight' is sufficient. But it helps to capture the other information. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@mac.com>
Paul, I meant no harm. Sincere apologies if my post upset you. I am still getting the error when I run 'sudo port install source-highlight'. Could it be that I need to do some form of 'clean' before? Or is it that I need to wait for a 'release' of some form to happen? I am very new to MacPorts. The closest system I have used, from my limited understanding of MacPorts, is Maven. As a dutiful user, I reported the problem as best as I could to the list. Knowledgeable people identified the issue and seems to have fixed it. But I still am stuck with it - and hence I was asking for help. Thanks, Binil Paul Beard-2 wrote:
On 7/8/07, Binil Thomas <binil.thomas.public@gmail.com> wrote:
Apologies for my ignorance, but can someone please explain how a user who knows little beyond 'sudo port install source-highlight' use this information. :-)
Thanks, Binil
If you're referring to the message from Elias, it's just part of preserving the record of how problems are solved. So for most of us, 'sudo port install source-highlight' is sufficient. But it helps to capture the other information. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@mac.com>
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- View this message in context: http://www.nabble.com/Trouble-installing-Source-Highlight-tf4026541.html#a11... Sent from the MacPorts - Users mailing list archive at Nabble.com.
On 7/8/07, Binil Thomas <binil.thomas.public@gmail.com> wrote:
Paul,
I meant no harm. Sincere apologies if my post upset you.
I am still getting the error when I run 'sudo port install source-highlight'. Could it be that I need to do some form of 'clean' before? Or is it that I need to wait for a 'release' of some form to happen?
I am very new to MacPorts. The closest system I have used, from my limited understanding of MacPorts, is Maven. As a dutiful user, I reported the problem as best as I could to the list. Knowledgeable people identified the issue and seems to have fixed it. But I still am stuck with it - and hence I was asking for help.
Thanks, Binil
The fault is all mine. I didn't realize you were still having trouble. I'll be a guinea pig and see if I can get it built and get it installed. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@mac.com>
On 7/8/07, Binil Thomas <binil.thomas.public@gmail.com> wrote:
Apologies for my ignorance, but can someone please explain how a user who knows little beyond 'sudo port install source-highlight' use this information. :-)
Thanks, Binil
Elias Pipping-3 wrote:
Urks. This is silly. Configure.cppflags overwrote the default -I$ {prefix}/include with -I${prefix}/include/boost instead of appending it. Removing that line solved the problem.
OK, I just installed this and it worked just fine (though I have no use for it ;-) ) I suggest the following: port clean boost port clean boost-jam port clean source-highlight port sync port -v build source-highlight and if it still fails, send along the output that the -v flag will generate. -- Paul Beard / www.paulbeard.org/ <paulbeard@gmail.com/paulbeard@mac.com>
Thanks! I got it working! The exact sequence suggested did not work. But I uninstalled (sudo port uninstall) boost-jam and boost, and installed source-highlight (sudo port install source-highlight) and it all worked! Thanks again! Cheers, Bini Paul Beard-2 wrote:
OK, I just installed this and it worked just fine (though I have no use for it ;-) )
I suggest the following:
port clean boost port clean boost-jam port clean source-highlight port sync port -v build source-highlight
and if it still fails, send along the output that the -v flag will generate.
-- View this message in context: http://www.nabble.com/Trouble-installing-Source-Highlight-tf4026541.html#a11... Sent from the MacPorts - Users mailing list archive at Nabble.com.
participants (3)
-
Binil Thomas
-
Elias Pipping
-
paul beard