[Kde-bindings] Building qyoto on Ubuntu 12.04
Antonio Macrì
ing.antonio.macri at gmail.com
Sun Sep 30 16:13:51 UTC 2012
Hi all!
I believe in Qyoto, and I'd love to use Qt from C#.
I'm trying to build it in many ways but they all fail.
Qt4, phonon, mono etc are already installed from official repository. It
seems that installing smokeqt from official repositories (or
Kubuntu-backports) is not the best option (and raises errors). So the
best option is to build smokegen, smokeqt and assemblygen from sources,
right?
This is what I do:
git clone git://anongit.kde.org/smokegen
cd smokegen
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/home/antonio/qyoto" ../
make
make install
cd ../../
git clone git://anongit.kde.org/smokeqt
cd smokeqt
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/home/antonio/qyoto" ../
make
As you can see, I set CMAKE_INSTALL_PREFIX to avoid installing in
/usr/local, which would require root privileges (sudo make install): am
I doing this right?
Everything is ok until smokeqt's cmake, but when I run make I get the
following error:
/home/antonio/qyoto/smokeqt/build$ make
[ 0%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp,
x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp,
x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp,
x_18.cpp, x_19.cpp, x_20.cpp
/home/antonio/qyoto/bin/smokegen: error while loading shared
libraries: libcppparser.so: cannot open shared object file: No such file
or directory
make[2]: *** [qtcore/smokedata.cpp] Errore 127
make[1]: *** [qtcore/CMakeFiles/smokeqtcore.dir/all] Errore 2
make: *** [all] Errore 2
/home/antonio/qyoto/smokeqt/build$
I thought this was caused by RPATH and was already fixed... What I'm
doing wrong?
Thanks,
Antonio
More information about the Kde-bindings
mailing list