octave forge packages on a mac

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
30 messages Options
12
Reply | Threaded
Open this post in threaded view
|

octave forge packages on a mac

Lazy_Tom
Hi all,

I'm trying to run octave with octave forge packages on my mac (OSX 10.10.5) but have some problems in doing it.

Before V4.03 Octave was not available as a .dmg so I managed to have it running properly (included forge packages) through macPort.

when the octave 4.03 came out in .dmg the macPorts support was discontinued so I thought to remove the macPort version (keeping macPorts) and try the 4.03 on .dmg

Everything seems ok at the beginning but when I installed the forge package ("pkg install odepkg -forge") though I got some warnings during the process the new functions were working. Unfortunately at some point I had other problems with Octave (I leave the details for the moment since it is complicated to explain) and decided to reinstall it from the .dmg. To do so I thought (maybe naively) that thrashing octave app and rerunning the .dmg would do the trick but the problem actually got worse.

Now I can only install/run Octave 4.0.3 and if I try to do "pkg install odepkg -forge" I get an error.

If anyone can give me a help on this it would be much appreciated.

Many thanks

Marco
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

tmacchant
The original post is to sent to the Nabble and has not been accepted by mailing list.
URL of the post:
http://octave.1599824.n4.nabble.com/octave-forge-packages-on-a-mac-td4679771.html


Please paste the error messages at the pkg install command.
Full output using the below (-verbose option) is preferred.

>> pkg install -verbose -forge odepk

Tatsuro
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Lazy_Tom
Hi Tatsuro,

please find below the requested output

Let me know if you need further details

Thanks

Marco

