[RQt-devel] Compiling on RedHat: missing type: in method QLatin1Cha and sudo vs non sudo

Saptarshi Guha saptarshi.guha at gmail.com
Fri May 23 21:16:10 CEST 2014


Hello

Again,with Qt 5.3 and cmake 2.8.9, g++, i got

Generating SMOKE sources...
preparing SMOKE data [qt]
writing out smokedata.cpp [qt]
missing type:  in method  QLatin1Char::ch(c) (while writing out methods
table)
/bin/sh: line 1: 27485 Aborted                 (core dumped)
/home/sguha/tmp/qtbase/kdebindings-build/generator/bin/smokegen -config
/home/sguha/tmp/qtbase/kdebindings-build/smoke/qt/config.xml -smokeconfig
/home/sguha/tmp/qtbase/kdebindings/smoke/qt/smokeconfig.xml -d
/home/sguha/tmp/qtbase/kdebindings-build/smoke/qt/../qtdefines --
/home/sguha/tmp/qtbase/kdebindings/smoke/qt/qt_includes.h
make[3]: *** [smoke/qt/smokedata.cpp] Error 134

Interestingly, if i did

R CMD INSTALL . (inside qtbase/)

cd ../kdebindings-build; \
    cmake ../kdebindings -DR_CXX="g++" -DCMAKE_CXX_FLAGS=" "
-DCMAKE_SHARED_LINKER_FLAGS="  -L/usr/local/lib64 -shared" \
          -DCMAKE_INSTALL_PREFIX=../inst/local \
          -DCMAKE_EXE_LINKER_FLAGS="  -L/usr/local/lib64" \
          -DCMAKE_MODULE_LINKER_FLAGS="  -L/usr/local/lib64"; \
    LD_LIBRARY_PATH=../../generator/bin make install
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15
(message):
  The imported target "Qt5::Core" references the file

     "/usr/local//mkspecs/linux-g++"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50
(_qt5_Core_check_file_exists)
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:128 (include)
  CMakeLists.txt:9 (find_package)


but if i do sudo R CMD INSTALL . i dont get the above cmake related error.

Possibly this and the initial issue (top of email) are related?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20140523/fa8aee55/attachment.html>


More information about the Qtinterfaces-devel mailing list