[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build failure on OSX 10.9
From: |
Ben Abbott |
Subject: |
Re: build failure on OSX 10.9 |
Date: |
Thu, 14 Nov 2013 10:29:27 -0500 |
On Nov 14, 2013, at 3:50 AM, c. wrote:
> On 14 Nov 2013, at 03:53, Ben Abbott <address@hidden> wrote:
>
>> On Nov 13, 2013, at 11:42 AM, Benjamin Abbott wrote:
>>
>>>> On Nov 13, 2013, at 8:18 AM, "c." <address@hidden> wrote:
>>>>
>>>>> On 13 Nov 2013, at 14:15, Ben Abbott <address@hidden> wrote:
>>>>>
>>>>> Carlo,
>>>>>
>>>>> You might try looking at Fink's info file for 3.6.4 to see if there are
>>>>> any patches related to this. Maybe the same for MacPorts? Are you able
>>>>> to install 3.6.4 via MacPorts?
>>>>
>>>> Actually I was able to build without any changes until yesterday
>>>> so I suspect this might be due to some of the latest changesets
>>>
>>> Ok. I've pulled and now see the problem as well. Maybe one of jwe's
>>> latest changesets? I've cc'd him.
>>>
>>> Ben
>>
>> May be unrelated, but my build still fails with ....
>>
>> /bin/sh ../libtool --tag=CXX --mode=compile /opt/local/bin/g++-mp-4.7
>> -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/QtGui
>> -I/opt/local/include -I/opt/local/include/QtNetwork -I/opt/local/include
>> -I/opt/local/include/QtCore -I./qterminal/libqterminal -Isrc -I./src
>> -I./src/m-editor -I./src/qtinfo -I../liboctave/cruft/misc
>> -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric
>> -I../liboctave/operators -I../liboctave/operators -I../liboctave/system
>> -I../liboctave/util -I../libinterp -I../libinterp -I../libinterp/parse-tree
>> -I../libinterp/parse-tree -I../libinterp/corefcn -I../libinterp/corefcn
>> -I../libinterp/octave-value -I../libgnu -D_THREAD_SAFE -I/opt/local/include
>> -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
>> -Wcast-align -Wcast-qual -pipe -O2 -m64 -D_THREAD_SAFE -pthread -MT
>> src/m-editor/src_libgui_src_la-file-editor-tab.lo -MD -MP -MF
>> src/m-editor/.deps/src_libgui_src_la-file-editor-tab.Tpo -c -o
>> src/m-editor/src_libgui_src_la-file-editor-tab.lo `test -f
>> 'src/m-editor/file-editor-tab.cc' || echo
>> './'`src/m-editor/file-editor-tab.cc
>> libtool: compile: /opt/local/bin/g++-mp-4.7 -DHAVE_CONFIG_H -I. -I..
>> -I/opt/local/include -I/opt/local/include/QtGui -I/opt/local/include
>> -I/opt/local/include/QtNetwork -I/opt/local/include
>> -I/opt/local/include/QtCore -I./qterminal/libqterminal -Isrc -I./src
>> -I./src/m-editor -I./src/qtinfo -I../liboctave/cruft/misc
>> -I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric
>> -I../liboctave/operators -I../liboctave/operators -I../liboctave/system
>> -I../liboctave/util -I../libinterp -I../libinterp -I../libinterp/parse-tree
>> -I../libinterp/parse-tree -I../libinterp/corefcn -I../libinterp/corefcn
>> -I../libinterp/octave-value -I../libgnu -D_THREAD_SAFE -I/opt/local/include
>> -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
>> -Wcast-align -Wcast-qual -pipe -O2 -m64 -D_THREAD_SAFE -pthread -MT
>> src/m-editor/src_libgui_src_la-file-editor-tab.lo -MD -MP -MF
>> src/m-editor/.deps/src_libgui_src_la-file-editor-tab.Tpo -c
>> src/m-editor/file-editor-tab.cc -fno-common -DPIC -o
>> src/m-editor/.libs/src_libgui_src_la-file-editor-tab.o
>> In file included from ../libgnu/stdio.h:43:0,
>> from ../libgnu/wchar.h:71,
>> from /opt/local/include/gcc47/c++/cwchar:46,
>> from /opt/local/include/gcc47/c++/bits/postypes.h:42,
>> from /opt/local/include/gcc47/c++/bits/char_traits.h:42,
>> from /opt/local/include/gcc47/c++/string:42,
>> from /opt/local/include/QtCore/qstring.h:54,
>> from /opt/local/include/QtCore/qobject.h:48,
>> from /opt/local/include/Qsci/qscilexercpp.h:38,
>> from src/m-editor/file-editor-tab.cc:36:
>> /usr/include/stdio.h:265:7: error: previous declaration of 'char*
>> gets(char*)' with 'C' linkage
>> In file included from ../libgnu/wchar.h:71:0,
>> from /opt/local/include/gcc47/c++/cwchar:46,
>> from /opt/local/include/gcc47/c++/bits/postypes.h:42,
>> from /opt/local/include/gcc47/c++/bits/char_traits.h:42,
>> from /opt/local/include/gcc47/c++/string:42,
>> from /opt/local/include/QtCore/qstring.h:54,
>> from /opt/local/include/QtCore/qobject.h:48,
>> from /opt/local/include/Qsci/qscilexercpp.h:38,
>> from src/m-editor/file-editor-tab.cc:36:
>> ../libgnu/stdio.h:1034:1: error: conflicts with new declaration with 'C++'
>> linkage
>>
>> Ben
>
> That is exactly the same error as I get.
> hg bisect says the first offending changeset is:
>
> changeset: 17954:2a4acd6548c6
> user: John W. Eaton <address@hidden>
> date: Wed Nov 13 02:28:34 2013 -0500
> summary: include config.h in more files in libgui
>
> c.
Ok. I isolated the change that results in the error. I'm able to build with
the change below.
diff --git a/libgui/src/module.mk b/libgui/src/module.mk
--- a/libgui/src/module.mk
+++ b/libgui/src/module.mk
@@ -190,8 +190,7 @@
-I$(top_builddir)/libinterp -I$(top_srcdir)/libinterp \
-I$(top_builddir)/libinterp/parse-tree -I$(top_srcdir)/libinterp/parse-tree \
-I$(top_builddir)/libinterp/corefcn -I$(top_srcdir)/libinterp/corefcn \
- -I$(top_srcdir)/libinterp/octave-value \
- -I$(top_builddir)/libgnu
+ -I$(top_srcdir)/libinterp/octave-value
src_libgui_src_la_CFLAGS = $(AM_CFLAGS) $(WARN_CFLAGS)
Ben
- build failure on OSX 10.9, c., 2013/11/13
- Re: build failure on OSX 10.9, Ben Abbott, 2013/11/13
- Re: build failure on OSX 10.9, c., 2013/11/13
- Re: build failure on OSX 10.9, Benjamin Abbott, 2013/11/13
- Re: build failure on OSX 10.9, Doug Stewart, 2013/11/13
- Re: build failure on OSX 10.9, Ben Abbott, 2013/11/13
- Re: build failure on OSX 10.9, c., 2013/11/14
- Re: build failure on OSX 10.9,
Ben Abbott <=
- Re: build failure on OSX 10.9, John W. Eaton, 2013/11/14
- Re: build failure on OSX 10.9, c., 2013/11/14
- Re: build failure on OSX 10.9, Ben Abbott, 2013/11/14
- Re: build failure on OSX 10.9, c., 2013/11/14
- Re: build failure on OSX 10.9, John W. Eaton, 2013/11/14
- Re: build failure on OSX 10.9, Ben Abbott, 2013/11/14
- Message not available
- Re: build failure on OSX 10.9, John W. Eaton, 2013/11/14
- Re: build failure on OSX 10.9, c., 2013/11/14
- Re: build failure on OSX 10.9, Ben Abbott, 2013/11/14
- Re: build failure on OSX 10.9, c., 2013/11/14