Stop with it! Thank you to both of you for caring, one way or the other.
I gave it a try:
I installed all the stuff mentioned on
this page.
Most packages were already installed. Some of them just needed the devel-packages to be added. For a few ones no devel-package was to be found.
I found no package called "libalsa", but I have something installed containing alsa-libs. I assume that fits.
I had problems installing libsoundio.
This is my first time compiling with cmake. And it reportet some failures:
Code: Select all
cmake ..
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
Configuring libsoundio version 1.1.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found JACK: /usr/lib64/libjack.so
-- Found PULSEAUDIO: /usr/lib64/libpulse.so
-- Found ALSA: /usr/lib64/libasound.so (found version "1.1.3")
-- Could NOT find COREAUDIO (missing: COREAUDIO_LIBRARY COREAUDIO_INCLUDE_DIR)
-- Could NOT find WASAPI (missing: WASAPI_INCLUDE_DIR)
Installation Summary
--------------------
* Install Directory : /usr/local
* Build Type : Debug
* Build static libs : ON
* Build examples : ON
* Build tests : ON
System Dependencies
-------------------
* threads : OK
* JACK (optional) : OK
* PulseAudio (optional) : OK
* ALSA (optional) : OK
* CoreAudio (optional) : not found
* WASAPI (optional) : not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxx/src/libsoundio-1.1.0/build
I don't know how to find and install CoreAudio and WASAPI. The same goes for pthread_create.
But in the note under the dependencies list it seems rather optional to have libsoundio. So I decided to skip it.
Then I downloaded lmms-1.2.0-rc2.tar.gz from
here[/code].
I exracted it, built a build dir, entered it and tried cmake ..:
Code: Select all
cmake ..
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found Git: /usr/bin/git (found version "2.12.0")
fatal: Not a git repository (or any of the parent directories): .git
Could not get project version. Using release info from /CMakeLists.txt
Configuring LMMS
--------------------------
* Project version : 1.2.0-rc2
* Major version : 1
* Minor version : 2
* Release version : 0
* Stage version : rc2
* Build version : 0
*
Optional Version Usage:
--------------------------
* Override version: -DFORCE_VERSION=x.x.x-x
* Ignore Git information: -DFORCE_VERSION=internal
PROCESSOR: x86_64
Machine: x86_64-suse-linux
-- 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 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.6", minimum required is "4.6.0;COMPONENTS;QtCore;QtGui;QtXml")
-- Found Qt translations in /usr/share/qt4/translations
-- Checking for module 'sndfile>=1.0.11'
--
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:363 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:528 (_pkg_check_modules_internal)
CMakeLists.txt:181 (PKG_CHECK_MODULES)
-- Configuring incomplete, errors occurred!
See also "/home/xxx/src/lmms-1.2.0-rc2/build/CMakeFiles/CMakeOutput.log".
See also "/home/xxx/src/lmms-1.2.0-rc2/build/CMakeFiles/CMakeError.log".
The fatal note at the end of thefirst section made me shy back of it again.
Since there was something stated about a missing git-repository I turned to
Accessing git repository.
I followed all the steps mentioned there. But instead of "git checkout stable-1.1" I used "git checkout stable-1.2".
It seemed to work until that point:
Code: Select all
git clone https://github.com/LMMS/lmms.git
Cloning into 'lmms'...
remote: Counting objects: 71563, done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 71563 (delta 21), reused 0 (delta 0), pack-reused 71520
Receiving objects: 100% (71563/71563), 72.87 MiB | 5.69 MiB/s, done.
Resolving deltas: 100% (52672/52672), done.
xxx@Jaizkibel:~> cd lmms
xxx@Jaizkibel:~/lmms> git checkout stable-1.2
Branch stable-1.2 set up to track remote branch stable-1.2 from origin.
Switched to a new branch 'stable-1.2'
Then once again md lmms/build and cd build and cmake ..
Code: Select all
.
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Found Git: /usr/bin/git (found version "2.12.0")
Configuring LMMS
--------------------------
* Project version : 1.2.0-rc2.116
* Major version : 1
* Minor version : 2
* Release version : 0
* Stage version : rc2
* Build version : 116
*
Optional Version Usage:
--------------------------
* Override version: -DFORCE_VERSION=x.x.x-x
* Ignore Git information: -DFORCE_VERSION=internal
PROCESSOR: x86_64
Machine: x86_64-suse-linux
-- 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 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.6", minimum required is "4.6.0;COMPONENTS;QtCore;QtGui;QtXml")
-- Found Qt translations in /usr/share/qt4/translations
-- Checking for module 'sndfile>=1.0.11'
--
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:363 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:528 (_pkg_check_modules_internal)
CMakeLists.txt:176 (PKG_CHECK_MODULES)
-- Configuring incomplete, errors occurred!
See also "/home/xxx/lmms/build/CMakeFiles/CMakeOutput.log".
See also "/home/xxx/lmms/build/CMakeFiles/CMakeError.log".
The fatal message underthe detecting section has disappeared. But still somethings missing.
I set a symbolic link in /usr/include poinitng to /usr/include/linux/soundcard.h.
I'm not sure that's really advisable. But the next time the "not found" turned into "found".
But this doens't work with process.h, since I don't have this file anywhere in my system, that I could point a symbolic link to.
And there are still other elements missing, that I don't have a ssolution for.
This is where my experiments end at the moment.
Is it all because libsoundio is not installed?