[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41520] Error installing control package in Oc
From: |
Julius Smith |
Subject: |
[Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks |
Date: |
Sat, 18 Jun 2016 20:17:28 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 |
Follow-up Comment #9, bug #41520 (project octave):
For me, mkoctfile, which was installed with Octave, specifies the wrong
directory:
> mkoctfile -p FLIBS
-L/opt/local/lib -L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0
-L/opt/local/lib/gcc5/gcc/x86_64-apple-darwin15/5.3.0/../../.. -lgfortran
-lquadmath -lm
I can work around this by setting $FLIBS as you suggest, or by making a
symlink from 5.4.0 to 5.3.0, etc. However, shouldn't mkoctfile and friends
find the right directory? Octave only formally depends on gcc5, so that
should cover 5.*.*. For example, GNU Make can do things like this:
# Makefile:
LDIR = /opt/local/lib/gcc5/gcc/x86_64-apple-darwin15
LIB = $(sort $(wildcard $(LDIR)/5.*))
all:
echo found $(LIB)
This does the right thing on my system, but since it uses lexical sort, it
will fail on minor releases 10 and above. (I don't find a "sort -n" in GNU
Make.)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41520>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks, Mike Miller, 2016/06/17
- [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks, Julius Smith, 2016/06/17
- [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks, Mike Miller, 2016/06/17
- [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks,
Julius Smith <=
- [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks, Julius Smith, 2016/06/18
- [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks, Julius Smith, 2016/06/18
- [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks, Mike Miller, 2016/06/19
- [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks, Julius Smith, 2016/06/19
- [Octave-bug-tracker] [bug #41520] Error installing control package in Octave 3.8.0 on MacOS Mavericks, Mike Miller, 2016/06/19