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

Michael Lawrence lawrence.michael at gene.com
Fri May 23 22:15:13 CEST 2014


I doubt they're related. The sudo issue sounds related to permissions.
Curiously, the first error is the same thing we get reliably on Windows,
with 5.2. No solution found yet, but it's good news if we can now reproduce
it on Linux.

Thanks,
Michael


On Fri, May 23, 2014 at 12:16 PM, Saptarshi Guha
<saptarshi.guha at gmail.com>wrote:

> 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?
>
>
>
> _______________________________________________
> Qtinterfaces-devel mailing list
> Qtinterfaces-devel at lists.r-forge.r-project.org
>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20140523/3fdcd374/attachment.html>


More information about the Qtinterfaces-devel mailing list