pkg install -verbose -forge odepkg
mkdir (/var/tmp/oct-eB2wnc)
untar (/Users/marco/odepkg-0.8.5.tar.gz, /var/tmp/oct-eB2wnc)
Unpacking external packages: hairer.tgz
Unpacking external packages: cash.tgz
Unpacking external packages: daskr.tgz
Applying patches from file: hairer.diff
Applying patches from file: cash.diff
(Stripping trailing CRs from patch.)
patching file cash/mebdfdae.f
(Stripping trailing CRs from patch.)
patching file cash/mebdfi.f
Applying patches from file: daskr.diff
(Stripping trailing CRs from patch.)
patching file daskr/ddaskr.f
(Stripping trailing CRs from patch.)
patching file daskr/dlinpk.f
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 --verbose -c odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
clang++ -c  -fPIC -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave/.. -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include -D_THREAD_SAFE -pthread -D_REENTRANT -L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib -lsuitesparseconfig -L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib -lmetis    odepkg_octsolver_mebdfdae.cc -oodepkg_octsolver_mebdfdae.o
clang: warning: -lsuitesparseconfig: 'linker' input unused
clang: warning: -lmetis: 'linker' input unused
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib'
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib'
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 --verbose -c odepkg_octsolver_mebdfi.cc -o odepkg_octsolver_mebdfi.o
clang++ -c  -fPIC -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave/.. -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include -D_THREAD_SAFE -pthread -D_REENTRANT -L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib -lsuitesparseconfig -L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib -lmetis    odepkg_octsolver_mebdfi.cc -o odepkg_octsolver_mebdfi.o
clang: warning: -lsuitesparseconfig: 'linker' input unused
clang: warning: -lmetis: 'linker' input unused
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib'
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib'
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 --verbose -c odepkg_octsolver_ddaskr.cc -o odepkg_octsolver_ddaskr.o
clang++ -c  -fPIC -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave/.. -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include -D_THREAD_SAFE -pthread -D_REENTRANT -L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib -lsuitesparseconfig -L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib -lmetis    odepkg_octsolver_ddaskr.cc -o odepkg_octsolver_ddaskr.o
clang: warning: -lsuitesparseconfig: 'linker' input unused
clang: warning: -lmetis: 'linker' input unused
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib'
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib'
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 --verbose -c odepkg_octsolver_radau.cc -o odepkg_octsolver_radau.o
clang++ -c  -fPIC -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave/.. -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include -D_THREAD_SAFE -pthread -D_REENTRANT -L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib -lsuitesparseconfig -L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib -lmetis    odepkg_octsolver_radau.cc -o odepkg_octsolver_radau.o
clang: warning: -lsuitesparseconfig: 'linker' input unused
clang: warning: -lmetis: 'linker' input unused
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib'
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib'
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 --verbose -c odepkg_octsolver_radau5.cc -o odepkg_octsolver_radau5.o
clang++ -c  -fPIC -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave/.. -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include -D_THREAD_SAFE -pthread -D_REENTRANT -L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib -lsuitesparseconfig -L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib -lmetis    odepkg_octsolver_radau5.cc -o odepkg_octsolver_radau5.o
clang: warning: -lsuitesparseconfig: 'linker' input unused
clang: warning: -lmetis: 'linker' input unused
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib'
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib'
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 --verbose -c odepkg_octsolver_rodas.cc -o odepkg_octsolver_rodas.o
clang++ -c  -fPIC -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave/.. -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include -D_THREAD_SAFE -pthread -D_REENTRANT -L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib -lsuitesparseconfig -L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib -lmetis    odepkg_octsolver_rodas.cc -o odepkg_octsolver_rodas.o
clang: warning: -lsuitesparseconfig: 'linker' input unused
clang: warning: -lmetis: 'linker' input unused
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib'
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib'
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 --verbose -c odepkg_octsolver_seulex.cc -o odepkg_octsolver_seulex.o
clang++ -c  -fPIC -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave/.. -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include -D_THREAD_SAFE -pthread -D_REENTRANT -L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib -lsuitesparseconfig -L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib -lmetis    odepkg_octsolver_seulex.cc -o odepkg_octsolver_seulex.o
clang: warning: -lsuitesparseconfig: 'linker' input unused
clang: warning: -lmetis: 'linker' input unused
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib'
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib'
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 --verbose -c odepkg_auxiliary_functions.cc -o odepkg_auxiliary_functions.o
clang++ -c  -fPIC -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave/.. -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include/octave-4.0.3/octave -I/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/include -D_THREAD_SAFE -pthread -D_REENTRANT -L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib -lsuitesparseconfig -L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib -lmetis    odepkg_auxiliary_functions.cc -o odepkg_auxiliary_functions.o
clang: warning: -lsuitesparseconfig: 'linker' input unused
clang: warning: -lmetis: 'linker' input unused
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib'
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib'
FFLAGS="-O" /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 --verbose -c cash/mebdfdae.f -o cash/mebdfdae.o
/Applications/Octave.app/Contents/Resources/usr/bin/gfortran -c -fPIC -O     cash/mebdfdae.f -o cash/mebdfdae.o
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6371:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6414:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6435:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6451:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6458:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6460:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6465:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6470:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6475:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6490:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6492:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6494:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6496:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6507:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6514:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6576:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6611:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6617:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6742:suffix or operands invalid for `movq'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6748:suffix or operands invalid for `movq'
make: *** [cash/mebdfdae.o] Error 1

-- less (100%) (f)orward, (b)ack, (q)uit
pkg: error running `make' for the odepkg package.
error: called from 'configure_make' in file /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/share/octave/4.0.3/m/pkg/private/configure_make.m near line 96, column 9
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Mike Miller-4
On Fri, Sep 16, 2016 at 12:08:39 -0700, Lazy_Tom wrote:
> /Applications/Octave.app/Contents/Resources/usr/bin/gfortran -c -fPIC -O    
> cash/mebdfdae.f -o cash/mebdfdae.o
> /var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T//ccAopI3S.s:6371:suffix or
> operands invalid for `movq'
[…]

LMGTFY, seems to be a common error on macOS systems that may point to a
conflict between xcode and homebrew, or between homebrew and macports,
or related.

I have no idea why or how to fix it, but maybe the macOS resident
experts here can help you figure out what is wrong with your system
configuration.

AFAIK the dmg is built using homebrew, so installing packages (which
usually means compiling code, as in this case) may require a compilation
environment that is compatible with homebrew.

--
mike

Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Sebastian Schöps
In reply to this post by Lazy_Tom
Lazy_Tom wrote
when the octave 4.03 came out in .dmg the macPorts support was discontinued so I thought to remove the macPort version (keeping macPorts) and try the 4.03 on .dmg
How do you come to this conclusion? As far as I know the macports port is still under heavy development. The most recent version is 4.0.3. and you can get it here: https://trac.macports.org/browser/trunk/dports/math/octave/Portfile 
If you were happy with macports, then there is no need to switch to the app-bundle. The app-bundle is rather meant for beginners. If you get along with macports I would recommend to continue using it.

