octave-maintainers
[Top][All Lists]
Advanced

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

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


From: JuanPi
Subject: Re: [stable build from source] Ubuntu 20.04 scintilla not found
Date: Wed, 17 Jun 2020 12:36:30 +0200

On Wed, Jun 17, 2020 at 12:11 PM JuanPi <ajuanpi@gmail.com> wrote:
>
> Dear all,
>
> I am still unable to compile stable, due to configure failing to
> detect Qscintiilla 2 (current hypothesis). The failing messages in
> config.log are
>
> $ grep scintilla config.log
> configure:71463: g++ -o conftest -fPIC -g -O2 -pthread -fopenmp
> -I/usr/include/x86_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/include/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/include/x86_64-linux-gnu/qt5/QtSql
> -I/usr/include/x86_64-linux-gnu/qt5
> -I/usr/include/x86_64-linux-gnu/qt5/QtXml
> -I/usr/include/x86_64-linux-gnu/qt5
> -I/usr/include/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 -lqscintilla2-qt5
> configure:71463: g++ -o conftest -fPIC -g -O2 -pthread -fopenmp
> -I/usr/include/x86_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/include/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/include/x86_64-linux-gnu/qt5/QtSql
> -I/usr/include/x86_64-linux-gnu/qt5
> -I/usr/include/x86_64-linux-gnu/qt5/QtXml
> -I/usr/include/x86_64-linux-gnu/qt5
> -I/usr/include/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
> configure:71463: g++ -o conftest -fPIC -g -O2 -pthread -fopenmp
> -I/usr/include/x86_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/include/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/include/x86_64-linux-gnu/qt5/QtSql
> -I/usr/include/x86_64-linux-gnu/qt5
> -I/usr/include/x86_64-linux-gnu/qt5/QtXml
> -I/usr/include/x86_64-linux-gnu/qt5
> -I/usr/include/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 -lqt5scintilla2 >&5
> /usr/bin/ld: cannot find -lqt5scintilla2
> octave_cv_lib_qscintilla=no
>
> My system has the library
>
> $ locate scintilla | grep /usr
> /usr/include/x86_64-linux-gnu/qt5/Qsci/qsciscintilla.h
> /usr/include/x86_64-linux-gnu/qt5/Qsci/qsciscintillabase.h
> /usr/lib/libqscintilla2_qt5.so
> /usr/lib/libqscintilla2_qt5.so.15
> /usr/lib/libqscintilla2_qt5.so.15.0
> /usr/lib/libqscintilla2_qt5.so.15.0.0
> /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qscintilla2.prf
> /usr/share/doc/libqscintilla2-qt5-15
> /usr/share/doc/libqscintilla2-qt5-dev
> /usr/share/doc/libqscintilla2-qt5-l10n
> /usr/share/doc/libqscintilla2-qt5-15/README
> /usr/share/doc/libqscintilla2-qt5-15/changelog.Debian.gz
> /usr/share/doc/libqscintilla2-qt5-15/copyright
> /usr/share/doc/libqscintilla2-qt5-dev/changelog.Debian.gz
> /usr/share/doc/libqscintilla2-qt5-dev/copyright
> /usr/share/doc/libqscintilla2-qt5-l10n/changelog.Debian.gz
> /usr/share/doc/libqscintilla2-qt5-l10n/copyright
> /usr/share/qt5/translations/qscintilla_cs.qm
> /usr/share/qt5/translations/qscintilla_de.qm
> /usr/share/qt5/translations/qscintilla_es.qm
> /usr/share/qt5/translations/qscintilla_fr.qm
> /usr/share/qt5/translations/qscintilla_pt_br.qm
>
> $ ldconfig -p | grep scintilla
>     libqscintilla2_qt5.so.15 (libc6,x86-64) => /lib/libqscintilla2_qt5.so.15
>     libqscintilla2_qt5.so (libc6,x86-64) => /lib/libqscintilla2_qt5.so
>
> I thought it could be a naming problem so I created a symbolic link
> qt5scintilla2 to ibqscintilla2_qt5 but still doesn't work.

I noticed that lpr is not installed because it conflicts with
cups-bsd. lpr is listed as build dependency for 19.10 [1]... can this
be the issue?
If it is then the error in the config log is very misleading.

[1] https://wiki.octave.org/Octave_for_Debian_systems#The_right_way

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



reply via email to

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