octave-maintainers
[Top][All Lists]
Advanced

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

Re: Having problem building on macOS Mojave


From: Anadi Kashyap
Subject: Re: Having problem building on macOS Mojave
Date: Wed, 26 Dec 2018 15:44:21 +0530



On Wed, Dec 26, 2018 at 3:35 PM Anadi Kashyap <address@hidden> wrote:
On Dec 26, 2018, at 12:21 PM, Anadi Kashyap <address@hidden> wrote:

On Wed, Dec 26, 2018 at 9:43 AM Ben Abbott <address@hidden> wrote:
On Dec 26, 2018, at 12:07, Ben Abbott <address@hidden> wrote:

On Dec 26, 2018, at 11:40, Anadi Kashyap <address@hidden> wrote:

On Wed, Dec 26, 2018 at 9:05 AM Ben Abbott <address@hidden> wrote:

On Dec 26, 2018, at 11:28, Anadi Kashyap <address@hidden> wrote:

On Wed, Dec 26, 2018 at 8:45 AM Ben Abbott <address@hidden> wrote:
On Dec 26, 2018, at 11:07, Anadi Kashyap <address@hidden> wrote:

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

Ben

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.
 

I ran the "make check" command and I got this at the end: 

image/movie.m ................................................../var/folders/cs/yy5bwrkn29n8dsqzp94fnnq40000gn/T/octave-help-x7c9Zl:114: Unknown command `codequoteundirected'.
fatal: caught signal Segmentation fault: 11 -- stopping myself...
/bin/sh: line 1: 18996 Segmentation fault: 11  /bin/sh ../run-octave --norc --silent --no-history -p /Users/katokateki/o1/octave/.build/test/mex /Users/katokateki/o1/octave/.build/../test/fntests.m /Users/katokateki/o1/octave/.build/../test
make[3]: *** [check-local] Error 139
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

What does it mean?

reply via email to

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