help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-source-highlight] source-highlight-3.1.6 not compiling on Mac OS X


From: Emil Arfvidsson
Subject: [Help-source-highlight] source-highlight-3.1.6 not compiling on Mac OS X
Date: Fri, 29 Jun 2012 10:04:58 -0700

Hi,

I just downloaded a fresh copy of source-highlight-3.1.6 and ran the
configure script (finished without errors) and tried to build. make
finished with the following erroneous output. Is this some known
issue? Thanks

*snip*
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../../../lib/srchilite -I../.. -I../../../src -I../../../gl
-I../../gl -I/usr/local/include   -g -O2 -MT substfun.lo -MD -MP -MF
.deps/substfun.Tpo -c -o substfun.lo
../../../lib/srchilite/substfun.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../lib/srchilite
-I../.. -I../../../src -I../../../gl -I../../gl -I/usr/local/include
-g -O2 -MT substfun.lo -MD -MP -MF .deps/substfun.Tpo -c
../../../lib/srchilite/substfun.cpp  -fno-common -DPIC -o
.libs/substfun.o
In file included from ../../gl/unistd.h:121,
                 from /usr/include/c++/4.2.1/bits/os_defines.h:61,
                 from /usr/include/c++/4.2.1/bits/c++config.h:41,
                 from /usr/include/c++/4.2.1/cstddef:50,
                 from
/usr/local/include/boost/config/select_stdlib_config.hpp:18,
                 from /usr/local/include/boost/config.hpp:40,
                 from /usr/local/include/boost/regex/config.hpp:43,
                 from /usr/local/include/boost/regex.hpp:28,
                 from ../../../lib/srchilite/substfun.h:13,
                 from ../../../lib/srchilite/substfun.cpp:10:
../../gl/getopt.h:196: error: redefinition of 'struct option'
/usr/include/getopt.h:54: error: previous definition of 'struct option'
make[4]: *** [substfun.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]