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: Andrew Janke
Subject: Re: Having problem building on macOS Mojave
Date: Tue, 25 Dec 2018 19:13:19 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

Oops; sent this email to just Ben. Re-sending to entire list.

On 12/23/18 9:29 PM, Ben Abbott wrote:

My configure ends with ...

  Build Octave Qt GUI:                  no (missing:qcollectiongenerator)
   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

configure: 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.
configure: WARNING: one or more of the Qt utilities moc, uic, rcc, lrelease, 
qcollectiongenerator, and qhelpgenerator not found; disabling Qt GUI
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are not 
found
configure: NOTE: OR if they are missing required features on your system.

Notice that the configure script includes the notes below.

—————————
# Start with Octave to fulfill most dependencies
brew install octave
brew uninstall octave
# Use Sundails27 instead of Sundials
brew unlink sundials
brew install sundials27
# Add qscintilla2
brew install qscintilla2
# Use Homebrew's texinfo
brew install texinfo
# Use Homebrew's bison
brew install bison
—————————

Your sundials warning/errors may be due to not unliking “sundials” and not 
installing “sundials27”

Regarding Qt,,this dependency is satisfied by “brew install octave”. I get an 
error installing Octave due to a check for Java 1.6, which is optional for 
Octave, but homebrew treats it like a requirement.

Above you’ll see my qt is missing:qcollectiongenerator. There looks to be a 
regression with homebrew’s qt5 (I was able to compile octave an hour ago, but 
am not able to after updating homebrew and upgrading its ports).

I’m adding Sebastian/Adrew t the cc-list. They each have more expertise with 
homebrew than I.

Sebastial/Andrew,

Using qt5 from homebrew is resulting in missing:qcollectiongenerator. Do either 
of you have a solution for that?

Ben


Hi Ben,

Sorry for the slow response here. Holidays.

Homebrew doesn't do much special with its Qt builds; this might be a regression in Qt 5.12 itself. I'll look in to it.

Homebrew's Octave formula now checks for Java 1.8, not Java 1.6. Are you using an old formula, maybe? And it's only "recommended", so you can disable it with `--without-java`.

A note on building on macOS: if you want to do it all through Homebrew so it sets up your paths and environment variables, you can use the octave-head-test formula I put together:

brew tap octave-app/octave-app-bases
brew install --HEAD octave-head-test

That will install from the head of the "default" branch, linking up with all the necessary Homebrew-installed dependencies. (And this formula avoids the lengthy custom builds of Qt etc that Octave.app itself does.)

It does slightly hack mkoctfile to reduce the number of linker flags passed. We can disable that if you want.

I'm also getting missing:qcollectiongenerator.

  Build Octave Qt GUI:                  no (missing:qcollectiongenerator)
  JIT compiler for loops:               no
  Build Java interface:                 yes
  Build static libraries:               no


My build on macOS is currently breaking due to a seemingly unrelated gnuplot issue.

/bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-28908-1yuz1ng/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi', 'eps');" /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-28908-1yuz1ng/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'triplot', 'eps');" /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-28908-1yuz1ng/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'griddata', 'eps');" /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-28908-1yuz1ng/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'convhull', 'eps');" /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-28908-1yuz1ng/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'delaunay', 'eps');" /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-28908-1yuz1ng/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'inpolygon', 'eps');" /bin/sh run-octave --norc --silent --no-history --path /private/tmp/octave-head-test-20181225-28908-1yuz1ng/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpft', 'eps');"
error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [doc/interpreter/triplot.eps] Error 1
error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/griddata.eps] Error 1
make[2]: *** [doc/interpreter/convhull.eps] Error 1
error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/delaunay.eps] Error 1
make[2]: *** [doc/interpreter/inpolygon.eps] Error 1
error: __gnuplot_get_var__: Can not make FIFO (Function not implemented)
make[2]: *** [doc/interpreter/interpft.eps] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Full build logs: https://gist.github.com/7cd7d50075a86572db9e05ee4e1c7e59

Cheers,
Andrew



reply via email to

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