[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: |
Wed, 20 Feb 2013 08:25:40 -0500 |
On Feb 20, 2013, at 7:22 AM, c. wrote:
> On 18 Feb 2013, at 15:34, address@hidden wrote:
>
>> With your patch, I get the "Welcome" window, and after the configuration
>> file is create, the GUI runs! I've attached png's.
>>
>> I see the error below (also in the png).
>>
>> Object 0x7fcfe685cd20 of class NFConcreteMapTable autoreleased with no
>> pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
>>
>> Unfortunately, when I tried "ls" from the build directory "less" was found
>> to be unresponsive. Meaning that everything I type shows up in the command
>> window but has no effect.
>>
>> Ben
>
> Ben, how do you get the GUI to compile on OSX?
> I am trying to build on OSX 10.8.2 with dependencies from Mac Ports
> configuring with these options:
>
> ---------------------------------------------------------------
> ../octave/configure \
> CC=/opt/local/bin/gcc-mp-4.5 \
> CFLAGS="-pipe -O2 -m64" \
> CPPFLAGS=-I/opt/local/include \
> LDFLAGS="-L/opt/local/lib -m64" \
> CXX=/opt/local/bin/g++-mp-4.5 \
> CXXFLAGS="-pipe -O2 -m64" \
> F77=/opt/local/bin/gfortran-mp-4.5 \
> FFLAGS="-pipe -O2 -m64" \
> LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.1 \
> --with-lapack="-ldotwrp -Wl,-framework -Wl,Accelerate" \
> --prefix=/opt/octave/3.7 \
> --enable-gui \
> --enable-jit \
> --disable-java
> ---------------------------------------------------------------
>
> but compilation fails with the error below:
>
> ---------------------------------------------------------------
> In file included from ../../octave/libgui/src/m-editor/file-editor.h:34:0,
> from ../../octave/libgui/src/main-window.cc:40:
> ../../octave/libgui/src/m-editor/file-editor-tab.h:26:32: fatal error:
> Qsci/qsciscintilla.h: No such file or directory
> compilation terminated.
> make[3]: *** [src/src_libgui_src_la-main-window.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
> mv -f src/.deps/src_libgui_src_la-history-dockwidget.Tpo
> src/.deps/src_libgui_src_la-history-dockwidget.Plo
> mv -f src/octave-adapter/.deps/src_libgui_src_la-octave-link.Tpo
> src/octave-adapter/.deps/src_libgui_src_la-octave-link.Plo
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ---------------------------------------------------------------
>
> any idea what to look at?
> c.
More detail than you need, but in case it is useful for someone else, I use ...
(1) ./bootstrap
(2) macports_configure.sh
(3) make -j4
My configure script assumes MacPorts is installed and uses gcc 4.5 by default.
My first guess is that qscintilla is not installed.
I have the include file in /opt/local/include/Qsci/qsciscintilla.h
Ben
macports_configure.sh
Description: Binary data