NISHINO Toru
2015-08-12 09:30:53 UTC
I want to use LMMS with KORG's microKEY-25 on OS X (yosemite).
I read âhttps://github.com/LMMS/lmms/pull/2228 <https://github.com/LMMS/lmms/pull/2228> yesterday and I tried to build LMMS from zip archive at âhttps://github.com/LMMS/lmms <https://github.com/LMMS/lmms>.
cmake 3.3.0, Qt 4.8.7 and libsndfile 1.0.25 are installed from Homebrew.
I tried the following steps according to INSTALL, but failed with the message "package 'sndfile>=1.0.11' not found", but I believe sndfile 1.0.25 is installed properly, and symbolic link (/usr/local/include/ -> /usr/local/Cellar/libsndfile/1.0.25/include) is correct.
Please tell me how to fix this problem.
Thank you very much.
MBA$: unzip lmms-master.zip
MBA$: cd lmms-master
MBA$:lmms-master$ mkdir build
MBA$:lmms-master$ cd build
MBA$:build$ cmake --version
cmake version 3.3.0
MBA$:build$ cmake ../
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
PROCESSOR: x86_64
Machine: x86_64-apple-darwin14.4.0
-- Target host is 64 bit
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.7", minimum required is "4.6.0;COMPONENTS;QtCore;QtGui;QtXml")
-- Found Qt translations in /usr/local/Cellar/qt/4.8.6/translations
-- checking for module 'sndfile>=1.0.11'
-- package 'sndfile>=1.0.11' not found
CMake Error at /usr/local/Cellar/cmake/3.3.0/share/cmake/Modules/FindPkgConfig.cmake:340 (message):
A required package was not found
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.3.0/share/cmake/Modules/FindPkgConfig.cmake:502 (_pkg_check_modules_internal)
CMakeLists.txt:146 (PKG_CHECK_MODULES)
-- Configuring incomplete, errors occurred!
See also "/Users/toru/Downloads/lmms-master/build/CMakeFiles/CMakeOutput.log".
See also "/Users/toru/Downloads/lmms-master/build/CMakeFiles/CMakeError.log".
(end of the output of ccmake command)
installed status is as follows:
MBA$:build$ brew list libsndfile
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-cmp
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-concat
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-convert
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-deinterleave
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-info
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-interleave
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-metadata-get
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-metadata-set
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-play
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-regtest
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-salvage
/usr/local/Cellar/libsndfile/1.0.25/include/ (2 files)
/usr/local/Cellar/libsndfile/1.0.25/lib/libsndfile.1.dylib
/usr/local/Cellar/libsndfile/1.0.25/lib/pkgconfig/sndfile.pc
/usr/local/Cellar/libsndfile/1.0.25/lib/ (2 other files)
/usr/local/Cellar/libsndfile/1.0.25/share/doc/ (16 files)
/usr/local/Cellar/libsndfile/1.0.25/share/man/ (9 files)
MBA$:build$ brew link libsndfile
Warning: Already linked: /usr/local/Cellar/libsndfile/1.0.25
To relink: brew unlink libsndfile && brew link libsndfile
MBA$:build$ ls -la /usr/local/include/sndfile.h
lrwxr-xr-x 1 myname admin 45 10 31 2014 /usr/local/include/sndfile.h -> ../Cellar/libsndfile/1.0.25/include/sndfile.h
MBA$:build$ ls /usr/local/Cellar/libsndfile/1.0.25/include/
sndfile.h sndfile.hh
MBA$:lmms-master$ head /usr/local/include/sndfile.h
/*
** Copyright (C) 1999-2011Erik de Castro Lopo <***@mega-nerd.com>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as published by
** the Free Software Foundation; either version 2.1 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
MBA$:lmms-master$ head /usr/local/include/sndfile.hh
/*
** Copyright (C) 2005-2011 Erik de Castro Lopo <***@mega-nerd.com>
**
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
**
** * Redistributions of source code must retain the above copyright
***@gmail.com
I read âhttps://github.com/LMMS/lmms/pull/2228 <https://github.com/LMMS/lmms/pull/2228> yesterday and I tried to build LMMS from zip archive at âhttps://github.com/LMMS/lmms <https://github.com/LMMS/lmms>.
cmake 3.3.0, Qt 4.8.7 and libsndfile 1.0.25 are installed from Homebrew.
I tried the following steps according to INSTALL, but failed with the message "package 'sndfile>=1.0.11' not found", but I believe sndfile 1.0.25 is installed properly, and symbolic link (/usr/local/include/ -> /usr/local/Cellar/libsndfile/1.0.25/include) is correct.
Please tell me how to fix this problem.
Thank you very much.
MBA$: unzip lmms-master.zip
MBA$: cd lmms-master
MBA$:lmms-master$ mkdir build
MBA$:lmms-master$ cd build
MBA$:build$ cmake --version
cmake version 3.3.0
MBA$:build$ cmake ../
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
PROCESSOR: x86_64
Machine: x86_64-apple-darwin14.4.0
-- Target host is 64 bit
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.7", minimum required is "4.6.0;COMPONENTS;QtCore;QtGui;QtXml")
-- Found Qt translations in /usr/local/Cellar/qt/4.8.6/translations
-- checking for module 'sndfile>=1.0.11'
-- package 'sndfile>=1.0.11' not found
CMake Error at /usr/local/Cellar/cmake/3.3.0/share/cmake/Modules/FindPkgConfig.cmake:340 (message):
A required package was not found
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.3.0/share/cmake/Modules/FindPkgConfig.cmake:502 (_pkg_check_modules_internal)
CMakeLists.txt:146 (PKG_CHECK_MODULES)
-- Configuring incomplete, errors occurred!
See also "/Users/toru/Downloads/lmms-master/build/CMakeFiles/CMakeOutput.log".
See also "/Users/toru/Downloads/lmms-master/build/CMakeFiles/CMakeError.log".
(end of the output of ccmake command)
installed status is as follows:
MBA$:build$ brew list libsndfile
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-cmp
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-concat
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-convert
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-deinterleave
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-info
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-interleave
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-metadata-get
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-metadata-set
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-play
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-regtest
/usr/local/Cellar/libsndfile/1.0.25/bin/sndfile-salvage
/usr/local/Cellar/libsndfile/1.0.25/include/ (2 files)
/usr/local/Cellar/libsndfile/1.0.25/lib/libsndfile.1.dylib
/usr/local/Cellar/libsndfile/1.0.25/lib/pkgconfig/sndfile.pc
/usr/local/Cellar/libsndfile/1.0.25/lib/ (2 other files)
/usr/local/Cellar/libsndfile/1.0.25/share/doc/ (16 files)
/usr/local/Cellar/libsndfile/1.0.25/share/man/ (9 files)
MBA$:build$ brew link libsndfile
Warning: Already linked: /usr/local/Cellar/libsndfile/1.0.25
To relink: brew unlink libsndfile && brew link libsndfile
MBA$:build$ ls -la /usr/local/include/sndfile.h
lrwxr-xr-x 1 myname admin 45 10 31 2014 /usr/local/include/sndfile.h -> ../Cellar/libsndfile/1.0.25/include/sndfile.h
MBA$:build$ ls /usr/local/Cellar/libsndfile/1.0.25/include/
sndfile.h sndfile.hh
MBA$:lmms-master$ head /usr/local/include/sndfile.h
/*
** Copyright (C) 1999-2011Erik de Castro Lopo <***@mega-nerd.com>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as published by
** the Free Software Foundation; either version 2.1 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
MBA$:lmms-master$ head /usr/local/include/sndfile.hh
/*
** Copyright (C) 2005-2011 Erik de Castro Lopo <***@mega-nerd.com>
**
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
**
** * Redistributions of source code must retain the above copyright
***@gmail.com