Error compiling octave under Centos 7

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Error compiling octave under Centos 7

Ariel Arelovich
Hi, I need to install a newer version than the repository octave (which is 3.8.2). 

I'm currently trying to install version 4.2.1 as it seems to be the newest. 

Here are all the steps that I did:

1)   yum update
2)   yum-builddep -y octave
3)   yum -y install qt-devel mercurial gcc-c++ lapack-devel libtool
4)   yum -y install epstool transfig pstoedit qscintilla-devel 

(NOTE: First problem was right here as there is NO pstoedit in Centos 7, as far as I know)

5) sudo yum install bzip2-devel atlas-devel libsndfile-devel portaudio-devel GraphicsMagick-c++-devel
6)  ln -s /usr/lib64/atlas/libtatlas.so /usr/lib64/libatlas.so (One of the tutorials recommended doing this to fix a place where a library was being searched for or something like that. It seemed harmless enough)
8) tar-xvf octave-4.2.1.tar.lz
9) cd octave-4.2.1
10) export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
11) ./configure --prefix=/usr/local/octave/versions/4.2.1
12)  make -j4

It failed with this error:

In file included from libgui/src/settings-dialog.cc:31:0:
libgui/src/ui-settings-dialog.h:13:29: fatal error: QtWidgets/QAction: No such file or directory
 #include <QtWidgets/QAction>

This seems to be a Qt version problem but I don't know how to fix it.

Can any one give me a hand, here?

Thanks in advance.

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling octave under Centos 7

Ariel Arelovich
So following a suggestion from someone in stack overflow I did make instead of make -j4. This took a good long while and I changed the error above for this error:

libgui/qterminal/libqterminal/moc-QTerminal.cc:18:2: error: #error "This file was generated using the moc from 5.6.1. It"
 #error "This file was generated using the moc from 5.6.1. It"
  ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:19: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/qterminal/libqterminal/moc-QTerminal.cc:20:2: error: #error "(The moc has changed too much.)"
 #error "(The moc has changed too much.)"
  ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:25:5: error: ‘QByteArrayData’ does not name a type
     QByteArrayData data[18];
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:35:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(0, 0, 9), // "QTerminal"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:35:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(0, 0, 9), // "QTerminal"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:36:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(1, 10, 21), // "report_status_message"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:36:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(1, 10, 21), // "report_status_message"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:37:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(2, 32, 0), // ""
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:37:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(2, 32, 0), // ""
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:38:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(3, 33, 16), // "interrupt_signal"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:38:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(3, 33, 16), // "interrupt_signal"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:39:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(4, 50, 18), // "edit_mfile_request"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:39:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(4, 50, 18), // "edit_mfile_request"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:40:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(5, 69, 13), // "copyClipboard"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:40:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(5, 69, 13), // "copyClipboard"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:41:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(6, 83, 14), // "pasteClipboard"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:41:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(6, 83, 14), // "pasteClipboard"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:42:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(7, 98, 9), // "selectAll"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:42:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(7, 98, 9), // "selectAll"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:43:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(8, 108, 32), // "handleCustomContextMenuRequested"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:43:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(8, 108, 32), // "handleCustomContextMenuRequested"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:44:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(9, 141, 2), // "at"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:44:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(9, 141, 2), // "at"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:45:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(10, 144, 15), // "notice_settings"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:45:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(10, 144, 15), // "notice_settings"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:46:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(11, 160, 16), // "const QSettings*"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:46:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(11, 160, 16), // "const QSettings*"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:47:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(12, 177, 8), // "settings"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:47:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(12, 177, 8), // "settings"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:48:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(13, 186, 18), // "init_terminal_size"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:48:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(13, 186, 18), // "init_terminal_size"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:49:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(14, 205, 18), // "terminal_interrupt"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:49:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(14, 205, 18), // "terminal_interrupt"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:50:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(15, 224, 20), // "set_global_shortcuts"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:50:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(15, 224, 20), // "set_global_shortcuts"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:51:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(16, 245, 9), // "focus_out"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:51:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(16, 245, 9), // "focus_out"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:31:24: error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:52:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(17, 255, 9) // "edit_file"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:32:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
     )
     ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:52:1: note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(17, 255, 9) // "edit_file"
 ^
