bugGNU Octave - Bugs: bug #48234, Detection of Qscintilla libraries


bug #48234: Detection of Qscintilla libraries

Submitter:  Guillaume <gyom>
Submitted:  Wed 15 Jun 2016 04:08:57 PM UTC
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Guillaume Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Fri 01 Jul 2016 12:07:22 PM UTC, comment #6: 

Thanks Mike - I hadn't noticed that bug report.

The configuration failure for Qscintilla is due to -lQtOpenGL. I forced the outcome of the configuration test to be true (ie imposing octave_cv_lib_qscintilla=yes): Octave compilation ran through ok and the editor is back and functional. So, I'm happy now even if libnvidia-glcore.so seems broken on my system.

Guillaume <gyom>
Thu 30 Jun 2016 05:47:14 PM UTC, comment #5: 

Guillaume, there is a separate bug about falling back to the system editor if the GUI is built without Qscintilla, that has not yet been addressed by anyone interested (because most people are happy with the built-in editor). See bug #39179.

Mike Miller <mtmiller>
Group Member
Thu 30 Jun 2016 05:43:54 PM UTC, comment #4: 

While I'm waiting for a new version of the nvidia drivers to fix the issue, I am having problems setting up another editor to use.

I've added an entry in ~/.octaverc:

edit editor MY_EDITOR

but I get at startup the following error message:

error: The EDITOR option of edit has been removed.  Use EDITOR() directly.

EDITOR() returns the content of the system variable $EDITOR.

Invoking "edit" at the command line from the desktop does not do anything - it opens the chosen editor when running Octave with --no-gui.

Guillaume <gyom>
Wed 15 Jun 2016 06:13:59 PM UTC, comment #3: 

Ok, closing as invalid due to unrelated system library problems.

Fixed the typo here:


Mike Miller <mtmiller>
Group Member
Wed 15 Jun 2016 04:48:12 PM UTC, comment #2: 

Ah, thanks Mike! config.log has:

configure:20269: checking whether Qscintilla library is installed
configure:20309: g++ -std=gnu++11 -o conftest -g -O2 -pthread -fopenmp -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtGui -I/usr/include/QtCore     conftest.cpp -lQtNetwork -lQtOpenGL -lQtGui -lQtCore  -lqscintilla2 >&5
/usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_vsnprintf'
/usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_alloc'
/usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_free'
collect2: error: ld returned 1 exit status

so it seems that the problem comes from the update of the nvidia driver that also took place today (to version 367.27).

[Aside from this, I still think there is a typo in configure such that it should be:


instead of:

Guillaume <gyom>
Wed 15 Jun 2016 04:24:44 PM UTC, comment #1: 

Works for me. Some more details are needed here. The best details would be the snippet from config.log that explains why the test failed to check for qscintilla. Searching for that "checking" string in config.log should get you to the right place.

Mike Miller <mtmiller>
Group Member
Wed 15 Jun 2016 04:08:57 PM UTC, original submission:  

As of today, Octave compiled without the GUI editor and ./configure now displays:

checking whether Qscintilla library is installed... no

while libqscintilla-devel and libqscintilla2-11 are installed (2.8.2-2.1.8).

There has been an update of libqt4-devel to version 4.8.6 on my system today so I assume it might be related.

I tried to compile the following:

#include <Qsci/qscilexersql.h>

int main ()
  QsciLexerSQL sqlLexer(0);

  return 0;


gcc qscint.cpp -lqscintilla2 -I/usr/include/QtNetwork -I/usr/include/QtOpenGL -I/usr/include/QtGui -I/usr/include/QtCore

and it compiles and runs fine.

Looking at configure/configure.ac, I notice that the warning "Qscintilla library not found; disabling built-in Qt GUI editor" is not displayed in my case but it might be due to a typo warn_qscintilla -> warn_qscintilla_editor.

Guillaume <gyom>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ederag
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-18 ederag Carbon-Copy- Added ederag
    2016-06-15 mtmiller StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2016-06-15 mtmiller StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code