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

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

[Octave-bug-tracker] [bug #43228] Cannot install control package in Octa


From: anonymous
Subject: [Octave-bug-tracker] [bug #43228] Cannot install control package in Octave 3.8.1 on Mac OSX
Date: Mon, 15 Sep 2014 23:39:01 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?43228>

                 Summary: Cannot install control package in Octave 3.8.1 on
Mac OSX
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 15 Sep 2014 11:38:59 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Julius Smith
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: Mac OS

    _______________________________________________________

Details:

After MacPorts upgraded octave to 3.8.1, octave could no longer load the .oct
files that came with the control package.  (There was no path problem, but
dlopen() failed anyway, with "Reason: image not found", but the binary file
was there, dated April 18, meaning it's the same one that used to work.)

I uninstalled octave* and rebuilt like this (as I usually do):

> uname -a
Darwin mycomputer.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3
21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64

> sudo port install -f octave +fltk +atlas +gcc48
...
--->  No broken files found.

> port list installed | grep octave
octave                         @3.8.1          math/octave
> octave
...
octave:1> help tf
error: help: the 'tf' function belongs to the control package from Octave
Forge which
seems to not be installed in your system.
...
octave:1> pkg -forge install control
/bin/sh: line 0: cd: sltmp: No such file or directory
gfortran-mp-4.8: error: *.f: No such file or directory
gfortran-mp-4.8: fatal error: no input files
compilation terminated.
ar: ./sltmp/*.o: No such file or directory
make: *** [slicotlibrary.a] Error 1
tar -xzf slicot.tar.gz
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cd sltmp; /opt/local/bin/mkoctfile-3.8.1 -c *.f
ar -rc slicotlibrary.a ./sltmp/*.o

pkg: error running `make' for the control package.
error: called from 'configure_make' in file
/opt/local/share/octave/3.8.1/m/pkg/private/configure_make.m near line 82,
column 9
error: called from:
error:   /opt/local/share/octave/3.8.1/m/pkg/private/install.m at line 199,
column 5
error:   /opt/local/share/octave/3.8.1/m/pkg/pkg.m at line 394, column 9
octave:1> exit
> sudo port install octave-control
...
--->  Activating octave-control @2.6.0_0
...
--->  No broken files found.
> octave
octave:1> tf(1)
error: tf:
/opt/local/lib/octave/packages/control-2.4.1/x86_64-apple-darwin12.3.0-api-v48+/is_real_matrix.oct:
failed to load:
dlopen(/opt/local/lib/octave/packages/control-2.4.1/x86_64-apple-darwin12.3.0-api-v48+/is_real_matrix.oct,
2): Library not loaded: /opt/local/lib/octave/3.6.4/liboctinterp.1.dylib
  Referenced from:
/opt/local/lib/octave/packages/control-2.4.1/x86_64-apple-darwin12.3.0-api-v48+/is_real_matrix.oct
  Reason: image not found
error: called from:
error:   /opt/local/share/octave/packages/control-2.6.0/@tf/tf.m at line 200,
column 7





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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