[rkward-users] [rkward:discussion] Problem compiling RKward from source - Ubuntu - Precise
Guillermo Copello
guillejcopello at users.sf.net
Sat Jun 14 20:28:36 UTC 2014
Hello,
I am trying to compile the Rkward-0.6.1 in Ubuntu 12-04 (precise). My version of R is 3.1.0 and KDE4.8.
It seems there is no proble when I do `cmake`, but when I do `make` 2 erros appear.
I post below this two commands.
Any suggestion?
This appears when I do cmake:
olivia at Olivia:/usr/local/bin/rkward-0.6.1/build$ cmake .. -DCMAKE_INSTALL_PREFIX="kde4-config --localprefix" -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=debugfull -DR_EXECUTABLE=/usr/bin/R -DR_LIBDIR=$HOME/R/i686-pc-linux-gnu-library/3.1 -DR_HOME="/usr/lib/R"
-- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found KDE 4.8 include dir: /usr/include
-- Found KDE 4.8 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Looking for R executable
-- Specified by user
-- Using R at /usr/bin/R
-- R architecture is i686
-- Looking for R_HOME
-- Specified by user
-- R_HOME is /usr/lib/R
-- Looking for R include files
-- Include files should be at /usr/share/R/include. Checking for R.h
-- Found at /usr/share/R/include/R.h
-- Checking for existence of R shared library
-- Exists at /usr/lib/R/lib/libR.so
-- Checking whether we should link against Rlapack library
-- No, it does not exist in /usr/lib/R/lib
-- Checking whether we should link against Rblas library
-- No, it does not exist in /usr/lib/R/lib
-- Checking for R package library location to use
-- Location specified by user
-- Will use /home/olivia/R/i686-pc-linux-gnu-library/3.1
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/bin/rkward-0.6.1/build
This when I do make:
olivia at Olivia:/usr/local/bin/rkward-0.6.1/build$ make
[ 0%] Built target rkward.frontend_automoc
[ 0%] Built target dataeditor
[ 0%] Built target settings
[ 0%] Building CXX object rkward/plugin/CMakeFiles/plugin.dir/rkcomponent.o
In file included from /usr/local/bin/rkward-0.6.1/rkward/plugin/rkcomponent.cpp:416:0:
/usr/local/bin/rkward-0.6.1/rkward/plugin/rkcomponent.cpp: En la función miembro ‘QVariant RKComponentBase::fetchValue(const QString&, int)’:
/usr/local/bin/rkward-0.6.1/rkward/plugin/rkcomponent.cpp:218:1: error: el control alcanza el final de una función que no es void [-Werror=return-type]
cc1plus: some warnings being treated as errors
make[2]: *** [rkward/plugin/CMakeFiles/plugin.dir/rkcomponent.o] Error 1
make[1]: *** [rkward/plugin/CMakeFiles/plugin.dir/all] Error 2
make: *** [all] Error 2
Thanks
Guillermo
---
[Problem compiling RKward from source - Ubuntu - Precise](https://sourceforge.net/p/rkward/discussion/165573/thread/9391cdb0/?limit=25#cdd5)
---
Sent from sourceforge.net because rkward-users at lists.sourceforge.net is subscribed to https://sourceforge.net/p/rkward/discussion/165573/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/rkward/admin/discussion/forums. Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-users/attachments/20140614/474e3aa2/attachment.html>
More information about the Rkward-users
mailing list