Re: [stable build from source] Ubuntu 20.04 scintilla not found

JuanPi <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <CABDtPkQiracHiFHSVORcPVy=pXJxMbZ=aycM5rmytktmWDrkzg@mail.gmail.com>
> This looks like it is failing to build octave-svgconvert?  Could you run
>
>    make V=1
>
> and show the context for the last failure?  The last 50 lines or so
> should be enough, but I need to see the commands that were executed
> along with the error messages.
>

Hi jwe, sorry It was a parallel compilation. Here is the bottom result
of running make V=1
I assume the command that fails is shown in this case

libtool: link: g++  -fPIC -DPIC -shared -nostdlib
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o
/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o
/usr/lib/gcc/x86_64-linux-gnu/9/crtoffloadbegin.o
libgui/.libs/liboctgui_la-liboctgui-build-info.o  -Wl,--whole-archive
libgui/qterminal/.libs/libqterminal.a
libgui/graphics/.libs/libgraphics.a libgui/src/.libs/libgui-src.a
-Wl,--no-whole-archive  -Wl,-rpath
-Wl,/home/juanpi/Devel/octave/builds/stable/libinterp/.libs -Wl,-rpath
-Wl,/home/juanpi/Devel/octave/builds/stable/liboctave/.libs -Wl,-rpath
-Wl,/opt/octave/lib/octave/6.0.1 libinterp/.libs/liboctinterp.so
liboctave/.libs/liboctave.so -lQt5Network -lQt5PrintSupport -lQt5Help
-lQt5Sql -lQt5Xml -lQt5OpenGL -lQt5Widgets -lQt5Gui -lQt5Core -lutil
-L/usr/lib/gcc/x86_64-linux-gnu/9
-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib
-L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu
-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. -lstdc++
-lm -lgomp -lpthread -lc -lgcc_s
/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o
/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o
/usr/lib/gcc/x86_64-linux-gnu/9/crtoffloadend.o  -pthread -fopenmp -g
-O2   -pthread -fopenmp -Wl,-soname -Wl,liboctgui.so.6 -o
libgui/.libs/liboctgui.so.6.0.0
/usr/bin/ld: cannot find -lQt5Network
/usr/bin/ld: cannot find -lQt5PrintSupport
/usr/bin/ld: cannot find -lQt5Help
/usr/bin/ld: cannot find -lQt5Sql
/usr/bin/ld: cannot find -lQt5Xml
/usr/bin/ld: cannot find -lQt5OpenGL
/usr/bin/ld: cannot find -lQt5Widgets
/usr/bin/ld: cannot find -lQt5Gui
/usr/bin/ld: cannot find -lQt5Core
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:11478: libgui/liboctgui.la] Error 1
make[2]: Leaving directory '/home/juanpi/Devel/octave/builds/stable'
make[1]: *** [Makefile:27451: all-recursive] Error 1
make[1]: Leaving directory '/home/juanpi/Devel/octave/builds/stable'
make: *** [Makefile:11076: all] Error 2

As far as I understand these libraries are available, e.g.

$ ldconfig -p | grep Qt5Network
    libQt5Network.so.5 (libc6,x86-64) =>
/lib/x86_64-linux-gnu/libQt5Network.so.5

but configure is not finding them

$ grep cannot config.log
/usr/bin/ld: cannot find -lpthreads
/usr/bin/ld: cannot find -llthread
/usr/bin/ld: cannot find -ldld
/usr/bin/ld: cannot find -lopenblas
/usr/bin/ld: cannot find -latlas
/usr/bin/ld: cannot find -ldgemm
/usr/bin/ld: cannot find -lmkl_intel_lp64
/usr/bin/ld: cannot find -lmkl_intel_lp64
/usr/bin/ld: cannot find -lmkl_sequential
/usr/bin/ld: cannot find -lmkl_core
/usr/bin/ld: cannot find -lmkl
/usr/bin/ld: cannot find -lguide
/usr/bin/ld: cannot find -lcxml
/usr/bin/ld: cannot find -ldxml
/usr/bin/ld: cannot find -lscs
/usr/bin/ld: cannot find -lcomplib.sgimath
/usr/bin/ld: cannot find -lessl
/usr/bin/ld: cannot find -lQt5Network
/usr/bin/ld: cannot find -lQt5PrintSupport
/usr/bin/ld: cannot find -lQt5Help
/usr/bin/ld: cannot find -lQt5Widgets
/usr/bin/ld: cannot find -lQt5Gui
/usr/bin/ld: cannot find -lQt5Sql
/usr/bin/ld: cannot find -lQt5Xml
/usr/bin/ld: cannot find -lQt5Core
/usr/bin/ld: cannot find -lqscintilla2-qt5
/usr/bin/ld: cannot find -lQt5Network
/usr/bin/ld: cannot find -lQt5PrintSupport
/usr/bin/ld: cannot find -lQt5Help
/usr/bin/ld: cannot find -lQt5Widgets
/usr/bin/ld: cannot find -lQt5Gui
/usr/bin/ld: cannot find -lQt5Sql
/usr/bin/ld: cannot find -lQt5Xml
/usr/bin/ld: cannot find -lQt5Core
/usr/bin/ld: cannot find -lQt5Network
/usr/bin/ld: cannot find -lQt5PrintSupport
/usr/bin/ld: cannot find -lQt5Help
/usr/bin/ld: cannot find -lQt5Widgets
/usr/bin/ld: cannot find -lQt5Gui
/usr/bin/ld: cannot find -lQt5Sql
/usr/bin/ld: cannot find -lQt5Xml
/usr/bin/ld: cannot find -lQt5Core
/usr/bin/ld: cannot find -lqt5scintilla2

-- 
JuanPi Carbajal
https://goo.gl/ayiJzi

-----
“An article about computational result is advertising, not
scholarship. The actual scholarship is the full software environment,
code and data, that produced  the  result.”
- Buckheit and Donoho
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.