Help needed: libasm and others are not found (kdeedu/Kalzium)

Carsten Niehaus cniehaus at gmx.de
Fri Jan 19 19:15:46 CET 2007


Moin all

if(LIBFACILE_FOUND)
   target_link_libraries(kalzium asmrun str nums m dl)
endif(LIBFACILE_FOUND)

That line used to work in KUbuntu (Laurent Montel wrote all the CMake-magic 
about OCaml and libfacile) but does no longer in OpenSUSE 10.2. I am getting 
this error:

cd /home/kde4/build/kdeedu/kalzium/src && /usr/bin/cmake -P 
CMakeFiles/kalzium.dir/cmake_clean_target.cmake
cd /home/kde4/build/kdeedu/kalzium/src 
&& /usr/bin/c++     -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -g3 -fno-inline  -fPIC "CMakeFiles/kalzium.dir/kalzium.o" "CMakeFiles/kalzium.dir/main.o" "CMakeFiles/kalzium.dir/periodictableview.o" "CMakeFiles/kalzium.dir/detailinfodlg.o" "CMakeFiles/kalzium.dir/tablesdialog.o" "CMakeFiles/kalzium.dir/orbitswidget.o" "CMakeFiles/kalzium.dir/elementdataviewer.o" "CMakeFiles/kalzium.dir/detailedgraphicaloverview.o" "CMakeFiles/kalzium.dir/molcalcwidget.o" "CMakeFiles/kalzium.dir/somwidget_impl.o" "CMakeFiles/kalzium.dir/timewidget_impl.o" "CMakeFiles/kalzium.dir/kalziumdataobject.o" "CMakeFiles/kalzium.dir/spectrumwidget.o" "CMakeFiles/kalzium.dir/nuclideboard.o" "CMakeFiles/kalzium.dir/exporter.o" "CMakeFiles/kalzium.dir/spectrumviewimpl.o" "CMakeFiles/kalzium.dir/kalziumutils.o" "CMakeFiles/kalzium.dir/kalziumgradienttype.o" "CMakeFiles/kalzium.dir/kalziumnumerationtype.o" "CMakeFiles/kalzium.dir/kalziumpainter.o" "CMakeFiles/kalzium.dir/kalziumschemetype.o" "CMakeFiles/kalzium.dir/kalziumtabletype.o" "CMakeFiles/kalzium.dir/search.o" "CMakeFiles/kalzium.dir/searchwidget.o" "CMakeFiles/kalzium.dir/rsdialog.o" "CMakeFiles/kalzium.dir/eqchemview.o" "CMakeFiles/kalzium.dir/moleculeview.o" "CMakeFiles/kalzium.dir/prefs.o" "/home/kde4/build/kdeedu/kalzium/src/solver.o" "/home/kde4/build/kdeedu/kalzium/src/modwrap.o"  -o 
kalzium -rdynamic -L/usr/local/lib -L/opt/kde4/lib -L/home/kde4/build/kdeedu/lib -lQtCore -lpthread -lkdecore -lSM -lICE -lX11 -lXext -lXft -lXau -lXdmcp -lXpm -lQt3Support -lQtGui -lQtXml -lkdefx -lkdeui -lkhtml -lkutils -lscience -lkdeeduplot -lkdeeduui -lopenbabel -lQtOpenGL -lcompoundviewer -lasmrun -lstr -lnums -lm -ldl -lkdeui -lkde3support -lktexteditor -lkdocument -lkdeprint -lkde3support -lkutils -lkparts -lkjs -lm -lpcre -lpcreposix -lphononcore -ljpeg -lgif -lpng -lkhtml -lopenbabel -lQtOpenGL -lkio -lkdeui -lSM -lICE -lX11 -lXext -lXft -lXau -lXdmcp -lXpm -lQt3Support -lQtXml -lkdefx -lQtGui -lkwalletclient -lkdesu -lkdecore -lQtCore -lpthread -lQtSvg -lQtDBus -lutil -lz -lbz2 -lresolv -lXtst -lkparts -lGL -lGLU -Wl,-rpath,/home/kde4/install/lib:/usr/local/lib:/opt/kde4/lib
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot 
find -lasmrun
collect2: ld returned 1 exit status
make[2]: *** [kalzium/src/kalzium] Error 1


Of course, OCaml and libfacile are installed and CMake (2.4.6, by the way) 
claims to have found both OCaml and Libfacile. libasm comes with OCaml....

I don't know where to start working on this problem, so any pointers might 
help...

Carsten

PS: Please CC me
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070119/a525dcb4/attachment.pgp 


More information about the Kde-buildsystem mailing list