Compiling issues on debian wheezy (solved)

Having trouble with LMMS? Ask about it here.
I keep getting errors when I'm trying to compile it, it keeps telling me

Code: Select all

todd@shadow-lugia:~/downloads/lmms-0.4.13$ cmake -DCMAKE_INSTALL_PREFIX=/todd
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
PROCESSOR: x86_64
Machine: x86_64-linux-gnu
-- Target host is 64 bit
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for include file semaphore.h
-- Looking for include file semaphore.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/ipc.h
-- Looking for include file sys/ipc.h - found
-- Looking for include file sys/shm.h
-- Looking for include file sys/shm.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file sys/soundcard.h
-- Looking for include file sys/soundcard.h - found
-- Looking for include file soundcard.h
-- Looking for include file soundcard.h - not found.
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file ctype.h
-- Looking for include file ctype.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file process.h
-- Looking for include file process.h - not found.
-- Looking for include file locale.h
-- Looking for include file locale.h - found
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
  QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
  QT_QTCORE_LIBRARY) (Required is at least version
  "4.3.0;COMPONENTS;QtCore;QtGui;QtXml")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindQt4.cmake:1172 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:90 (FIND_PACKAGE)
 
 
-- Configuring incomplete, errors occurred!
todd@shadow-lugia:~/downloads/lmms-0.4.13$ cmake -DCMAKE_INSTALL_PREFIX=/todd
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
PROCESSOR: x86_64
Machine: x86_64-linux-gnu
-- Target host is 64 bit
CMake Warning at /usr/share/cmake-2.8/Modules/FindQt4.cmake:591 (MESSAGE):
  /usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu" but
  QtCore could not be found there.  Qt is NOT installed correctly for the
  target build environment.
Call Stack (most recent call first):
  CMakeLists.txt:90 (FIND_PACKAGE)
 
 
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:595 (MESSAGE):
  Could NOT find QtCore.  Check
  /home/todd/downloads/lmms-0.4.13/CMakeFiles/CMakeError.log for more
  details.
Call Stack (most recent call first):
  CMakeLists.txt:90 (FIND_PACKAGE)
 
 
-- Configuring incomplete, errors occurred!
todd@shadow-lugia:~/downloads/lmms-0.4.13$ cmake -DCMAKE_INSTALL_PREFIX=/todd
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
PROCESSOR: x86_64
Machine: x86_64-linux-gnu
-- Target host is 64 bit
CMake Warning at /usr/share/cmake-2.8/Modules/FindQt4.cmake:591 (MESSAGE):
  /usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu" but
  QtCore could not be found there.  Qt is NOT installed correctly for the
  target build environment.
Call Stack (most recent call first):
  CMakeLists.txt:90 (FIND_PACKAGE)
 
 
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:595 (MESSAGE):
  Could NOT find QtCore.  Check
  /home/todd/downloads/lmms-0.4.13/CMakeFiles/CMakeError.log for more
  details.
Call Stack (most recent call first):
  CMakeLists.txt:90 (FIND_PACKAGE)
 
 
-- Configuring incomplete, errors occurred!
I have installed qtcore and it is still telling me that :/
owallgren wrote:Check out this link:
http://lmms.sourceforge.net/wiki/index. ... pendencies
Yes that's more explanatory of dependencies than the readme in the source files, which would I go for if my sound is pulse, sdl?
which would I go for if my sound is pulse, sdl?
I don't know. What distribution are you compiling under?
I'm Ubuntu based, so if I'm uncertain of what libraries are needed one thing I can do is pull in and compile the version that is currently in the repository and that will fix the dependencies for later versions too... with a little luck!

Code: Select all

sudo apt-get source lmms
and

Code: Select all

sudo apt-get build-dep lmms
owallgren wrote:
which would I go for if my sound is pulse, sdl?
I don't know. What distribution are you compiling under?
I'm Ubuntu based, so if I'm uncertain of what libraries are needed one thing I can do is pull in and compile the version that is currently in the repository and that will fix the dependencies for later versions too... with a little luck!

Code: Select all

sudo apt-get source lmms
and

Code: Select all

sudo apt-get build-dep lmms
I'm compiling under debian, specifically debian wheezy.
Well it told me which to install for pulse after I got some more dependencies now it says

Code: Select all

* VST-instrument hoster       : not found, please install (lib)wine-dev (or similiar) - 64 bit systems additionally need gcc-multilib and g++-multilib
* VST-effect hoster           : not found, please install (lib)wine-dev (or similiar) - 64 bit systems additionally need gcc-multilib and g++-multilib
And I have installed both of those things and it still complains about that.

Edit: fixed that now the issue is:

Code: Select all

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FREETYPE_LIBRARY (ADVANCED)
    linked by target "RemoteZynAddSubFx" in directory /home/todd/downloads/lmms-0.4.13/plugins/zynaddsubfx
X11_Xft_LIB (ADVANCED)
    linked by target "RemoteZynAddSubFx" in directory /home/todd/downloads/lmms-0.4.13/plugins/zynaddsubfx
X11_Xinerama_LIB (ADVANCED)
    linked by target "RemoteZynAddSubFx" in directory /home/todd/downloads/lmms-0.4.13/plugins/zynaddsubfx
owallgren wrote:Then see this note:
http://lmms.sourceforge.net/wiki/index. ... on#Notizen
Hmm funny after I tried that the errors I mentioned are gone but it says the exact error you linked to.
Paste the error in here like before.
mariomaster100 wrote:
owallgren wrote:Then see this note:
http://lmms.sourceforge.net/wiki/index. ... on#Notizen
Hmm funny after I tried that the errors I mentioned are gone but it says the exact error you linked to.
This is your first printout with the red being the parts that corresponds with the error I linked to.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:

FREETYPE_LIBRARY (ADVANCED)
linked by target "RemoteZynAddSubFx" in directory /home/todd/downloads/lmms-0.4.13/plugins/zynaddsubfx
X11_Xft_LIB (ADVANCED)
linked by target "RemoteZynAddSubFx" in directory /home/todd/downloads/lmms-0.4.13/plugins/zynaddsubfx

X11_Xinerama_LIB (ADVANCED)
linked by target "RemoteZynAddSubFx" in directory /home/todd/downloads/lmms-0.4.13/plugins/zynaddsubfx
After following the link and installing those 2 packages I still get

Code: Select all

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
X11_Xinerama_LIB (ADVANCED)
    linked by target "RemoteZynAddSubFx" in directory /home/todd/downloads/lmms-0.4.13/plugins/zynaddsubfx

-- Configuring incomplete, errors occurred!
And yes I deleted the cmake cache file after installing those two packages.