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/17/20 2:36 PM, JuanPi wrote:
> 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 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.

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

Those are because GCC added some new warnings.  You can ignore them. 
The Qt code is still valid, but should be updated to conform to current 
C++ standards.

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.