Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2017 16:56:07 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-ports@freebsd.org
Subject:   upgrading math/octave?
Message-ID:  <20171012235607.GA83761@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
Has anyone successfully updated math/octave?

The current math/octave port uses version 4.0.3,
which was released 2016-07-01.  The newest version
is 4.2.1 and it was released on 2017-02-22.  The
newer version contains new features and boatload
of bugfixes.

My attempts at an upgrade die with a C++ error.

libtool: link: c++ -std=3Dgnu++11 -fPIC -D_THREAD_SAFE -pthread -fopenmp -W=
all -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -=
Wcast-align -Wcast-qual -O2 -pipe -fstack-protector -fno-strict-aliasing -W=
l,-rpath=3D/usr/local/lib/gcc6 -B/usr/local/bin -fstack-protector -o src/.l=
ibs/octave-cli src/src_octave_cli-main-cli.o src/src_octave_cli-octave-buil=
d-info.o -Wl,-R/usr/local/lib  -L/usr/local/lib -L/usr/local/lib/gcc6 libin=
terp/.libs/liboctinterp.so liboctave/.libs/liboctave.so libgnu/.libs/libgnu=
=2Ea -lhdf5 -lGraphicsMagick++ -lGraphicsMagick -lz -lGL -lGLU -lfontconfig=
 -lfreetype -lX11 -lgl2ps -lcurl -lumfpack -lcholmod -lamd -lcamd -lcolamd =
-lccolamd -lcxsparse -lsuitesparseconfig -larpack -lqrupdate -lfftw3_thread=
s -lfftw3 -lfftw3f_threads -lfftw3f -lopenblasp -lreadline -lncurses -lpcre=
 -L/usr/local/bin -L/usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.4.=
0 -L/usr/local/lib/gcc6/gcc/x86_64-portbld-freebsd12.0/6.4.0/../../../../..=
/x86_64-portbld-freebsd12.0/lib -L/usr/local/lib/gcc6/gcc/x86_64-portbld-fr=
eebsd12.0/6.4.0/../../.. -lgfortran -lssp_nonshared -lquadmath -lutil -lm -=
fopenmp -pthread -Wl,-rpath -Wl,/usr/local/lib/octave/4.2.1
libinterp/.libs/liboctinterp.so: undefined reference to `octave::sys::file_=
stat::~file_stat()'
  =20
~file_stat() appears in work/octave-4.2.1/liboctave/system/file-stat.h

lines 235-238

      // This destructor must remain as an empty destructor defined in the
      // cpp file rather than in the header file (bug #50234).
      ~file_stat (void);

and=20

line 295

      ~file_fstat (void) { }


--=20
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171012235607.GA83761>