octave-maintainers
[Top][All Lists]
Advanced

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

Re: error building GUI on Mac OS-X 10.6.8


From: Ben Abbott
Subject: Re: error building GUI on Mac OS-X 10.6.8
Date: Sat, 11 Aug 2012 10:46:03 -0400

On Aug 11, 2012, at 3:44 AM, Michael Goffioul wrote:

> On Sat, Aug 11, 2012 at 2:50 AM, Ben Abbott <address@hidden> wrote:
> On Aug 10, 2012, at 9:10 PM, John W. Eaton wrote:
> 
> > On 10-Aug-2012, Thomas Yengst wrote:
> >
> > | I successfully built the development version with help from Ben. Finally, 
> > success on OS-X. Now I'm trying to build Jacob's GUI and run into something 
> > that I haven't seen on the maintainers list.
> > |
> > | I did the following;:
> > | hg update gui
> > | hg pull
> > | cd gui
> > | qmake
> > | make
> > |
> > | ... and got fairly far into the compile before....
> >
> > I'm not sure what is causing the compile problems, but I've recently
> > changed the build system so that you should now just do ./autogen.sh
> > in the source tree and then configure in the build tree, then make.
> > You don't need to run qmake or cd to the gui directory to run make,
> > just do it from the top-level directory
> >
> > See also this message about a minor problem that I'm working on fixing
> > but have not checked in yet:
> >
> > https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2012-August/029359.html
> >
> > If you still have problems, then please report the details.
> >
> > Thanks,
> >
> > jwe
> 
> My tip is ...
> 
> $ hg tip
> changeset:   15153:ba431d1106e3
> tag:         tip
> user:        Rik <address@hidden>
> date:        Fri Aug 10 17:50:55 2012 -0700
> summary:     build: Update ax_XXX macros in m4 directory to newest versions.
> 
> I'm seeing the error below.  I tried ....
> 
>         make -C src interp-core/mxarray.h
> 
> ... but the error persists.
> 
> libtool: compile:  /opt/local/bin/g++-mp-4.5 -DHAVE_CONFIG_H -I. -I../.. 
> -DHAVE_CONFIG_H -I/opt/local/include -I/opt/local/include/QtCore 
> -I/opt/local/include/QtGui -I./../qterminal/libqterminal -D_THREAD_SAFE 
> -pthread -I/opt/local/include -pipe -O0 -g -m64 -ggdb3 -gstabs -D_THREAD_SAFE 
> -pthread -D_THREAD_SAFE -pthread -MT libqterminal_la-moc_QTerminal.lo -MD -MP 
> -MF .deps/libqterminal_la-moc_QTerminal.Tpo -c 
> ../qterminal/libqterminal/moc_QTerminal.cpp  -fno-common -DPIC -o 
> .libs/libqterminal_la-moc_QTerminal.o
> libtool: compile:  /opt/local/bin/g++-mp-4.5 -DHAVE_CONFIG_H -I. -I../.. 
> -DHAVE_CONFIG_H -I/opt/local/include -I/opt/local/include/QtCore 
> -I/opt/local/include/QtGui -I./../qterminal/libqterminal -D_THREAD_SAFE 
> -pthread -I/opt/local/include -pipe -O0 -g -m64 -ggdb3 -gstabs -D_THREAD_SAFE 
> -pthread -D_THREAD_SAFE -pthread -MT 
> libqterminal_la-moc_QTerminalInterface.lo -MD -MP -MF 
> .deps/libqterminal_la-moc_QTerminalInterface.Tpo -c 
> ../qterminal/libqterminal/moc_QTerminalInterface.cpp  -fno-common -DPIC -o 
> .libs/libqterminal_la-moc_QTerminalInterface.o
> ../qterminal/libqterminal/moc_QTerminal.cpp:10:30: fatal error: 
> thread/QTerminal.h: No such file or directory
> compilation terminated.
> ../qterminal/libqterminal/moc_QTerminalInterface.cpp:10:39: fatal error: 
> thread/QTerminalInterface.h: No such file or directory
> compilation terminated.
> 
> Could you post the MOC command that is generating those moc_xxx.cpp files? 
> Could you also check the content of those moc files? The presence of "thread" 
> is kinda weird...
> 
> Michael.

I deleted gui/qterminal/libqterminal/moc_Filter.cpp and ran "make" from 
gui/qterminal/libqterminal.  The result is below.

/opt/local/bin/moc -DHAVE_POSIX_OPENPT -DHAVE_PTY_H -DHAVE_OPENPTY -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I. 
-I/opt/local/include/QtGui -I/opt/local/include/QtCore -I/opt/local/include 
-D__APPLE__ -D__GNUC__ unix/Filter.h -o moc_Filter.cpp
/usr/bin/llvm-g++-4.2 -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 
-mmacosx-version-min=10.7 -fPIC -Wall -W -DHAVE_POSIX_OPENPT -DHAVE_PTY_H 
-DHAVE_OPENPTY -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I. -I/opt/local/include/QtGui 
-I/opt/local/include/QtCore -I/opt/local/include -o moc_Filter.o moc_Filter.cpp
rm -f libqterminal.a
ar cq libqterminal.a BlockArray.o Emulation.o Filter.o History.o 
KeyboardTranslator.o konsole_wcwidth.o kpty.o QUnixTerminalImpl.o Screen.o 
ScreenWindow.o TerminalCharacterDecoder.o Vt102Emulation.o SelfListener.o 
TerminalModel.o TerminalView.o moc_Emulation.o moc_Filter.o 
moc_QUnixTerminalImpl.o moc_ScreenWindow.o moc_Vt102Emulation.o 
moc_SelfListener.o moc_TerminalModel.o moc_TerminalView.o moc_QTerminal.o 
moc_QTerminalInterface.o
ranlib -s libqterminal.a

Ben




reply via email to

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