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

"John W. Eaton" <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <[email protected]>
On 6/8/20 8:42 PM, JuanPi wrote:
> Hi all,
> 
> I've just updated to Ubunutu 20.04 and the configure script of the
> stable branch is failing to find qscintilla2-qt5. The error appears
> here:
> 
> configure:71463: g++ -o conftest -fPIC -g -O2 -pthread -fopenmp -I/usr/include/x
> 86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include
> /x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/
> include/x86_64-linux-gnu/qt5/QtHelp -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/i
> nclude/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr
> /include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/i
> nclude/x86_64-linux-gnu/qt5/QtSql -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/inc
> lude/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/inclu
> de/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I/usr/
> include/suitesparse   conftest.cpp -lQt5Network -lQt5PrintSupport
> -lQt5Help -lQt5Widgets -lQt5Gui -lQt5Sql -lQt5Xml -lQt5Core
> -lqscintilla2-qt5 >&5
> /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
> collect2: error: ld returned 1 exit status
> 
> This is curious since it was compiling perfectly in 19.10, that is, my
> system had all dependencies. And still has, accroding to our wiki[1],
> and to apt (all those modeules are installed).
> All the include folders do exist.
> 
> Anynone with the same issue?

What does

   dpkg -l '*qt*' | grep ^ii

show?  Do you have the -dev packages installed?  I have the following 
installed on my Debian system:

ii libqscintilla2-qt5-dev
ii libqt5opengl5-dev:amd64
ii qtbase5-dev:amd64
ii qtbase5-dev-tools
ii qtdeclarative5-dev-tools
ii qttools5-dev:amd64
ii qttools5-dev-tools
ii qtxmlpatterns5-dev-tools

jwe
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.