octave-maintainers
[Top][All Lists]
Advanced

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

Re: build fails on macOS


From: Ben Abbott
Subject: Re: build fails on macOS
Date: Sat, 27 Oct 2018 09:45:40 +0900

jwe,

For clearer context, I ...

1) hg update -r a00379f6f8c4
2) bootstrap, configure, make
3) touch libgui/graphics/__init_qt__.cc
4) “make” and copied the result into a00379f6f8c4.txt
5) hg update -C
6) bootstrap, configure, make
7) “make” and copied the result into 456523d3cb4a.txt

The tip fails with "g++ -std=gnu++11  -o libgui/graphics/.libs/__init_qt__.so 
[…]”

ld: framework not found QtOpenGL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libgui/graphics/__init_qt__.la] Error 1

I expect the problem is the macOS feature/desire to know the location of other 
shared libs/frameworks. The successful build includes the info below.

        -F/usr/local/Cellar/qt/5.10.1/lib 

This is not present in the build that failed. “gcc —help” indicates

        -F <value>              Add directory to framework include search path

My configure script includes the location information below (which is 
symbolically linked to "/usr/local/Cellar/qt/5.10.1/lib"

        LDFLAGS="$LDFLAGS -L/usr/local/opt/qt/lib”

To test, I switched “-L” to “-F"

        LDFLAGS="$LDFLAGS -F/usr/local/opt/qt/lib”

With that added, the app builds.

I don’t know how the old process switched the “-L” to “-F”, but the fix doesn’t 
increase the complexity of my build, to I don’t think it is a problem.

—————

I now see a new problem when building docs.

doc/interpreter/plot.texi:6980: @ref reference to nonexistent node 
`XREFopenfig' (possibly involving @seealso)
make[2]: *** [doc/interpreter/octave.info] Error 1
make[1]: *** [all-recursive] Error 1

I’m also seeing a new problem with sundials during configure.

onfigure: WARNING: SUNDIALS NVECTOR serial library not found.  Solvers ode15i 
and ode15s will be disabled.
configure: WARNING: SUNDIALS IDA library not found.  Solvers ode15i and ode15s 
will be disabled.

These are each separate problems, but I thought I’d mention it incase anyone 
has some inspired insight.

I expect the doc problem is related to a recent change (I’ll track that down). 
I’ll also look into configure’s trouble with sundials. If needed, I’ll start 
new threads for each.

Ben


Attachment: a00379f6f8c4.txt
Description: Text document

Attachment: 456523d3cb4a.txt
Description: Text document


reply via email to

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