So it works when building qtbase, but not when building qtpaint? The only possible difference is that I set LD_LIBRARY_PATH during the qtpaint build so that necessary libraries are found (they are in the same directory as smokegen before it is installed with qtbase, so they are found anyway). <br>
<br>What if you just tried running that binary:<br><br>/home/marie/R/x86_64-unknown-<div class="im">linux-gnu-library/2.10/qtbase/local/bin/smokegen<br><br>And then tried running like this, all on one line:<br><br>LD_LIBRARY_PATH=/home/marie/R/x86_64-unknown-
<div class="im">linux-gnu-library/2.10/qtbase/local/lib /home/marie/R/x86_64-unknown-
<div class="im">linux-gnu-library/2.10/qtbase/local/bin/smokegen<br>
</div>
</div></div><br>Do they work, i.e. at least give some output not involving a missing symbol?<br><br>Thanks,<br>Michael<br><br><div class="gmail_quote">On Wed, Apr 28, 2010 at 8:48 AM, Marie Vendettuoli <span dir="ltr"><<a href="mailto:mariecv26@gmail.com">mariecv26@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi, I'm running into errors installing on ubuntu 8.04, x86_64 when using the latest svn checkout for qtpaint (revision 346).<br>
<br>Thanks for your help, Marie<br><br>* install options are ' --no-html'<br><br>* installing *source* package ‘qtpaint’ ...<br>
** libs<br>** arch - <br>mkdir -p ../kdebindings-build;<br>mkdir -p ../src-build;<br>cd ../kdebindings-build; \<br> cmake ../kdebindings \<br> -DCMAKE_INSTALL_PREFIX=../inst/local -DQTBASE_DIR=/home/marie/R/x86_64-unknown-linux-gnu-library/2.10/qtbase \<br>
-DR_INCLUDE_DIR=/usr/local/lib64/R/include; \<br> DYLD_LIBRARY_PATH=/home/marie/R/x86_64-unknown-linux-gnu-library/2.10/qtbase/local/lib \<br> LD_LIBRARY_PATH=/home/marie/R/x86_64-unknown-linux-gnu-library/2.10/qtbase/local/lib make install<br>
-- The C compiler identification is GNU<br>-- The CXX compiler identification is GNU<br>-- Check for working C compiler: /usr/bin/gcc<br>-- Check for working C compiler: /usr/bin/gcc -- works<br>-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>-- Check for working CXX compiler: /usr/bin/c++<br>-- Check for working CXX compiler: /usr/bin/c++ -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>
-- Looking for Q_WS_X11<br>-- Looking for Q_WS_X11 - found<br>-- Looking for Q_WS_WIN<br>-- Looking for Q_WS_WIN - not found.<br>-- Looking for Q_WS_QWS<br>-- Looking for Q_WS_QWS - not found.<br>-- Looking for Q_WS_MAC<br>
-- Looking for Q_WS_MAC - not found.<br>-- Found Qt-Version 4.5.2 (using /home/marie/qt/qt/bin/qmake)<br>-- Looking for _POSIX_TIMERS<br>-- Looking for _POSIX_TIMERS - found<br>-- Build qanviz smoke... <br>-- Configuring done<br>
-- Generating done<br>-- Build files have been written to: /home/marie/Desktop/qtpaint/kdebindings-build<br>make[1]: Entering directory `/home/marie/Desktop/qtpaint/kdebindings-build'<br>make[2]: Entering directory `/home/marie/Desktop/qtpaint/kdebindings-build'<br>
make[3]: Entering directory `/home/marie/Desktop/qtpaint/kdebindings-build'<br>Scanning dependencies of target generate_smoke<br>make[3]: Leaving directory `/home/marie/Desktop/qtpaint/kdebindings-build'<br>make[3]: Entering directory `/home/marie/Desktop/qtpaint/kdebindings-build'<br>
[ 0%] Generating smokedata.cpp, x_1.cpp<br>using generator "/home/marie/R/x86_64-unknown-linux-gnu-library/2.10/qtbase/local/bin/../lib/smokegen/generator_smoke.so" <br>parsing "/home/marie/Desktop/qtpaint/kdebindings/smoke/qanviz/qanviz_includes.h" <br>
/home/marie/R/x86_64-unknown-linux-gnu-library/2.10/qtbase/local/bin/smokegen: symbol lookup error: /home/marie/R/x86_64-unknown-linux-gnu-library/2.10/qtbase/local/bin/smokegen: undefined symbol: _ZN10QByteArray7replaceEPKciS1_i<br>
make[3]: *** [smoke/qanviz/smokedata.cpp] Error 127<br>make[3]: Leaving directory `/home/marie/Desktop/qtpaint/kdebindings-build'<br>make[2]: *** [smoke/qanviz/CMakeFiles/generate_smoke.dir/all] Error 2<br>make[2]: Leaving directory `/home/marie/Desktop/qtpaint/kdebindings-build'<br>
make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/home/marie/Desktop/qtpaint/kdebindings-build'<br>make: *** [all] Error 2<br>ERROR: compilation failed for package ‘qtpaint’<br>* removing ‘/home/marie/Desktop/qtpaint.Rcheck/qtpaint’<br>
<br>_______________________________________________<br>
Qtinterfaces-devel mailing list<br>
<a href="mailto:Qtinterfaces-devel@lists.r-forge.r-project.org">Qtinterfaces-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel</a><br>
<br></blockquote></div><br>