Skip to content

Instantly share code, notes, and snippets.

@avilleret
Created December 20, 2014 19:18
Show Gist options
  • Save avilleret/13603cb6785524c184f0 to your computer and use it in GitHub Desktop.
Save avilleret/13603cb6785524c184f0 to your computer and use it in GitHub Desktop.
configure failed due to EXPORT "unknown argument"
antoine@antoine-Laptop:~/lib-src/OSSIA$ ./Build.sh jamoma
+ ISCORE_CMAKE_DEBUG=
+ ISCORE_QMAKE_DEBUG=
+ ISCORE_CMAKE_TOOLCHAIN=
+ ISCORE_QMAKE_TOOLCHAIN=
+ ISCORE_BREW_UNIVERSAL_FLAGS=
+ ISCORE_CMAKE_UNIVERSAL_FLAGS=
+ ISCORE_DEPTH_GIT=--depth=1
+ ISCORE_FOLDER=i-score
+ ISCORE_JAMOMA_BRANCH=feature/cmake
+ ISCORE_JAMOMAMAX_BRANCH=feature/cmake
+ ISCORE_SCORE_BRANCH=feature/cmake
+ ISCORE_ISCORE_BRANCH=dev
+ ISCORE_BREW_FLAGS=--build-bottle
+ ISCORE_CMAKE_PD_FLAGS=-DDONT_BUILD_JAMOMAPD:bool==True
++ basename ./Build.sh
+ HELP_MESSAGE='Usage : Build.sh [software] [options]
Builds Jamoma, Score, and i-score 0.2, 0.3 on Linux and OS X systems.
Software :
iscore
Builds and packages i-score. Requires jamoma to be installed.
(Calling the script with jamoma will do)
i-score_player
Builds the i-score command-line player. Requires jamoma to be installed.
iscore-recast
Builds i-score 0.3 instead of 0.2. Overrides iscore. NOT READY.
jamoma
Builds and installs Jamoma on the system folders, or creates release packages.
Options :
--clone
Clones the git repositories.
--fetch-all
Fetches the full git repositories instead of the tip of the feature/cmake branch. Useful for development.
--master
Uses the master branch instead of the dev or feature/cmake branch
--install-deps
Installs dependencies using apt-get / yum on Linux and brew / port on OS X.
--no-jamoma-pd
Does not build Jamoma PureData implementation.
--no-jamoma-max
Does not build Jamoma Max implementation. Only effective on OS X (since there is no Max on Linux)
--jamoma-path=/some/path/to/Jamoma/Core folder
Uses an existing Jamoma installation. Note : it has to be on a branch with CMake (currently feature/cmake).
--debug
Builds everything with debug informations.
--use-clang
Builds everything with the Clang compiler. Only useful on Linux systems.
--multi
Builds using all your cores.
--android
Cross-build for Android. Only i-score 0.3. Requires the NDK & a toolchain with compiled libs. See AndroidBuild.txt.
To cross-build, please set ANDROID_NDK_ROOT to your NDK path and ANDROID_QT_BIN to the corresponding qmake executable folder.
--universal
Builds an universal binary for OS X. Warning: does not work well with brew; portmidi and gecode have to be built by hand
--optimize
Builds with optimizations enabled. More speed, but is not suitable for distribution on older computers or different processors.
--clean
Removes the build folder and the executables prior to building.
--uninstall
Will try to uninstall Jamoma.
--help
Shows this message
===============
Classic mode options :
--classic (transitional)
Uses the ruby.rb script to build Jamoma.
--clean-classic
Cleans the dependencies and the files installed by the classic build.
Note: in this mode, only the following options are effective:
jamoma
iscore
--clone
--install-deps
--jamoma-path
'
+ test 1 -gt 0
+ case "$1" in
+ echo 'Will install Jamoma in the system folders'
Will install Jamoma in the system folders
+ ISCORE_INSTALL_JAMOMA=1
+ shift
+ test 0 -gt 0
+ [[ linux-gnu == \l\i\n\u\x\-\g\n\u* ]]
+ ISCORE_CMAKE_MAX_FLAGS=-DDONT_BUILD_JAMOMAMAX:bool==True
+ '[' -f /etc/fedora-release ']'
++ lsb_release -si
+ [[ Ubuntu = \D\e\b\i\a\n ]]
++ lsb_release -si
+ [[ Ubuntu = \U\b\u\n\t\u ]]
+ ISCORE_DEBIAN=1
+ [[ -n '' ]]
+ ISCORE_NUM_THREADS=1
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ linux-gnu == \a\n\d\r\o\i\d* ]]
+ [[ -n '' ]]
+ ISCORE_QMAKE=qmake
+ [[ linux-gnu == \l\i\n\u\x\-\g\n\u* ]]
+ [[ -n '' ]]
+ command which qtchooser
+ which qtchooser
/usr/bin/qtchooser
+ ISCORE_QMAKE='qtchooser -run-tool=qmake -qt=qt5'
+ [[ -n '' ]]
+ [[ ! -n '' ]]
++ pwd
+ export ISCORE_JAMOMA_PATH=/home/antoine/lib-src/OSSIA/Jamoma
+ ISCORE_JAMOMA_PATH=/home/antoine/lib-src/OSSIA/Jamoma
+ export JAMOMA_INCLUDE_PATH=/home/antoine/lib-src/OSSIA/Jamoma/Core
+ JAMOMA_INCLUDE_PATH=/home/antoine/lib-src/OSSIA/Jamoma/Core
+ mkdir -p build/jamoma
+ cd build/jamoma
+ [[ -n 1 ]]
+ cmake /home/antoine/lib-src/OSSIA/Jamoma/Core -DDONT_BUILD_JAMOMAMAX:bool==True -DDONT_BUILD_JAMOMAPD:bool==True
CMAKE_INSTALL_PREFIX /usr
-- Found dl: /usr/lib/x86_64-linux-gnu/libdl.so
CMake Error at Shared/CMake/JamomaUtilFunctions.cmake:41 (export):
export Unknown arguments.
Call Stack (most recent call first):
Foundation/library/CMakeLists.txt:122 (addJamomaLibrary)
CMake Error at Shared/CMake/JamomaUtilFunctions.cmake:41 (export):
export Unknown arguments.
Call Stack (most recent call first):
DSP/library/CMakeLists.txt:29 (addJamomaLibrary)
CMake Error at Shared/CMake/JamomaUtilFunctions.cmake:41 (export):
export Unknown arguments.
Call Stack (most recent call first):
Graph/library/CMakeLists.txt:22 (addJamomaLibrary)
-- checking for module 'portmidi'
-- package 'portmidi' not found
CMake Error at Shared/CMake/JamomaUtilFunctions.cmake:41 (export):
export Unknown arguments.
Call Stack (most recent call first):
AudioGraph/library/CMakeLists.txt:21 (addJamomaLibrary)
CMake Error at Shared/CMake/JamomaUtilFunctions.cmake:41 (export):
export Unknown arguments.
Call Stack (most recent call first):
Modular/library/CMakeLists.txt:73 (addJamomaLibrary)
-- checking for module 'portmidi'
-- package 'portmidi' not found
Max extension requires OS X or Windows.
-- Building OSSIA Score project.
CMake Error at Shared/CMake/JamomaUtilFunctions.cmake:41 (export):
export Unknown arguments.
Call Stack (most recent call first):
Score/library/CMakeLists.txt:38 (addJamomaLibrary)
-- version found 4.2.1
-- kernel: /usr/lib/x86_64-linux-gnu/libgecodekernel.so
-- support: /usr/lib/x86_64-linux-gnu/libgecodesupport.so
-- int: /usr/lib/x86_64-linux-gnu/libgecodeint.so
-- set: /usr/lib/x86_64-linux-gnu/libgecodeset.so
-- minimodel: /usr/lib/x86_64-linux-gnu/libgecodeminimodel.so
-- search: /usr/lib/x86_64-linux-gnu/libgecodesearch.so
-- float: /usr/lib/x86_64-linux-gnu/libgecodefloat.so
-- Gecode class:
-- Found Gecode: /usr/include
-- Configuring incomplete, errors occurred!
See also "/home/antoine/lib-src/OSSIA/build/jamoma/CMakeFiles/CMakeOutput.log".
See also "/home/antoine/lib-src/OSSIA/build/jamoma/CMakeFiles/CMakeError.log".
+ '[' 1 -ne 0 ']'
+ exit 1
antoine@antoine-Laptop:~/lib-src/OSSIA$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment