Hi!
I get this error (linuxmint Olivia based on Ubuntu raring) when I try to follow directions in
http://cranvas.org/download.htmlI do have all dependencies:
$ sudo apt-get install libqt4-dev qt4-qmake cmake r-base-dev libcurl4-gnutls-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
r-base-dev is already the newest version.
cmake is already the newest version.
libcurl4-gnutls-dev is already the newest version.
libqt4-dev is already the newest version.
qt4-qmake is already the newest version.
and have qtbase from cran.
Also, install_github('qtpaint', 'ggobi')
went on ok, but have the following problem at
install_github('qtbase', 'ggobi'):
> install_github('qtbase', 'ggobi')
Installing github repo(s) qtbase/master from ggobi
Downloading qtbase.zip from
https://github.com/ggobi/qtbase/archive/master.zipInstalling package from /tmp/Rtmp69RVua/qtbase.zip
Installing qtbase
'/usr/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/Rtmp69RVua/qtbase-master' --library='/home/alobo/R/x86_64-pc-linux-gnu-library/3.0' --with-keep.source \
--install-tests
* installing *source* package 'qtbase' ...
** libs
** arch -
mkdir -p ../kdebindings-build;
cd ../kdebindings-build; \
cmake ../kdebindings -DR_CXX="g++" -DCMAKE_CXX_FLAGS=" " -DCMAKE_SHARED_LINKER_FLAGS=" -shared" \
-DCMAKE_INSTALL_PREFIX=../inst/local \
-DCMAKE_EXE_LINKER_FLAGS=" " \
-DCMAKE_MODULE_LINKER_FLAGS=" "; \
LD_LIBRARY_PATH=../../generator/bin make install
CMake Warning at CMakeLists.txt:5 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core" with any
of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
CMake Error at generator/parser/CMakeLists.txt:41 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".
-- Configuring incomplete, errors occurred!
make[1]: Entering directory `/tmp/Rtmp69RVua/qtbase-master/kdebindings-build'
make[1]: Leaving directory `/tmp/Rtmp69RVua/qtbase-master/kdebindings-build'
make[1]: *** No rule to make target `install'. Stop.
make: *** [all] Error 2
ERROR: compilation failed for package 'qtbase'
* removing '/home/alobo/R/x86_64-pc-linux-gnu-library/3.0/qtbase'
* restoring previous '/home/alobo/R/x86_64-pc-linux-gnu-library/3.0/qtbase'
Error: Command failed (1)
I'm kind of lost here, don't know what to do. Any help?
Thanks