[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] mavericks + qt + unit lib = sclang crash



On 17 Dec 2013, at 21:52, Rainer Schütz <rs@xxxxxxxxx> wrote:

The machine I'm testing on doesn't have Qt itself installed (only Xcode), maybe your build expects it to be there?


I don’t think Qt is the problem. I did new builds now and tested them on a virgin Mavericks virtual machine - no Qt, no XCode, no Homebrew etc, just stock OSX Mavericks - it worked (no startup crash, server booted, ().play and {SinOsc.ar*0.3}.play created the expected result…

I changed a few little details on that build and am optimistic that this one is generic enough. So I made 4 builds:

1. Current master vanilla release build
2. Current master including 4 pull requests (timForMaster, timEnv2, timBoost155 and holgerSDK10.9 support
3. Like no 2 but debug build
2. Like no 2 with supernova.

Find them in this folder:

https://drive.google.com/folderview?id=0B7igZrWv7UxdUGRRa1o0aUV4aTg&usp=sharing

I’d be glad about feedback and hope we’ll gradually get closer to a 3.7 alpha..

Best
Rainer

---------------------------------------------------------
PS:

Here build details for the interested:

Build date: 19th Dec 2013

SC Master  commit   edab2f90a3ae6729e76 

OSX 10.9.1
XCode 5.0.2
Commandline tools (late october 2013)


All additional utilities & dependencies from Homebrew (makes things simple and could prove useful for a prospective homebrew sc):

- qt 4.8.5  ("poured from bottle", i.e. not locally compiled, includes homebrew provided patches for 10.9 compatibility (no official Qt-4.8.6 release available yet), installed without any build options (e.g *not* using any of --developer, --universal, --with-d-bus and others).
- readline 6.2.4 (poured from bottle)
- portaudio, 19.20111121 (pulls in pkg-config, *only* used in supernova-build, all other builds use default osx-backend coreaudio)

- cmake 1.8.12
- git 1.8.5.2
- subversion (v. 1.8.5, apache, pulls in: sqlite, svn-tools, bash_completion)

Output of `brew list`:
bash-completion, git, portaudio, readline, cmake, git-extras, pkg-config, qt, sqlite, subversion

Output of of echo $PATH:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

*Not* installed - bundled versions used:
- boost
- yamlcpp
- libsndfile
(and also not fftw)

Integrated pull requests (build 2->4):
- pr/994: holger: enable use of 10.9 SDK
- pr/993: tim: boost 1.55 (add timer hpp manually)
- pr/975: tim: step env2
- pr/971: tim: forMaster (revert macisms)

Used SDK: 10.8 (to retain App Nap switch as SC start-option)
Build target 10.7 (oldest possible for widest use)

- building 4 builds:
-- Master Vanilla Release-version
-- Master with pull-requests as described above
-- Master with pull-requests build type Debug
-- Master with pull-requests and Supernova (build type release)

- build is x86-64 only (no 32-bit)
- only used "required" cmake arguments (verify validity of default cmake settings)
- removed all files from build-folder before build (rm -rf *)

- literal cmake arguments on build system:

cmake
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/Users/rainer/Applications/SC_SDK108_Target107_Rel \
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/ \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 \
-DREADLINE_LIBRARY=/usr/local/Cellar/readline/6.2.4/lib/libreadline.dylib \
-DREADLINE_INCLUDE_DIR=/usr/local/Cellar/readline/6.2.4/include \
-DSUPERNOVA=OFF \
-j2 \
/Users/rainer/GitRepos/supercollider/


Verification-steps for build success, so far:

[build-, test-system (virgin Mavericks)].do {
install
fire up 
boot server
().play
{SinOsc.ar*0.3}.play
}