octave-maintainers
[Top][All Lists]
Advanced

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

Re: Building developers sources on MacOSX + Macports (WAS: Integrating a


From: Pantxo Diribarne
Subject: Re: Building developers sources on MacOSX + Macports (WAS: Integrating audio functionality in to Octave)
Date: Tue, 24 Sep 2013 22:26:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

Le mar. 24 sept. 2013 21:16:42 CEST, Ben Abbott a écrit :

On Sep 24, 2013, at 2:06 PM, Pantxo Diribarne wrote:

Hello,

I successfully built octave on mac from your repo.  Tests often fail or crash 
(segfault) octave :

  - make check: either crashes during audio function tests (if one of them 
fails) or at the end, after reporting a few known failures.

Using macports, the most recent release may be installed by ...

        sudo port install octave-devel @3.6.4_8+atlas+docs+fltk+gcc47+x11

I have no crashes when testing.

To build the developers sources, I use ....

./bootstrap
export PREFIX=/usr/fubar
export CC=/opt/local/bin/gcc-mp-$VER
export CXX=/opt/local/bin/g++-mp-$VER
export CXXCPP="/opt/local/bin/g++-mp-$VER -E"
export F77=/opt/local/bin/gfortran-mp-$VER
export FC=/opt/local/bin/gfortran-mp-$VER
export CXXFLAGS="-pipe -O0 -g -m64 -ggdb3 -gstabs"
export FFLAGS="$CXXFLAGS -funroll-loops"
export CFLAGS="$FFLAGS -lstdc++"
export LDFLAGS="-headerpad_max_install_names -L/opt/local/lib"
export CPPFLAGS="-I/opt/local/include"
export PTHREAD_CFLAGS=-D_THREAD_SAFE

export BLAS_LIBS="-lcblas -lf77blas -latlas"
export LAPACK_LIBS=-llapack

./configure --prefix="$PREFIX" --with-framework-carbon \
             --with-cholmod="-lcholmod" \
             --with-umfpack="-lumfpack -lSuiteSparse" \
             LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.0

make -j4

Also no crashes for "make check".

- in octave, "test @audioplayer/audioplayer": fails (and sometimes crashes, it 
is not entirely reproducible) most of the time at the 3rd test showing the following 
error log:


I don't have an "audioplayer", where did obtain your copy?

I cloned Vytautas's repository [1], see the beginning of this thread (that I forgot to cite), there is a trick to be able to clone gnulib.

Anyway, I will try using your options/flags for the build and see if that helps

Pantxo

[1] https://bitbucket.org/bucket_brigade/octave-with-sound


reply via email to

[Prev in Thread] Current Thread [Next in Thread]