I am not the most experienced in compiling and installing C++ software, but I made and attempt to compile and install lmms 0.4.5 from source (git repository today).


The system I was working on is a laptop running linux (kubuntu 9.04, up to date w/backports), AMD64 architecture.


I believe i got the git handling right, and then i configured cmake like this:
~/src/lmms/lmms/build$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr ..


I did not notice any problems in the output from cmake. (Maybe I should have read it more thoroughly...?) Next i did:
make


I noticed a lot of warnings but nothing fatal to the make itself so i thought it would be ok (this being version 0.4.5, supposedly stable...more stable than my skills in compiling, I think it means...)


I then tried to install the package using
sudo checkinstall


(output...below line...at the end of the mail, since it is so long)


I got into trouble (I think with the ZynAddSubFX plugin?) and I was not able to resolve the problem. I am not sure that the error messages are 100% meaningful, there are reports of missing or not finding some files which appear very basic to the build process and X11 system. I have previously compiled some other software (digikam for example) that needs X11 and all that graphic stuff very much, so it seems like there is something I have done in the construction of lmms that is the problem and the files cannot be found?


If someone can point me off in the right direction to go with further troubleshooting, I'd really appreciate it.


Thomas Sperre


------------------------------------------------------------------------------------------------------------------
OUTPUT FROM CHECKINSTALL:
In the output from checkinstall, I get:


Installing with make...Installing with install...


(then starts a long list of targets..i will shorten it a little-here comes the problems):


[ 83%] Built target malletsstk
[ 84%] Built target tripleoscillator
[ 85%] Built target vstbase
[ 85%] Built target vestige
[ 86%] Built target vsteffect
[ 87%] Built target vibedstrings
CMake Error: Could not find cmake module file:CMakeCInformation.cmake
CMake Error: Could not find cmake module file:CMakeCXXInformation.cmake
CMake Warning at CMakeLists.txt:32 (FIND_PACKAGE):
Could not find module FindThreads.cmake or a configuration file for package
Threads.


Adjust CMAKE_MODULE_PATH to find FindThreads.cmake or set Threads_DIR to
the directory containing a CMake configuration file for Threads. The file
will have one of the following names:


ThreadsConfig.cmake
threads-config.cmake




CMake Warning at CMakeLists.txt:54 (FIND_PACKAGE):
Could not find module FindX11.cmake or a configuration file for package
X11.


Adjust CMAKE_MODULE_PATH to find FindX11.cmake or set X11_DIR to the
directory containing a CMake configuration file for X11. The file will
have one of the following names:


X11Config.cmake
x11-config.cmake




CMake Error at CMakeLists.txt:98 (INCLUDE):
include could not find load file:


CheckIncludeFiles



CMake Error at CMakeLists.txt:101 (CHECK_INCLUDE_FILES):
Unknown CMake command "CHECK_INCLUDE_FILES".
Call Stack (most recent call first):
CMakeLists.txt:108 (CHECK_INCLUDE_FILE_CONCAT)



-- Configuring incomplete, errors occurred!
make[2]: *** [plugins/zynaddsubfx/CMakeFiles/libfltk] Error 1
make[1]: *** [plugins/zynaddsubfx/CMakeFiles/libfltk.dir/all] Error 2
make: *** [all] Error 2