libgui/qterminal/libqterminal/moc-QTerminal.cc: In static member function ‘static void QTerminal::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
libgui/qterminal/libqterminal/moc-QTerminal.cc:134:22: error: ‘IndexOfMethod’ is not a member of ‘QMetaObject’
     } else if (_c == QMetaObject::IndexOfMethod) {
                      ^
libgui/qterminal/libqterminal/moc-QTerminal.cc: At global scope:
libgui/qterminal/libqterminal/moc-QTerminal.cc:162:64: error: ‘const struct qt_meta_stringdata_QTerminal_t’ has no member named ‘data’
     { &QWidget::staticMetaObject, qt_meta_stringdata_QTerminal.data,
                                                                ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:163:52: error: ‘Q_NULLPTR’ was not declared in this scope
       qt_meta_data_QTerminal,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
                                                    ^
libgui/qterminal/libqterminal/moc-QTerminal.cc:163:63: error: ‘Q_NULLPTR’ was not declared in this scope
       qt_meta_data_QTerminal,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
                                                               ^
libgui/qterminal/libqterminal/moc-QTerminal.cc: In member function ‘virtual const QMetaObject* QTerminal::metaObject() const’:
libgui/qterminal/libqterminal/moc-QTerminal.cc:169:57: error: ‘class QObjectData’ has no member named ‘dynamicMetaObject’
     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
                                                         ^
libgui/qterminal/libqterminal/moc-QTerminal.cc: In member function ‘virtual void* QTerminal::qt_metacast(const char*)’:
libgui/qterminal/libqterminal/moc-QTerminal.cc:174:26: error: ‘Q_NULLPTR’ was not declared in this scope
     if (!_clname) return Q_NULLPTR;
                          ^
libgui/qterminal/libqterminal/moc-QTerminal.cc: In member function ‘virtual int QTerminal::qt_metacall(QMetaObject::Call, int, void**)’:
libgui/qterminal/libqterminal/moc-QTerminal.cc:189:22: error: ‘RegisterMethodArgumentMetaType’ is not a member of ‘QMetaObject’
     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
                      ^
libgui/qterminal/libqterminal/moc-QTerminal.cc: In member function ‘void QTerminal::report_status_message(const QString&)’:
libgui/qterminal/libqterminal/moc-QTerminal.cc:200:20: error: ‘Q_NULLPTR’ was not declared in this scope
     void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
                    ^
libgui/qterminal/libqterminal/moc-QTerminal.cc: In member function ‘void QTerminal::interrupt_signal()’:
libgui/qterminal/libqterminal/moc-QTerminal.cc:207:55: error: ‘Q_NULLPTR’ was not declared in this scope
     QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
                                                       ^
libgui/qterminal/libqterminal/moc-QTerminal.cc: In member function ‘void QTerminal::edit_mfile_request(const QString&, int)’:
libgui/qterminal/libqterminal/moc-QTerminal.cc:213:20: error: ‘Q_NULLPTR’ was not declared in this scope
     void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };


Any clues?

On Tue, Jun 6, 2017 at 6:40 AM, Ariel Arelovich <[hidden email]> wrote:
Hi, I need to install a newer version than the repository octave (which is 3.8.2). 

I'm currently trying to install version 4.2.1 as it seems to be the newest. 

Here are all the steps that I did:

1)   yum update
2)   yum-builddep -y octave
3)   yum -y install qt-devel mercurial gcc-c++ lapack-devel libtool
4)   yum -y install epstool transfig pstoedit qscintilla-devel 

(NOTE: First problem was right here as there is NO pstoedit in Centos 7, as far as I know)

5) sudo yum install bzip2-devel atlas-devel libsndfile-devel portaudio-devel GraphicsMagick-c++-devel
6)  ln -s /usr/lib64/atlas/libtatlas.so /usr/lib64/libatlas.so (One of the tutorials recommended doing this to fix a place where a library was being searched for or something like that. It seemed harmless enough)
8) tar-xvf octave-4.2.1.tar.lz
9) cd octave-4.2.1
10) export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
11) ./configure --prefix=/usr/local/octave/versions/4.2.1
12)  make -j4

It failed with this error:

In file included from libgui/src/settings-dialog.cc:31:0:
libgui/src/ui-settings-dialog.h:13:29: fatal error: QtWidgets/QAction: No such file or directory
 #include <QtWidgets/QAction>

This seems to be a Qt version problem but I don't know how to fix it.

Can any one give me a hand, here?

Thanks in advance.


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling octave under Centos 7

karl
Am 06.06.2017 um 13:47 schrieb Ariel Arelovich:
> So following a suggestion from someone in stack overflow I did make instead of make -j4. This took a good long while
> and I changed the error above for this error:
>
It is not appreciated much if you multipost here and to stack exchange without giving the links.
So you want people here to help you and people there without them seeing what the others have done.

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling octave under Centos 7

Ariel Arelovich
Sorry about that. I'm new to all of this Here is the thread:

https://stackoverflow.com/questions/44387460/error-compiling-octave-in-centos-7

Currently I've figured out that I need to compile with with-qt=4 option, but I want to do it with qt5. However when doing the configure I get this warning that QScintilla was not found so the Qt Gui will be disabled. Which is what, I believe, caused the problem in the first place.

However the library IS installed. It is just a matter of creating the right symlink for the configure to find it. But I don't know where it is on my computer or where the configure is looking for it.

Again, sorry If I behaved incorrectly.

On Tue, Jun 6, 2017 at 9:01 AM, <[hidden email]> wrote:
Am 06.06.2017 um 13:47 schrieb Ariel Arelovich:
So following a suggestion from someone in stack overflow I did make instead of make -j4. This took a good long while and I changed the error above for this error:

It is not appreciated much if you multipost here and to stack exchange without giving the links.
So you want people here to help you and people there without them seeing what the others have done.

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling octave under Centos 7

Mike Miller-4
On Tue, Jun 06, 2017 at 09:24:35 -0300, Ariel Arelovich wrote:
> Currently I've figured out that I need to compile with with-qt=4 option,
> but I want to do it with qt5. However when doing the configure I get this
> warning that QScintilla was not found so the Qt Gui will be disabled. Which
> is what, I believe, caused the problem in the first place.

Building Octave without QScintilla will disable the built-in code
editor, but the rest of the GUI and plot functions will be fully
functional.

> However the library IS installed. It is just a matter of creating the right
> symlink for the configure to find it. But I don't know where it is on my
> computer or where the configure is looking for it.

It looks to me like the EPEL 7 repository has a qscintilla package built
against Qt 4, but not against Qt 5.

Is there a reason you want to build against Qt 5? I would recommend
building with Qt 5 when using an up-to-date distro like Debian or
Fedora, but using Qt 4 with a stable / enterprise / LTS distro like
CentOS 7 at this point. Maybe when CentOS 8 comes out it will have
better built-in support for Qt 5.

--
mike

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave