Hello list,
To get around some of the strange kdebase build failures on Arch Linux, I
create a fresh virtual machine in VirtualBox with a minimal install (X and
fluxbox) to build Trinity in a clean build environment. Qt3 and tqtinterface
build fine. We have run into an arts build failure where it won't use the shared
library in its own directory. The error I get is:
/usr/bin/ranlib libgsl.a
make[2]: Leaving directory `/home/david/tbld/dependencies/arts/src'
/usr/bin/cmake -E cmake_progress_report
/home/david/tbld/dependencies/arts/src/CMakeFiles 46 47 48 49 50 51 52 53 54 55
56 57 58 59 60 61 62 63
[ 48%] Built target gsl-static
make -f flow/CMakeFiles/artsflow_idl-shared.dir/build.make
flow/CMakeFiles/artsflow_idl-shared.dir/depend
make[2]: Entering directory `/home/david/tbld/dependencies/arts/src'
/usr/bin/cmake -E cmake_progress_report
/home/david/tbld/dependencies/arts/src/CMakeFiles
[ 48%] Generating artsflow.cc
cd /home/david/tbld/dependencies/arts/src/flow && ../mcopidl/mcopidl -t
/home/david/tbld/dependencies/arts/flow/artsflow.idl
../mcopidl/mcopidl: error while loading shared libraries: libmcop.so.1: cannot
open shared object file: No such file or directory
make[2]: *** [flow/artsflow.cc] Error 127
make[2]: Leaving directory `/home/david/tbld/dependencies/arts/src'
make[1]: *** [flow/CMakeFiles/artsflow_idl-shared.dir/all] Error 2
make[1]: Leaving directory `/home/david/tbld/dependencies/arts/src'
make: *** [all] Error 2
Aborting...
libmcop.so.1 is readily available in the mcop directory, so I don't
understand the error:
17:47 trinity:~/tbld/dependencies/arts> find . -name libmcop.so.1
./src/mcop/libmcop.so.1
My cmake environment and arguments are:
export CMAKE_PREFIX_PATH=/opt/qt
export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt
trinity_prefix="/opt/trinity"
cd ${srcdir}
cmake ../ \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DQT_LIBRARY_DIRS=/opt/qt/lib \
-DCMAKE_SKIP_RPATH=ON
make VERBOSE=1
The two exports and -DQT_LIBRARY_DIRS=/opt/qt/lib are required or cmake will
not find the patched Qt3 (that may be normal, I don't know)
Any ideas on how to get arts to see its libmcop.so.1?
--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com