Trouble installing Source-Highlight
Hi all, I encountered the following error while trying to install source-highlight package using port. Googling turned up the link http://www.nabble.com/Problem-compiling-source-highlight-on-Mac-OS-10.4.2-t3... but I am unsure how to use that particular recommendation alongside port. Kindly help me. Thanks, Binil binil-thomas-ibook-g4:~ binil$ port installed The following ports are currently installed: boost @1.34.0_0 (active) boost-jam @3.1.13_0 (active) expat @2.0.1_0 links @2.1pre26_0 (active) tree @1.5.0_0 (active) binil-thomas-ibook-g4:~ binil binil-thomas-ibook-g4:~ binil$ port info source-highlight source-highlight 2.7, textproc/source-highlight (Variants: universal) http://www.gnu.org/software/src-highlite/ This program, given a source file, produces a document with syntax highlighting. At the moment it can handle: C/C++, C#, Bib, Bison, Caml, Changelog, CSS, Diff, Flex, Fortran, Html, Java, Javascript, Latex, Logtalk, Log files, Lua, Makefile, M4, ML, Pascal, Perl, PHP, Postscript, Prolog, Python, Ruby, Shell, Sql, Tcl, and XML. Library Dependencies: boost Platforms: darwin Maintainers: pipping@macports.org binil-thomas-ibook-g4:~ binil$ binil-thomas-ibook-g4:~ binil$ sudo port -d -v install source-highlight DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/source-highlight DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/source-highlight DEBUG: Requested variant powerpc is not provided by port source-highlight. DEBUG: Requested variant darwin is not provided by port source-highlight. DEBUG: Requested variant macosx is not provided by port source-highlight. DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/boost DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/boost DEBUG: Requested variant powerpc is not provided by port boost. DEBUG: Requested variant macosx is not provided by port boost. DEBUG: Executing variant darwin provides darwin DEBUG: Searching for dependency: boost DEBUG: Found Dependency: receipt exists for boost DEBUG: Skipping completed com.apple.main (source-highlight) DEBUG: Skipping completed com.apple.fetch (source-highlight) DEBUG: Skipping completed com.apple.checksum (source-highlight) DEBUG: Skipping completed com.apple.extract (source-highlight) DEBUG: Skipping completed com.apple.patch (source-highlight) ---> Configuring source-highlight DEBUG: Executing com.apple.configure (source-highlight) DEBUG: Environment: CXXFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CFLAGS='-O2' LDFLAGS='-L/opt/local/lib' DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_source-highlight/work/source-highlight-2.7" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info --mandir=/opt/local/share/man' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for strftime... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for gawk... (cached) awk checking for a BSD-compatible install... /usr/bin/install -c checking build system type... powerpc-apple-darwin8.10.0 checking host system type... powerpc-apple-darwin8.10.0 checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... no configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dlfcn.h: proceeding with the compiler's result checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.10.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.10.0 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking whether the compiler implements namespaces... yes checking whether the compiler supports Standard Template Library... yes checking whether the compiler has stringstream... yes checking whether the compiler has ios_base... yes 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 checking for the txtc compiler... yes checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for main in -lfl... yes checking for main in -lefence... no checking for yywrap... yes checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long_only... yes checking whether optreset is declared... yes checking whether getenv is declared... yes checking whether strdup is declared... yes checking for memset... yes checking for strdup... yes checking for unistd.h... (cached) yes checking for off_t... yes checking for gengetopt... no checking for doublecpp... no checking for valgrind... no checking for help2man... no checking for ctags... /usr/bin/ctags checking whether /usr/bin/ctags accept --excmd... no checking checking if it's bison ... bison -y checking for tar... /usr/bin/tar checking for texi2html... /usr/bin/texi2html checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile config.status: creating txtc.sh config.status: creating gl/Makefile config.status: creating src/Makefile config.status: creating src/java2html config.status: creating src/cpp2html config.status: creating src/src-hilite-lesspipe.sh config.status: creating doc/Makefile config.status: creating doc/shjs_css_transform.sh config.status: creating doc/gen_style_example.sh config.status: creating src/includes/Makefile config.status: creating src/lib/Makefile config.status: creating tests/Makefile config.status: creating tests/valgrind_tests.sh config.status: creating tests/valgrind_test.sh config.status: creating tests/valgrind_suppressions.sh config.status: creating source-highlight.spec config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default commands configure: error: ERROR! Boost::regex library not installed. Please install it (download at http://www.boost.org/) Error: Target com.apple.configure returned: configure failure: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_source-highlight/work/source-highlight-2.7" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info --mandir=/opt/local/share/man " returned error 1 Command output: checking checking if it's bison ... bison -y checking for tar... /usr/bin/tar checking for texi2html... /usr/bin/texi2html checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile config.status: creating txtc.sh config.status: creating gl/Makefile config.status: creating src/Makefile config.status: creating src/java2html config.status: creating src/cpp2html config.status: creating src/src-hilite-lesspipe.sh config.status: creating doc/Makefile config.status: creating doc/shjs_css_transform.sh config.status: creating doc/gen_style_example.sh config.status: creating src/includes/Makefile config.status: creating src/lib/Makefile config.status: creating tests/Makefile config.status: creating tests/valgrind_tests.sh config.status: creating tests/valgrind_test.sh config.status: creating tests/valgrind_suppressions.sh config.status: creating source-highlight.spec config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default commands configure: error: ERROR! Boost::regex library not installed. Please install it (download at http://www.boost.org/) Warning: the following items did not execute (for source-highlight): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.install Error: Status 1 encountered during processing. binil-thomas-ibook-g4:~ binil$ -- 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 (1)
-
Binil Thomas