[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: interval 0.1.1 released
From: |
Oliver Heimlich |
Subject: |
Re: interval 0.1.1 released |
Date: |
Sun, 01 Feb 2015 22:16:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
Am 01.02.2015 um 21:15 schrieb Marius Schamschula:
Hi all,
While building interval 0.1.1 under MacPorts I get the following error:
[SNIP]
/opt/local/bin/mkoctfile-3.8.2 -o mpfr_function_d.oct -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch x86_64 -lmpfr
-lgmp mpfr_function_d.cc
mkoctfile: unrecognized argument -archmake: *** [mpfr_function_d.oct]
Error 1
pkg: error running `make' for the interval package.
error: called from 'configure_make' in file
/opt/local/share/octave/3.8.2/m/pkg/private/configure_make.m near line
82, column 9
error: called from:
error: /opt/local/share/octave/3.8.2/m/pkg/private/install.m at line
199, column 5
error: /opt/local/share/octave/3.8.2/m/pkg/private/build.m at line 50,
column 3
error: /opt/local/share/octave/3.8.2/m/pkg/pkg.m at line 516, column 7
Command failed: cd
"/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_math_octave-interval/octave-interval/work/interval"
&& /opt/local/bin/octave -q -f --eval 'pkg build -verbose -nodeps
/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_math_octave-interval/octave-interval/work/interval
/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_math_octave-interval/octave-interval/work/.tmp/interval.tar.gz'
Exit code: 1
Where does the stray “make” come form? Any ideas?
The Makefile [1] contains a $(LDFLAGS) parameter for the mkoctfile
command. You seem to have a LDFLAGS environment variable in your shell,
which adds the -arch parameter to the mkoctfile command. The mkoctfile
then fails, because it does not accept the -arch parameter.
You should modify the LDFLAGS variable before building the package.
[1] https://sourceforge.net/p/octave/interval/ci/default/tree/src/Makefile
Note: I had no issues building interval 0.1.0.
There has been no change in the Makefile. You probably had different
environment variables back then.
I am not experienced with the configure and make tools. Can these issues
be minimized in the future by providing a configure script? Or should I
simply remove the $(CFLAGS) and $(LDFLAGS) from the Makefile?
Oliver Heimlich
On Feb 1, 2015, at 1:28 PM, Carnë Draug <address@hidden
<mailto:address@hidden>> wrote:
Hi everyone
a new release of the interval package [1] is out, version 0.1.1, by
Oliver Heimlich.
A summary of important user-visible changes is also available online [2].
The interval package provides data types and fundamental operations
for real valued interval arithmetic based on the common floating-point
format "binary64" a.k.a. double-precision. It aims to be standard
compliant with the (upcoming) IEEE 1788 and therefore implements the
set-based interval arithmetic flavour.
Enjoy Octave responsibly,
Carnë
[1] http://octave.sourceforge.net/interval/
[2] http://octave.sourceforge.net/interval/NEWS.html
Marius
--
Marius Schamschula