Lazy_Tom wrote
thrashing octave app and rerunning the .dmg would do the trick but the problem actually got worse.
Trashing and reinstalling can hardly make a difference. User actions do not modify the app-bundle, e.g. packages are installed in ~/octave. You must have changed something else.

Mike Miller-4 wrote
LMGTFY, seems to be a common error on macOS systems that may point to a
conflict between xcode and homebrew, or between homebrew and macports,
or related.
I have not seen this error so far. Did you upgrade Xcode (Version 8) recently?
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Lazy_Tom
Sebastian Schöps wrote
Lazy_Tom wrote
when the octave 4.03 came out in .dmg the macPorts support was discontinued so I thought to remove the macPort version (keeping macPorts) and try the 4.03 on .dmg
How do you come to this conclusion? As far as I know the macports port is still under heavy development. The most recent version is 4.0.3. and you can get it here: https://trac.macports.org/browser/trunk/dports/math/octave/Portfile 
If you were happy with macports, then there is no need to switch to the app-bundle. The app-bundle is rather meant for beginners. If you get along with macports I would recommend to continue using it.
see the official octave website (https://www.gnu.org/software/octave/download.html) and the link they give for mac installation: http://wiki.octave.org/Octave_for_MacOS_X
So, is the phrase  "macPorts approach abandoned" related to the tutorial only?? Now I'm confused, the text doesn't look clear, especially if you read the whole article :/
Also, due to problems related to conflicts of other ports with Octave it was appealing moving to .dmg.
Given your observations I might try to go back to macPorts.

Sebastian Schöps wrote
Lazy_Tom wrote
thrashing octave app and rerunning the .dmg would do the trick but the problem actually got worse.
Trashing and reinstalling can hardly make a difference. User actions do not modify the app-bundle, e.g. packages are installed in ~/octave. You must have changed something else.
Yes, indeed, but can't figure out what

Sebastian Schöps wrote
Mike Miller-4 wrote
LMGTFY, seems to be a common error on macOS systems that may point to a
conflict between xcode and homebrew, or between homebrew and macports,
or related.
I have not seen this error so far. Did you upgrade Xcode (Version 8) recently?
My Xcode is Version 7.2.1 (7C1002)
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

bpabbott
Administrator
> On Sep 16, 2016, at 6:48 PM, Lazy_Tom <[hidden email]> wrote:
>
> Sebastian Schöps wrote
>>
>> Lazy_Tom wrote
>>> when the octave 4.03 came out in .dmg the macPorts support was
>>> discontinued so I thought to remove the macPort version (keeping
>>> macPorts) and try the 4.03 on .dmg
>> How do you come to this conclusion? As far as I know the macports port is
>> still under heavy development. The most recent version is 4.0.3. and you
>> can get it here:
>> https://trac.macports.org/browser/trunk/dports/math/octave/Portfile 
>> If you were happy with macports, then there is no need to switch to the
>> app-bundle. The app-bundle is rather meant for beginners. If you get along
>> with macports I would recommend to continue using it.
>
> see the official octave website
> (https://www.gnu.org/software/octave/download.html) and the link they give
> for mac installation: http://wiki.octave.org/Octave_for_MacOS_X
> So, is the phrase  "macPorts approach abandoned" related to the tutorial
> only?? Now I'm confused, the text doesn't look clear, especially if you read
> the whole article :/
> Also, due to problems related to conflicts of other ports with Octave it was
> appealing moving to .dmg.
> Given your observations I might try to go back to macPorts.

Macports isn’t dropping support for Octave. It was Octave’s developers who dropped support for producing a dmg using Macports. The “official” website is for Octave and is not an indication of what the Macports community is supporting.

To obtain Octave via Macports, the Octave community has attempted to provide some simple instructions …

        http://wiki.octave.org/Octave_for_MacOS_X#MacPorts

… these instructions are *not* provided by the Macports community. The MarPorts community has their own website.

        http://www.macports.org

Ben
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Mike Miller-4
On Fri, Sep 16, 2016 at 20:46:19 -0400, Ben Abbott wrote:
> Macports isn’t dropping support for Octave. It was Octave’s developers
> who dropped support for producing a dmg using Macports. The “official”
> website is for Octave and is not an indication of what the Macports
> community is supporting.

I tried to make the wording on the Octave wiki a little more clear that
it is talking strictly about how the dmg bundle is created, not about
whether various packaging systems are useful in general or not.

--
mike

Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Sebastian Schöps
In reply to this post by Lazy_Tom
Lazy_Tom wrote
Also, due to problems related to conflicts of other ports with Octave it was appealing moving to .dmg.
Given your observations I might try to go back to macPorts.
You could also try homebrew or fink if macports is not working for you (all are equally good with individual pros and cons. I personally prefer homebrew). However, we can also try to help you with the dmg....

Please report the results of:

otool -L /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc1/lib/octave/4.2.0-rc1/liboctave.dylib

otool -L /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc1/lib/octave/4.2.0-rc1/liboctinterp.dylib

Sebastian
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Lazy_Tom
In reply to this post by Mike Miller-4
Mike Miller-4 wrote
On Fri, Sep 16, 2016 at 20:46:19 -0400, Ben Abbott wrote:
> Macports isn’t dropping support for Octave. It was Octave’s developers
> who dropped support for producing a dmg using Macports. The “official”
> website is for Octave and is not an indication of what the Macports
> community is supporting.
I tried to make the wording on the Octave wiki a little more clear that
it is talking strictly about how the dmg bundle is created, not about
whether various packaging systems are useful in general or not.

--
mike
Hi Mike,

thanks for the updating the link.

Cheers,

Marco
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Lazy_Tom
In reply to this post by bpabbott
bpabbott wrote
Macports isn’t dropping support for Octave. It was Octave’s developers who dropped support for producing a dmg using Macports. The “official” website is for Octave and is not an indication of what the Macports community is supporting.

To obtain Octave via Macports, the Octave community has attempted to provide some simple instructions …

        http://wiki.octave.org/Octave_for_MacOS_X#MacPorts

… these instructions are *not* provided by the Macports community. The MarPorts community has their own website.

        http://www.macports.org

Ben
Hi Ben

Thanks for clarifying,

Cheers,

Marco
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Lazy_Tom
In reply to this post by Sebastian Schöps
Sebastian Schöps wrote
Lazy_Tom wrote
Also, due to problems related to conflicts of other ports with Octave it was appealing moving to .dmg.
Given your observations I might try to go back to macPorts.
You could also try homebrew or fink if macports is not working for you (all are equally good with individual pros and cons. I personally prefer homebrew). However, we can also try to help you with the dmg....

Please report the results of:

otool -L /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc1/lib/octave/4.2.0-rc1/liboctave.dylib

otool -L /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc1/lib/octave/4.2.0-rc1/liboctinterp.dylib

Sebastian
Hi Sebastian,

Actually the first package manager that I used was Homebrew but unfortunately one of the apps that I was interested in was not present in it so I switched to macPorts :)

But going back to my problem, if macports does not interfere with the octave .dmg my first step would be to understand why the .dmg doesn't allow to install packages.

BTW, I'm using Yosemite at the moment. Do you recommend I upgrade to El Capitan before we start the debug?

About your request of running otool, the directories you required do not exist in my App. The directory that I found are

/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3

and going further:

/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/lib/octave/4.0.3/liboctave.dylib

with liboctave.dylib being a shortcut

The same observations hold for liboctinterp.dylib

Let me know,

Marco


Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Sebastian Schöps
Lazy_Tom wrote
Also, due to problems related to conflicts of other ports with Octave it was appealing moving to .dmg.
Given your observations I might try to go back to macPorts.
[...]
Let me know,

Marco
Dear Marco,

We are about to update the homebrew packages, is your problem still unsolved?

Seb.
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Lazy_Tom
Sebastian Schöps wrote
Lazy_Tom wrote
Also, due to problems related to conflicts of other ports with Octave it was appealing moving to .dmg.
Given your observations I might try to go back to macPorts.
[...]
Let me know,

Marco
Dear Marco,

We are about to update the homebrew packages, is your problem still unsolved?

Seb.
Dear Seb,

thanks for your email. Indeed the problem is still open, actually I was waiting for your comment on my last email.

But I went a little bit further and changing the directory this is what I got using your commands, please note that the path is different from what you requested.

otool -L /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc1/lib/octave/4.2.0-rc1/liboctave.dylib

/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/lib/octave/4.0.3/liboctave.dylib:
        /Applications/Octave.app/Contents/Resources/usr/opt/octave/lib/octave/4.0.3/liboctave.3.dylib (compatibility version 4.0.0, current version 4.2.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libsuitesparseconfig.4.5.3.dylib (compatibility version 4.0.0, current version 4.5.3)
        /Applications/Octave.app/Contents/Resources/usr/opt/metis/lib/libmetis.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 8.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libcholmod.3.0.11.dylib (compatibility version 3.0.0, current version 3.0.11)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libumfpack.5.7.6.dylib (compatibility version 5.0.0, current version 5.7.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libamd.2.4.6.dylib (compatibility version 2.0.0, current version 2.4.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libcamd.2.4.6.dylib (compatibility version 2.0.0, current version 2.4.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libcolamd.2.9.6.dylib (compatibility version 2.0.0, current version 2.9.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libccolamd.2.9.6.dylib (compatibility version 2.0.0, current version 2.9.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libcxsparse.3.1.9.dylib (compatibility version 3.0.0, current version 3.1.9)
        /Applications/Octave.app/Contents/Resources/usr/opt/arpack/libexec/lib/libarpack.2.dylib (compatibility version 3.0.0, current version 3.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/qrupdate/lib/libqrupdate.1.dylib (compatibility version 0.0.0, current version 0.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/fftw/lib/libfftw3_threads.3.dylib (compatibility version 8.0.0, current version 8.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/fftw/lib/libfftw3.3.dylib (compatibility version 8.0.0, current version 8.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/fftw/lib/libfftw3f_threads.3.dylib (compatibility version 8.0.0, current version 8.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/fftw/lib/libfftw3f.3.dylib (compatibility version 8.0.0, current version 8.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/veclibfort/lib/libvecLibFort.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/pcre/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.7.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
        /Applications/Octave.app/Contents/Resources/usr/opt/readline/lib/libreadline.6.dylib (compatibility version 6.0.0, current version 6.3.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/gcc/lib/gcc/6/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/gcc/lib/gcc/6/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
        /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (compatibility version 1.0.0, current version 4.0.0)

and this is what I got from:

otool -L /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/lib/octave/4.0.3/liboctinterp.dylib
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/lib/octave/4.0.3/liboctinterp.dylib:
        /Applications/Octave.app/Contents/Resources/usr/opt/octave/lib/octave/4.0.3/liboctinterp.3.dylib (compatibility version 5.0.0, current version 5.1.0)
        /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/lib/octave/4.0.3/liboctave.3.dylib (compatibility version 4.0.0, current version 4.2.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libsuitesparseconfig.4.5.3.dylib (compatibility version 4.0.0, current version 4.5.3)
        /Applications/Octave.app/Contents/Resources/usr/opt/metis/lib/libmetis.dylib (compatibility version 0.0.0, current version 0.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/hdf5/lib/libhdf5.10.dylib (compatibility version 12.0.0, current version 12.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/graphicsmagick/lib/libGraphicsMagick++.12.dylib (compatibility version 14.0.0, current version 14.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/graphicsmagick/lib/libGraphicsMagick.3.dylib (compatibility version 19.0.0, current version 19.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/xz/lib/liblzma.5.dylib (compatibility version 8.0.0, current version 8.2.0)
        /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
        /Applications/Octave.app/Contents/Resources/usr/opt/libtool/lib/libltdl.7.dylib (compatibility version 11.0.0, current version 11.1.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
        /Applications/Octave.app/Contents/Resources/usr/opt/fontconfig/lib/libfontconfig.1.dylib (compatibility version 10.0.0, current version 10.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/freetype/lib/libfreetype.6.dylib (compatibility version 19.0.0, current version 19.4.0)
        /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
        /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 157.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/gl2ps/lib/libgl2ps.1.dylib (compatibility version 1.0.0, current version 1.3.9)
        /usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current version 8.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libcholmod.3.0.11.dylib (compatibility version 3.0.0, current version 3.0.11)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libumfpack.5.7.6.dylib (compatibility version 5.0.0, current version 5.7.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libamd.2.4.6.dylib (compatibility version 2.0.0, current version 2.4.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libcamd.2.4.6.dylib (compatibility version 2.0.0, current version 2.4.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libcolamd.2.9.6.dylib (compatibility version 2.0.0, current version 2.9.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libccolamd.2.9.6.dylib (compatibility version 2.0.0, current version 2.9.6)
        /Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib/libcxsparse.3.1.9.dylib (compatibility version 3.0.0, current version 3.1.9)
        /Applications/Octave.app/Contents/Resources/usr/opt/arpack/libexec/lib/libarpack.2.dylib (compatibility version 3.0.0, current version 3.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/qrupdate/lib/libqrupdate.1.dylib (compatibility version 0.0.0, current version 0.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/fftw/lib/libfftw3_threads.3.dylib (compatibility version 8.0.0, current version 8.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/fftw/lib/libfftw3.3.dylib (compatibility version 8.0.0, current version 8.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/fftw/lib/libfftw3f_threads.3.dylib (compatibility version 8.0.0, current version 8.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/fftw/lib/libfftw3f.3.dylib (compatibility version 8.0.0, current version 8.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/veclibfort/lib/libvecLibFort.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/pcre/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.7.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/readline/lib/libreadline.6.dylib (compatibility version 6.0.0, current version 6.3.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/gcc/lib/gcc/6/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)
        /Applications/Octave.app/Contents/Resources/usr/opt/gcc/lib/gcc/6/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
        /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (compatibility version 1.0.0, current version 4.0.0)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1256.14.0)
        /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 600.0.0)

let me know if you need anything else

Best regards,

Marco
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Sebastian Schöps
Dear Marco,

I made a new dmg (recent octave 4.2.0rc2, qt5) that should have better compatibility with recent xcode versions. Do you want to try?

https://dl.dropboxusercontent.com/u/2079838/octave_gui_420rc2_appleblas.dmg

Sebastian
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Lazy_Tom
Sebastian Schöps wrote
Dear Marco,

I made a new dmg (recent octave 4.2.0rc2, qt5) that should have better compatibility with recent xcode versions. Do you want to try?

https://dl.dropboxusercontent.com/u/2079838/octave_gui_420rc2_appleblas.dmg

Sebastian
Dear Sebastian,

Thanks a lot! I've tried your new build and I have to say Octave is more stable now (no weird terminal popup anymore) but I sill have some problems with packages. In detail, I installed control package with

pkg install control -forge

and, with some warning which I assume should not be a problem, it worked (see details below).

However, trying

pkg install odepkg -forge gave errors (see below). Let me know if you need more details.

Cheers,

Marco

pkg install control -forge
In file included from __control_helper_functions__.cc:7:
./lti_input_idx.cc:65:48: warning: 'nelem' is deprecated [-Wdeprecated-declarations]
    octave_idx_type len = args(0).cell_value().nelem();
                                               ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:360:19: note:
      'nelem' has been explicitly marked deprecated here
  octave_idx_type nelem (void) const { return numel (); }
                  ^
1 warning generated.
clang: warning: argument unused during compilation: '-pthread'
In file included from __control_slicot_functions__.cc:24:
./sl_tg04bx.cc:79:33: warning: 'length' is deprecated [-Wdeprecated-declarations]
        octave_idx_type ip = pr.length ();  // ip: number of finite poles
                                ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19: note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
In file included from __control_slicot_functions__.cc:24:
./sl_tg04bx.cc:80:33: warning: 'length' is deprecated [-Wdeprecated-declarations]
        octave_idx_type iz = zr.length ();  // iz: number of zeros
                                ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19: note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
In file included from __control_slicot_functions__.cc:42:
./sl_ident.cc:184:40: warning: 'nelem' is deprecated [-Wdeprecated-declarations]
        octave_idx_type n_exp = y_cell.nelem ();            // number of experiments
                                       ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:360:19: note:
      'nelem' has been explicitly marked deprecated here
  octave_idx_type nelem (void) const { return numel (); }
                  ^
In file included from __control_slicot_functions__.cc:43:
./sl_ib01cd.cc:97:40: warning: 'nelem' is deprecated [-Wdeprecated-declarations]
        octave_idx_type n_exp = y_cell.nelem ();            // number of experiments
                                       ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:360:19: note:
      'nelem' has been explicitly marked deprecated here
  octave_idx_type nelem (void) const { return numel (); }
                  ^
In file included from __control_slicot_functions__.cc:44:
./sl_ib01ad.cc:148:40: warning: 'nelem' is deprecated [-Wdeprecated-declarations]
        octave_idx_type n_exp = y_cell.nelem ();            // number of experiments
                                       ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:360:19: note:
      'nelem' has been explicitly marked deprecated here
  octave_idx_type nelem (void) const { return numel (); }
                  ^
5 warnings generated.
clang: warning: argument unused during compilation: '-pthread'
ld: warning: could not create compact unwind for _sb10yd_: stack subq instruction is too different from dwarf stack size
ld: warning: could not create compact unwind for _mb03xp_: stack subq instruction is too different from dwarf stack size
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146: Unknown command `guillemetleft'.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146: Misplaced {.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146: Misplaced }.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146: Unknown command `guillemetright'.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146: Misplaced {.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-xQ1cXz:146: Misplaced }.
warning: doc_cache_create: unusable help text found in file 'margin'
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252: Unknown command `guillemetleft'.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252: Misplaced {.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252: Misplaced }.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252: Unknown command `guillemetright'.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252: Misplaced {.
/var/folders/gd/5pzpr3s979vbtdwyb0sy2rd00000gn/T/octave-help-HFjJgC:252: Misplaced }.
warning: doc_cache_create: unusable help text found in file 'optiPID'
For information about changes from previous versions of the control package, run 'news control'.


pkg install odepkg -forge
In file included from odepkg_octsolver_mebdfdae.cc:42:
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/config.h:28:2: warning:
      "config.h has been deprecated; there is no need to include it directly" [-W#warnings]
#warning "config.h has been deprecated; there is no need to include it directly"
 ^
odepkg_octsolver_mebdfdae.cc:85:18: error: unknown type name 'GCC_ATTR_UNUSED'
   double* YDOT, GCC_ATTR_UNUSED const octave_idx_type* IPAR,
                 ^
odepkg_octsolver_mebdfdae.cc:85:34: error: expected ')'
   double* YDOT, GCC_ATTR_UNUSED const octave_idx_type* IPAR,
                                 ^
odepkg_octsolver_mebdfdae.cc:84:3: note: to match this '('
  (const octave_idx_type& N, const double& T, const double* Y,
  ^
odepkg_octsolver_mebdfdae.cc:113:4: error: unknown type name 'GCC_ATTR_UNUSED'
   GCC_ATTR_UNUSED const octave_idx_type& MEBAND, GCC_ATTR_UNUSED const octave_idx_type* IPAR,
   ^
odepkg_octsolver_mebdfdae.cc:113:20: error: expected ')'
   GCC_ATTR_UNUSED const octave_idx_type& MEBAND, GCC_ATTR_UNUSED const octave_idx_type* IPAR,
                   ^
odepkg_octsolver_mebdfdae.cc:112:3: note: to match this '('
  (const double& T, const double* Y, double* PD, const octave_idx_type& N,
  ^
odepkg_octsolver_mebdfdae.cc:145:4: error: unknown type name 'GCC_ATTR_UNUSED'
   GCC_ATTR_UNUSED const octave_idx_type* MASBND, GCC_ATTR_UNUSED const double* RPAR,
   ^
odepkg_octsolver_mebdfdae.cc:145:20: error: expected ')'
   GCC_ATTR_UNUSED const octave_idx_type* MASBND, GCC_ATTR_UNUSED const double* RPAR,
                   ^
odepkg_octsolver_mebdfdae.cc:144:3: note: to match this '('
  (const octave_idx_type& N, double* AM,
  ^
odepkg_octsolver_mebdfdae.cc:563:29: warning: 'length' is deprecated [-Wdeprecated-declarations]
  double TEND = vTIME(vTIME.length ()-1);
                            ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19: note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:618:13: warning: 'length' is deprecated [-Wdeprecated-declarations]
  if (vTIME.length () == 2) {
            ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19: note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:655:41: warning: 'length' is deprecated [-Wdeprecated-declarations]
            vtim = vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
                                        ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19: note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:655:62: warning: 'length' is deprecated [-Wdeprecated-declarations]
            vtim = vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
                                                             ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19: note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:671:38: warning: 'length' is deprecated [-Wdeprecated-declarations]
    octave_idx_type vtimelen = vTIME.length ();
                                     ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19: note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:702:41: warning: 'length' is deprecated [-Wdeprecated-declarations]
            vtim = vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
                                        ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19: note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
odepkg_octsolver_mebdfdae.cc:702:62: warning: 'length' is deprecated [-Wdeprecated-declarations]
            vtim = vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
                                                             ^
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/include/octave-4.2.0-rc2/octave/Array.h:354:19: note:
      'length' has been explicitly marked deprecated here
  octave_idx_type length (void) const { return numel (); }
                  ^
8 warnings and 6 errors generated.
make: *** [odepkg_octsolver_mebdfdae.o] Error 1
Unpacking external packages: hairer.tgz
Unpacking external packages: cash.tgz
Unpacking external packages: daskr.tgz
Applying patches from file: hairer.diff
Applying patches from file: cash.diff
(Stripping trailing CRs from patch.)
patching file cash/mebdfdae.f
(Stripping trailing CRs from patch.)
patching file cash/mebdfi.f
Applying patches from file: daskr.diff
(Stripping trailing CRs from patch.)
patching file daskr/ddaskr.f
(Stripping trailing CRs from patch.)
patching file daskr/dlinpk.f
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.2.0-rc2_1/bin/mkoctfile-4.2.0-rc2 -c odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o

pkg: error running `make' for the odepkg package.
error: called from
    install at line 200 column 5
    pkg at line 392 column 9
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Lazy_Tom
In reply to this post by Sebastian Schöps
Sebastian Schöps wrote
Dear Marco,

I made a new dmg (recent octave 4.2.0rc2, qt5) that should have better compatibility with recent xcode versions. Do you want to try?

https://dl.dropboxusercontent.com/u/2079838/octave_gui_420rc2_appleblas.dmg

Sebastian
Hi Sebastian,

further feedback about the build, I have just found out that Octave doesn't want to quit and it's quite nasty, I can't close the gui even using forced exit button on the process.

Let me know,

Marco
c.
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

c.
In reply to this post by Lazy_Tom

On 22 Oct 2016, at 17:31, Lazy_Tom <[hidden email]> wrote:

> Dear Sebastian,
>
> Thanks a lot! I've tried your new build and I have to say Octave is more
> stable now (no weird terminal popup anymore) but I sill have some problems
> with packages. In detail, I installed control package with
>
> pkg install control -forge
>
> and, with some warning which I assume should not be a problem, it worked
> (see details below).
>
> However, trying
>
> pkg install odepkg -forge gave errors (see below). Let me know if you need
> more details.
>
> Cheers,
>
> Marco

Marco,

That's not a problem with the macOS binary.

It is known that the current release of odepkg
does not work with Octave 4.2.

A new version of odepkg that is compatible with
Octave 4.2 will be released soon, though.

c.



Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Lazy_Tom
c. wrote
On 22 Oct 2016, at 17:31, Lazy_Tom <[hidden email]> wrote:

Marco,

That's not a problem with the macOS binary.

It is known that the current release of odepkg
does not work with Octave 4.2.

A new version of odepkg that is compatible with
Octave 4.2 will be released soon, though.

c.
Hi C.

oooops, I wasn't aware of it, my bad. Thanks for the update

Marco
Reply | Threaded
Open this post in threaded view
|

Re: octave forge packages on a mac

Eric Barth
In reply to this post by c.
I also have this problem.  I'm eager to use Octave 4.x with odepkg with my students in Ordinary Differential Equations class next term.  The key stumbling block is always ease-of-installation for mac users.

Is it workable for one of you kind developers to use pkg build and make an odepkg binary that mac using students can download along with Octave, thereby saving the added hassle for these novice users of compiling the package?

Thank you in advance for your kind consideration,
Eric Barth

On Sat, Oct 22, 2016 at 3:18 PM c. <[hidden email]> wrote:

On 22 Oct 2016, at 17:31, Lazy_Tom <[hidden email]> wrote:

> Dear Sebastian,
>
> Thanks a lot! I've tried your new build and I have to say Octave is more
> stable now (no weird terminal popup anymore) but I sill have some problems
> with packages. In detail, I installed control package with
>
> pkg install control -forge
>
> and, with some warning which I assume should not be a problem, it worked
> (see details below).
>
> However, trying
>
> pkg install odepkg -forge gave errors (see below). Let me know if you need
> more details.
>
> Cheers,
>
> Marco

Marco,

That's not a problem with the macOS binary.

It is known that the current release of odepkg
does not work with Octave 4.2.

A new version of odepkg that is compatible with
Octave 4.2 will be released soon, though.

c.



12