Dne ne 28. června 2020 E. Liddell napsal(a):
I've managed to muddle my way through the rest of
tdemultimedia (ugly
and bizarre install workarounds notwithstanding), but noatun has been
defeating me. Attempting to compile it generates the following error:
cmake -C
/var/tmp/portage/trinity-base/noatun-14.0.8/work/noatun-14.0.8_build/gen
too_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_PREFIX=/usr/trinity/14
-DCMAKE_INSTALL_RPATH=/usr/trinity/14 -DBUILD_ARTS=ON -DBUILD_NOATUN=ON
-DCMAKE_BUILD_TYPE=Gentoo
-DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/trinity-base/noatun-14.0.8/work/
noatun-14.0.8_build/gentoo_toolchain.cmake
/var/tmp/portage/trinity-base/noatun-14.0.8/work/tdemultimedia-trinity-1
4.0.8
[...]
[266/488] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -mtune=athlon64
-O2 -pipe -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT
-I/usr/tqt3/include -I/usr/include/tqt -include tqt.h
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -shared
-Wl,-soname,libnoatunarts.so -o
noatun/library/noatunarts/libnoatunarts.so
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/noatunarts.cc
.o noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/fft.c.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/Equalizer_imp
l.cpp.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/FFTScopes.cpp
.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/StereoEffectS
tack_impl.cpp.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/StereoVolumeC
ontrol_impl.cpp.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/Session_impl.
cpp.o -L/usr/tqt3/lib64 -L/usr/trinity/14/lib64
-Wl,-rpath,/usr/tqt3/lib64:/usr/trinity/14/lib64: -lmpeg-shared
-lasound -laudiofile -lvorbis -lvorbisfile -lmad -lm -lmcop
-lkmedia2_idl -lartsflow -lartsflow_idl -lsoundserver_idl && :
FAILED: noatun/library/noatunarts/libnoatunarts.so
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -mtune=athlon64 -O2 -pipe
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT
-I/usr/tqt3/include -I/usr/include/tqt -include tqt.h
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -shared
-Wl,-soname,libnoatunarts.so -o
noatun/library/noatunarts/libnoatunarts.so
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/noatunarts.cc
.o noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/fft.c.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/Equalizer_imp
l.cpp.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/FFTScopes.cpp
.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/StereoEffectS
tack_impl.cpp.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/StereoVolumeC
ontrol_impl.cpp.o
noatun/library/noatunarts/CMakeFiles/noatunarts-shared.dir/Session_impl.
cpp.o -L/usr/tqt3/lib64 -L/usr/trinity/14/lib64
-Wl,-rpath,/usr/tqt3/lib64:/usr/trinity/14/lib64: -lmpeg-shared
-lasound -laudiofile -lvorbis -lvorbisfile -lmad -lm -lmcop
-lkmedia2_idl -lartsflow -lartsflow_idl -lsoundserver_idl && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/b
in/ld: cannot find -lmpeg-shared collect2: error: ld returned 1 exit
status
ninja: build stopped: subcommand failed.
I can find no evidence anywhere of where this libmpeg-shared is supposed
to come from. Is there a missing dependency? Do I need to unpack or
build an additional section of the source? Did ninja get something out
of order? Or is noatun just not buildable?
E. Liddell
Hi E.,
The mpeg-shared library is one of the targets built in tdemultimedia - see
BUILD_MPEGLIB option and the corresponding CMakeLists.txt:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdemultimedia/src/branch/ma…
It seems that tdemultimedia is not prepared for building in individual
parts as well as tdepim.
Cheers
--
Slávek