Re: [stable build from source] Ubuntu 20.04 scintilla not found
Markus Mützel <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.maintainers |
|---|---|
| Message-ID | <trinity-1dabb70b-10d5-448c-b50a-8173acc92769-1592420371613@3c-app-gmx-bs57> |
Am 17. Juni 2020 um 20:36 Uhr schrieb "JuanPi": > Hi all, > > Thanks for the support. I have re-installed all the packages that were > listed for 19.10 (changed one texlive package, updated our wiki)[1]. > This doesn't solve the issue. > The errors I get if I ignore the false negative detection of > qscintilla are below > > /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 > collect2: error: ld returned 1 exit status > make[2]: *** [Makefile:15710: src/octave-svgconvert] Error 1 > make[2]: *** Waiting for unfinished jobs.... > 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 > > This is preceded by huge list of warnings similar to > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h: In member > function ‘QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const > QStyleOptionSizeGrip&)’: > /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qstyleoption.h:645:24: > warning: implicitly-declared ‘QStyleOptionComplex& > QStyleOptionComplex::operator=(const QStyleOptionComplex&)’ is > deprecated [-Wdeprecated-copy] > > [1]: https://wiki.octave.org/Octave_for_Debian_systems#The_right_way > The packages listed on the Wiki page draw in a bunch of dependencies afaik. Reinstalling only those doesn't reinstall all their dependencies. I'd try to reinstall the packages that contain the libraries that cannot be found. So start with sudo apt-get --reinstall install libqt5network5 and check if that makes the first error disappear. Than proceed with the other ones until the build is clear. HTH, Markus