Re: source-highlight-3.1.6 not compiling on Mac OS X

Lorenzo Bettini <[email protected]> Fri, 29 Jun 2012 21:44:17 +0200
Newsgroups gmane.comp.gnu.source-highlight.general
Message-ID <[email protected]>
Thanks for the feedback!
I then should hurry in releasing the fixed version :)

cheers
	Lorenzo

On 06/29/2012 09:38 PM, Emil Arfvidsson wrote:
> That one builds fine, thanks a lot!
>
> Emil
>
> On Fri, Jun 29, 2012 at 12:14 PM, Lorenzo Bettini <[email protected]> wrote:
>> Hi Emil
>>
>> this should be fixed in the current development version which I still
>> haven't released, but if you want to give it a try
>>
>> http://dl.dropbox.com/u/1707878/source-highlight-3.1.7.tar.gz
>>
>> please let me know
>>
>> cheers
>>         Lorenzo
>>
>>
>> On 06/29/2012 07:04 PM, Emil Arfvidsson wrote:
>>>
>>> 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
>>>


-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net