Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

klayout build error on RHEL 7.4

Hi,

I am new to this forum/application,

I am trying to build klayout 0.25.7 on RHEL 7.4. I am facing below error and build got interrupted in between.
**
******/usr/include/qt5/QtCore/qobject.h:571:44: error: expected initializer before ‘Q_DECL_NOTHROW’
QSignalBlocker::QSignalBlocker(QObject *o) Q_DECL_NOTHROW
^
/usr/include/qt5/QtCore/qobject.h:577:44: error: expected initializer before ‘Q_DECL_NOTHROW’
QSignalBlocker::QSignalBlocker(QObject &o) Q_DECL_NOTHROW
^
/usr/include/qt5/QtCore/qobject.h:584:56: error: expected initializer before ‘Q_DECL_NOTHROW’
QSignalBlocker::QSignalBlocker(QSignalBlocker &&other) Q_DECL_NOTHROW
^
/usr/include/qt5/QtCore/qobject.h:592:67: error: expected initializer before ‘Q_DECL_NOTHROW’
QSignalBlocker &QSignalBlocker::operator=(QSignalBlocker &&other) Q_DECL_NOTHROW
^
In file included from /usr/include/ruby/ruby.h:70:0,
from /usr/include/ruby.h:33,
from ../../../src/rba/rba/rbaUtils.h:28,
from ../../../src/rba/rba/rbaConvert.h:28,
from ../../../src/rba/rba/rba.cc:39:
/usr/include/ruby/defines.h:61:37: error: expected declaration before end of line
#pragma GCC visibility push(default)
^
cc1plus: warning: unrecognized command line option "-Wno-reserved-user-defined-literal" [enabled by default]
gmake[2]: *** [rba.o] Error 1
gmake[2]: Leaving directory /usr/local/emb/klayout/klayout-0.25.7/build-release/rba/rba' gmake[1]: *** [sub-rba-make_first] Error 2 gmake[1]: Leaving directory /usr/local/emb/klayout/klayout-0.25.7/build-release/rba'
gmake: *** [sub-rba-make_first] Error 2**


can you please suggest what would be the cause?\

Application Versions:

Version Info:
Version: 0.25.7
Date: 2019-03-12
Revision: LatestSourcePackage

Using qmake: qmake-qt5
Using Qt 5 API

Using Ruby interpreter: ruby
Ruby library found: /usr/lib64/libruby.so.2.0.0
Ruby headers found: /usr/include and /usr/include
Ruby installation is in:
- /usr/lib64/libruby.so.2.0.0 (lib)
- /usr/include (headers)
- /usr/include (arch headers)
Ruby version code is 20000

Using Python interpreter: python2.7
Python library found: /usr/lib64/libpython2.7.so
Python headers found: /usr/include/python2.7
Python installation is in:
- /usr/lib64/libpython2.7.so (lib)
- /usr/include/python2.7 (includes)

Features:
Qt bindings enabled
Installation target: /usr/local/emb/klayout/klayout-0.25.7/bin-release
Build directory: /usr/local/emb/klayout/klayout-0.25.7/build-release
Building plugins:

Running qmake-qt5 ..
QMake version 3.0
Using Qt version 5.6.2 in /usr/lib64

Thanks
Arun

Comments

  • Hi Arun,

    this is just a partial log. Please send the whole build log to the address on the Contacts page. I can't help with partial information.

    And if you paste a log here, please use triple backticks to mark code blocks (Markdown syntax). This is extremely hard to read.

    Matthias

  • Hi Mattias,

    please find the attachment. I can not upload other formats. for clear formatting please open it in wordpad or word.

    Thanks
    Arun

  • Thanks for the log.

    I tried to understand what's going on, but apparently there is something wrong with the Qt headers. I'm building with CentOS7, but with Qt4. Maybe Qt5 is broken in RHEL7.4.

    Could you try "build.sh -qmake qmake-qt4"?

    Matthias

  • Hi Matthias
    yes, qt4 is successfully created the binaries. now its working fine

    Thanks
    Arun

Sign In or Register to comment.