[rkward-devel] Having trouble building; cmake/modules/FindKDE4Internal.cmake not found
Michael Ash
mash at econs.umass.edu
Fri Oct 2 05:24:44 UTC 2009
OK. I needed to install kdelibs5-dev (I had kdelibs4-dev installed)
Now I am having another trouble. The build goes along for a while and
then has this problem:
Linking CXX executable rkward.bin
../lib/libscriptbackends.a(qtscriptbackend.o): In function
`QtScriptBackendThread':
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:135:
undefined reference to `QScriptEngine::QScriptEngine()'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:135:
undefined reference to `QScriptEngine::QScriptEngine()'
../lib/libscriptbackends.a(qtscriptbackend.o): In function
`~QtScriptBackendThread':
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:145:
undefined reference to `QScriptEngine::~QScriptEngine()'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:145:
undefined reference to `QScriptEngine::~QScriptEngine()'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:145:
undefined reference to `QScriptEngine::~QScriptEngine()'
../lib/libscriptbackends.a(qtscriptbackend.o): In function
`QtScriptBackendThread::includeFile(QString const&)':
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:203:
undefined reference to `QScriptEngine::globalObject() const'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:203:
undefined reference to `QScriptEngine::currentContext() const'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:203:
undefined reference to
`QScriptContext::setActivationObject(QScriptValue const&)'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:203:
undefined reference to `QScriptValue::~QScriptValue()'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:204:
undefined reference to `QScriptEngine::evaluate(QString const&,
QString const&, int)'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:206:
undefined reference to `QScriptValue::isError() const'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:211:
undefined reference to `QScriptValue::~QScriptValue()'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:207:
undefined reference to `QScriptValue::toString() const'
../lib/libscriptbackends.a(qtscriptbackend.o): In function
`QtScriptBackendThread::run()':
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:217:
undefined reference to `QScriptEngine::newQObject(QObject*,
QScriptEngine::ValueOwnership,
QFlags<QScriptEngine::QObjectWrapOption> const&)'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:218:
undefined reference to `QScriptEngine::globalObject() const'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:218:
undefined reference to `QScriptValue::setProperty(QString const&,
QScriptValue const&, QFlags<QScriptValue::PropertyFlag> const&)'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:218:
undefined reference to `QScriptValue::~QScriptValue()'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:249:
undefined reference to `QScriptValue::~QScriptValue()'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:240:
undefined reference to `QScriptEngine::evaluate(QString const&,
QString const&, int)'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:241:
undefined reference to `QScriptValue::isError() const'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:245:
undefined reference to `QScriptValue::toString() const'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:226:
undefined reference to `QScriptValue::~QScriptValue()'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:242:
undefined reference to `QScriptValue::toString() const'
/home/mash/Desktop/rkward_trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp:226:
undefined reference to `QScriptValue::~QScriptValue()'
collect2: ld returned 1 exit status
make[2]: *** [rkward/rkward.bin] Error 1
make[1]: *** [rkward/CMakeFiles/rkward.bin.dir/all] Error 2
make: *** [all] Error 2
On Fri, Oct 2, 2009 at 1:11 AM, Michael Ash <mash at econs.umass.edu> wrote:
> I have installed kdelibs4-dev but I am getting an error that appears
> to be related. Please let me know if you have advice. Thanks.
> --Michael
>
>
> mash at mash-laptop:~/Desktop/rkward_trunk/rkward/build$ cmake ..
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
> ERROR: cmake/modules/FindKDE4Internal.cmake not found in
> /home/mash/.kde/share/apps;/usr/share/kde4/apps
> Call Stack (most recent call first):
> CMakeLists.txt:10 (FIND_PACKAGE)
>
>
> -- Configuring incomplete, errors occurred!
>
--
Michael Ash, Associate Professor
of Economics and Public Policy
Department of Economics and CPPA
University of Massachusetts
Amherst, MA 01003
Tel +1-413-545-6329 Fax +1-413-545-2921
Email mash at econs.umass.edu
http://people.umass.edu/maash
More information about the Rkward-devel
mailing list