octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53151] Clang OSX buildbot failing


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #53151] Clang OSX buildbot failing
Date: Fri, 23 Feb 2018 05:21:20 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #15, bug #53151 (project octave):

@Sebastian I did change permissions for the contents of /usr/local but I'm not
sure yet whether you can now install homebrew package, can you please try
installing sundials 2?

Apart from sundials and Java the attached modification of Ben's script is
working for me on the buildbot mac


#! /bin/sh

## Start with Octave to fulfill most dependencies
# brew install octave
# brew uninstall octave
## Use Sundails27 instead of Sundials
# brew unlink sundials
# brew install sundials27
## Add qscintilla2
# brew install qscintilla2
## Use Homebrew's texinfo
# brew install texinfo
## Use Homebrew's bison
# brew install bison

## Install MacTex if building docs is desired
## https://tug.org/mactex/mactex-download.html

## Apply Daniel Sebald's patch for Qt
# patch -p1 < ../octave-qt_wait_on_worker_thread-DEBUG1-djs2017sep25.patch
# This fix only works with the fprintf (stderr, ...) debug lines.

## Set Java's home directory
## export JAVA_HOME="$(/usr/libexec/java_home -v 9)"

# Setup dependencies that are not symbolically linked by Homebrew
LDFLAGS=""
CPPFLAGS=""
LDFLAGS="$LDFLAGS  -L/usr/local/opt/readline/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/opt/readline/include"
LDFLAGS="$LDFLAGS -L/usr/local/opt/sqlite/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/opt/sqlite/include"
LDFLAGS="$LDFLAGS -L/usr/local/opt/openssl/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/opt/openssl/include"
LDFLAGS="$LDFLAGS -L/usr/local/opt/bison/lib"
LDFLAGS="$LDFLAGS -L/usr/local/opt/gettext/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/opt/gettext/include"
LDFLAGS="$LDFLAGS -L/usr/local/opt/libffi/lib"
LDFLAGS="$LDFLAGS -L/usr/local/opt/icu4c/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/opt/icu4c/include"
LDFLAGS="$LDFLAGS  -L/usr/local/opt/texinfo/lib"
LDFLAGS="$LDFLAGS  -L/usr/local/opt/qt/lib"
CPPFLAGS="$CPPFLAGS -I/opt/X11/include"
LDFLAGS="$LDFLAGS  -L/opt/X11/lib"
export LDFLAGS
export CPPFLAGS

# Add ICU4C to the pkg-config path
PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
# Add Qt5 to the pkg-config path
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/qt/lib/pkgconfig"
export PKG_CONFIG_PATH

# Apple's bison [yacc] is too old, so use Homebrew's
PATH="/usr/local/opt/bison/bin:$PATH"
# Add texinfo to the PATH
PATH="/usr/local/opt/texinfo/bin:$PATH"
# Add Qt to the PATH
PATH="/usr/local/opt/qt/bin:$PATH"
export PATH

PREFIX="/usr/local/$(whoami)/octave"
../octave/configure --prefix=$PREFIX \
      --disable-silent-rules \
      --enable-link-all-dependencies \
      --enable-shared \
      --disable-static \
      --disable-docs \
      --without-OSMesa \
      --with-hdf5-includedir=/usr/local/opt/hdf5/include \
      --with-hdf5-libdir=/usr/local/opt/hdf5/lib \
      --with-x=no \
      --with-blas="-L/usr/local/opt/openblas/lib -lopenblas" \
      --with-portaudio \
      --with-sndfile


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53151>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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