octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53841] Could not copy help collection to temp


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #53841] Could not copy help collection to temporary file. Cannot load sqlite database driver!
Date: Mon, 14 May 2018 12:45:39 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #20, bug #53841 (project octave):

Thank you Mike.

I installed the following.
++
sudo apt-get install qt5-default
sudo apt-get install libqt5scintilla2-dev
--

Unfortunately I ran into this error.
++
  CXX     
libgui/src/m-editor/libgui_src_libgui_src_la-moc-file-editor-interface.lo
libgui/src/m-editor/moc-file-editor-interface.cc:16:2: error: #error "This
file was generated using the moc from 4.8.7. It"
 #error "This file was generated using the moc from 4.8.7. It"
  ^
libgui/src/m-editor/moc-file-editor-interface.cc:17:2: error: #error "cannot
be used with the include files from this version of Qt."
 #error "cannot be used with the include files from this version of Qt."
  ^
libgui/src/m-editor/moc-file-editor-interface.cc:18:2: error: #error "(The moc
has changed too much.)"
 #error "(The moc has changed too much.)"
  ^
libgui/src/m-editor/moc-file-editor-interface.cc:87:7: error:
‘QMetaObjectExtraData’ does not name a type
 const QMetaObjectExtraData
octave::file_editor_interface::staticMetaObjectExtraData = {
       ^
libgui/src/m-editor/moc-file-editor-interface.cc:93:52: error:
‘staticMetaObjectExtraData’ was not declared in this scope
       qt_meta_data_octave__file_editor_interface, &staticMetaObjectExtraData
}
                                                    ^
libgui/src/m-editor/moc-file-editor-interface.cc: In member function
‘virtual const QMetaObject* octave::file_editor_interface::metaObject()
const’:
libgui/src/m-editor/moc-file-editor-interface.cc:102:71: error: conditional
expression between distinct pointer types ‘QDynamicMetaObjectData*’ and
‘const QMetaObject*’ lacks a cast
     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject :
&staticMetaObject;
                                                                       ^
Makefile:17178: recipe for target
'libgui/src/m-editor/libgui_src_libgui_src_la-moc-file-editor-interface.lo'
failed
make[2]: ***
[libgui/src/m-editor/libgui_src_libgui_src_la-moc-file-editor-interface.lo]
Error 1
make[2]: Leaving directory '/home/octave-4.4.0'
Makefile:26469: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/octave-4.4.0'
Makefile:10185: recipe for target 'all' failed
make: *** [all] Error 2
--

Then I deleted the autogenerated "moc" files (rm libgui/src/m-editor/moc*) and
the make script recreated them using the newly installed qt5 version of moc.

After that the compilation went smoothly and it runs :)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53841>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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