Proceeded to build with the script you provided for make and got this in the end:
error: __gnuplot_get_var__: Can not make FIFO (Function not implemented) make[2]: *** [doc/interpreter/voronoi.eps] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
That’s a bug related to macOS and GNUPLOT. If Qt configured ok the build should use the Qt for graphics.
Please run by “./run-octave —gui” and let us know what happens? ... gui or error?
Ben
Error... octave: GUI features missing or disabled in this build
When the build started I noticed a similar warning as we got during configure earlier:
WARNING: Your installation of Qt version 5 appears incomplete or broken in some way. Fix that or use --with-qt=VER to use another version.
It went out of the screen pretty quick though. So this is all I can surely recall.
You’re configure script is still not working.
Ben
But I didn't get any warnings after my last configure, no Qt warning or anything at all. So my configure script could still be wrong? I'll try to find out what's happening in the meanwhile.
Search config.status for the summary. Or just run the configure script again and copy the summary at the end into the email.
Ben
The end of my summary looks like below
Build Octave Qt GUI: yes (version: 5) JIT compiler for loops: no Build Java interface: yes Build static libraries: no Build shared libraries: yes Dynamic Linking API: dlopen Include support for GNU readline: yes 64-bit array dims and indexing: yes 64-bit BLAS array dims and indexing: no OpenMP SMP multithreading: no Truncate intermediate FP results: yes Build cross tools: no Build docs: yes
This is the end of my summary:
Default pager: less gnuplot: gnuplot
Build Octave Qt GUI: yes (version: 5) JIT compiler for loops: no Build Java interface: yes Build static libraries: no Build shared libraries: yes Dynamic Linking API: dlopen Include support for GNU readline: yes 64-bit array dims and indexing: yes 64-bit BLAS array dims and indexing: no OpenMP SMP multithreading: no Truncate intermediate FP results: yes Build cross tools: no Build docs: yes
Okay so I checked the Building for Macintosh platform wiki page again and noticed I hadn't pasted this...
export PATH=$PATH:/usr/local/bin:/usr/X11R6/bin export CFLAGS="-I/usr/local/include" export CPPFLAGS="-I/usr/local/include" export LDFLAGS="-L/usr/local/lib"
...in my .zshrc file. (I use zsh.)
I cloned the repository in a new folder and ran the scripts you provided(which I slightly modified) for configure and make and went out for a while. It built without any errors this time!
I ran it with --gui and it ran. Once I pressed the red exit button, it just froze on the screen and I had to close the terminal window. IIRC that's a known bug, I'm gonna have to apply the patches I think.
Very good! All you need to do is add a clumsy patch and a patch work around unstable output of graphics. You can find the patched attached to the bug reports below.
They may be applied from the root directory of your local sources by …
patch -p1 < ../octave-qt_wait_on_worker_thread-djs2018Oct19.patch patch -p1 < ../open_kEClIYyW.patch
Ben
|