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

JuanPi <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <CABDtPkSDnRimaGixXrmDbpLiUXiuTKSmZuTc5oLjExoE2Y0++Q@mail.gmail.com>
On Tue, Jun 9, 2020 at 3:01 AM John W. Eaton <[email protected]> wrote:
>
> 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

Hi John,

I have that and plenty more

ii  libqscintilla2-qt5-15           2.11.2+dfsg-6           amd64
  Qt5 port of the Scintilla source code editing widget
ii  libqscintilla2-qt5-dev          2.11.2+dfsg-6           amd64
  Scintilla source code editing widget for Qt5, development files
ii  libqscintilla2-qt5-l10n         2.11.2+dfsg-6           all
  Scintilla source code editing widget for Qt5, translation files
ii  libqt5concurrent5:amd64         5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 concurrent module
ii  libqt5core5a:amd64              5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 core module
ii  libqt5dbus5:amd64               5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 D-Bus module
ii  libqt5designer5:amd64           5.12.8-0ubuntu1         amd64
  Qt 5 designer module
ii  libqt5designercomponents5:amd64 5.12.8-0ubuntu1         amd64
  Qt 5 Designer components module
ii  libqt5gui5:amd64                5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 GUI module
ii  libqt5help5:amd64               5.12.8-0ubuntu1         amd64
  Qt 5 help module
ii  libqt5network5:amd64            5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 network module
ii  libqt5opengl5:amd64             5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 OpenGL module
ii  libqt5opengl5-dev:amd64         5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 OpenGL library development files
ii  libqt5positioning5:amd64        5.12.8+dfsg-0ubuntu1    amd64
  Qt Positioning module
ii  libqt5printsupport5:amd64       5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 print support module
ii  libqt5qml5:amd64                5.12.8-0ubuntu1         amd64
  Qt 5 QML module
ii  libqt5quick5:amd64              5.12.8-0ubuntu1         amd64
  Qt 5 Quick library
ii  libqt5quickparticles5:amd64     5.12.8-0ubuntu1         amd64
  Qt 5 Quick particles module
ii  libqt5quickshapes5:amd64        5.12.8-0ubuntu1         amd64
  Qt 5 Quick Shapes module
ii  libqt5quicktest5:amd64          5.12.8-0ubuntu1         amd64
  Qt 5 Quick Test library
ii  libqt5quickwidgets5:amd64       5.12.8-0ubuntu1         amd64
  Qt 5 Quick Widgets library
ii  libqt5sensors5:amd64            5.12.8-0ubuntu1         amd64
  Qt Sensors module
ii  libqt5sql5:amd64                5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 SQL module
ii  libqt5sql5-sqlite:amd64         5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 SQLite 3 database driver
ii  libqt5svg5:amd64                5.12.8-0ubuntu1         amd64
  Qt 5 SVG module
ii  libqt5test5:amd64               5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 test module
ii  libqt5webchannel5:amd64         5.12.8-0ubuntu1         amd64
  Web communication library for Qt
ii  libqt5webkit5:amd64             5.212.0~alpha4-1ubuntu2 amd64
  Web content engine library for Qt
ii  libqt5widgets5:amd64            5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 widgets module
ii  libqt5x11extras5:amd64          5.12.8-0ubuntu1         amd64
  Qt 5 X11 extras
ii  libqt5x11extras5-dev:amd64      5.12.8-0ubuntu1         amd64
  Qt 5 X11 extras development files
ii  libqt5xml5:amd64                5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 XML module
ii  libqt5xmlpatterns5:amd64        5.12.8-0ubuntu1         amd64
  Qt 5 XML patterns module
ii  qdoc-qt5                        5.12.8-0ubuntu1         amd64
  Qt 5 qdoc tool
ii  qhelpgenerator-qt5              5.12.8-0ubuntu1         amd64
  Qt 5 qhelpgenerator tool
ii  qt5-assistant                   5.12.8-0ubuntu1         amd64
  Qt 5 Assistant
ii  qt5-default:amd64               5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 development defaults package
ii  qt5-gtk-platformtheme:amd64     5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 GTK+ 3 platform theme
ii  qt5-qmake:amd64                 5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 qmake Makefile generator tool
ii  qt5-qmake-bin                   5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 qmake Makefile generator tool — binary file
ii  qt5-qmltooling-plugins:amd64    5.12.8-0ubuntu1         amd64
  Qt 5 qmltooling plugins
ii  qtattributionsscanner-qt5       5.12.8-0ubuntu1         amd64
  Qt 5 qtattributionsscanner tool
ii  qtbase5-dev:amd64               5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 base development files
ii  qtbase5-dev-tools               5.12.8+dfsg-0ubuntu1    amd64
  Qt 5 base development programs
ii  qtchooser                       66-2build1              amd64
  Wrapper to select between Qt development binary versions
ii  qtdeclarative5-dev:amd64        5.12.8-0ubuntu1         amd64
  Qt 5 declarative development files
ii  qtdeclarative5-dev-tools        5.12.8-0ubuntu1         amd64
  Qt 5 declarative development programs
ii  qttools5-dev:amd64              5.12.8-0ubuntu1         amd64
  Qt 5 tools development files
ii  qttools5-dev-tools              5.12.8-0ubuntu1         amd64
  Qt 5 development tools
ii  qttranslations5-l10n            5.12.8-0ubuntu1         all
  translations for Qt 5
ii  qtxmlpatterns5-dev-tools        5.12.8-0ubuntu1         amd64
  Qt 5 XML patterns development programs
ii  vlc-plugin-qt:amd64             3.0.9.2-1               amd64
  multimedia player and streamer (Qt plugin)

The config script says

configure: WARNING: QScintilla library not found; disabling built-in
Qt GUI editor

But many errors are triggered relate to qt5 if I try to compile
nevertheless (compilation does not succeeds)

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