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

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

[Octave-bug-tracker] [bug #54235] problems building Octave on Solaris


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris
Date: Wed, 25 Jul 2018 14:17:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #159, bug #54235 (project octave):

Rik:  I'm trying to build Octave now with the minimal dependencies (BLAS,
LAPACK, and PCRE?).  I used --disable-readline, but left it up to the
configure script to determine that other dependencies were missing.

I used the reference blas and lapack libraries (I don't care about performance
here, just seeing whether Octave builds). 

There were a few issues:

* PCRE now seems to be a hard dependency, but it is not handled that way by
configure.  So configure succeeded but make failed.  I built PCRE with the
flags used by mxe-octave to fix this problem.

* Including jni.h failed:

In file included from
../../src/octave-4.4.1-rc1/libinterp/octave-value/ov-java.cc:63:0:
/usr/jdk/instances/jdk1.6.0/include/jni.h:27:10: fatal error: jni_md.h: No
such file or directory
 #include "jni_md.h"

so I reconfigured with --disable-java

* MArray<long long> was not instantiated.

* The run-octave script is not portable to the Solaris /bin/sh.

* Executing Octave fails with

ld.so.1: octave-cli: fatal: libfreetype.so.6: open failed: No such file or
directory
Killed


I am trying again with all the optional dependencies explicitly disabled as we
do for this buildbot build: http://buildbot.octave.org:8010/#/builders/7 
using the configure command:

LD_LIBRARY_PATH=$HOME/local/lib ../../src/octave-4.4.1-rc1/configure
--prefix=$HOME/local --disable-fftw-threads --disable-java --disable-jit
--disable-openmp --disable-readline --without-osmesa --without-amd
--without-arpack --without-bz2 --without-camd --without-ccolamd
--without-cholmod --without-colamd --without-curl --without-cxsparse
--without-fftw3 --without-fftw3f --without-fltk --without-framework-opengl
--without-glpk --without-hdf5 --without-klu --without-sundials-ida
--without-sundials_nvecserial --without-magick --without-opengl
--without-openssl --without-portaudio --without-qhull --without-qrupdate
--without-qscintilla --without-qt --without-sndfile --without-sundials_ida
--without-sundials_nvecserial --without-umfpack --without-x --without-z
LDFLAGS=-L$HOME/local/lib CPPFLAGS=-I$HOME/local/include


I'll report back later with the results.

Michele, you can build GCC with whatever prefix you'd like, or use it from my
~eaton/local/bin directory.

You may need to set -I and -L options and LD_LIBRARY_PATH appropriately to use
it to build Octave and Octave's dependencies.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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