[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building developers sources on MacOSX + Macports (WAS: Integrating a
From: |
Ben Abbott |
Subject: |
Re: Building developers sources on MacOSX + Macports (WAS: Integrating audio functionality in to Octave) |
Date: |
Tue, 24 Sep 2013 15:16:42 -0400 |
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?
Ben
- Integrating audio functionality in to Octave, Vytautas Jancauskas, 2013/09/17
- Re: Integrating audio functionality in to Octave, Pantxo, 2013/09/18
- Re: Integrating audio functionality in to Octave, Vytautas Jancauskas, 2013/09/18
- Re: Integrating audio functionality in to Octave, Pantxo Diribarne, 2013/09/18
- Re: Integrating audio functionality in to Octave, Pantxo Diribarne, 2013/09/18
- Re: Integrating audio functionality in to Octave, Vytautas Jancauskas, 2013/09/18
- Re: Integrating audio functionality in to Octave, Mike Miller, 2013/09/18
- Re: Integrating audio functionality in to Octave, Pantxo Diribarne, 2013/09/24
- Re: Building developers sources on MacOSX + Macports (WAS: Integrating audio functionality in to Octave),
Ben Abbott <=
- Re: Building developers sources on MacOSX + Macports (WAS: Integrating audio functionality in to Octave), Pantxo Diribarne, 2013/09/24
- Re: Integrating audio functionality in to Octave, Vytautas Jancauskas, 2013/09/26
- Re: Integrating audio functionality in to Octave, Pantxo Diribarne, 2013/09/26
Re: Integrating audio functionality in to Octave, Mike Miller, 2013/09/18