Installing odepkg in Octave_cli ver. 3.8.0

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing odepkg in Octave_cli ver. 3.8.0

OrbitalMechanic

I'm attempting to install version xxx of the ODE package, odepkg, into
version 3.8.0 of the Octave_cli.app on my MacBook Pro running OS X ver.
10.10.5. I got the following output in my attempt to install odepkg.



GNU Octave, version 3.8.0
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-apple-darwin13.0.0".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

warning: /Users/user/octave/integration-1.0.7/PKG_ADD: possible
Matlab-style short-circuit operator at line 9, column 32
warning: function /Users/user/octave/plot-1.0.8/colstyle.m shadows a
core library function
octave:1> pkg install -forge odepkg
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0: line 512: 2457 Segmentation
fault: 11 /usr/local/octave/3.8.0/bin/g++-mp-4.7 -c -fPIC
-I/usr/local/octave/3.8.0/include/octave-3.8.0/octave/..
-I/usr/local/octave/3.8.0/include/octave-3.8.0/octave
-I/usr/local/octave/3.8.0/include -pipe -Os -m64 -D_THREAD_SAFE -pthread
odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
make: *** [odepkg_octsolver_mebdfdae.o] Error 139
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
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0 -c
odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o

pkg: error running `make' for the odepkg package.
error: called from 'configure_make' in file
/usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/configure_make.m near
line 82, column 9
error: called from:
error:
/usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/install.m at
line 199, column 5
error: /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/pkg.m at line
394, column 9
octave:1>


Any ideas?

Sam Dupree.




_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Installing odepkg in Octave_cli ver. 3.8.0

Sebastian Schöps
OrbitalMechanic wrote
 
octave:1> pkg install -forge odepkg
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0: line 512: 2457 Segmentation
fault: 11 /usr/local/octave/3.8.0/bin/g++-mp-4.7 -c -fPIC
-I/usr/local/octave/3.8.0/include/octave-3.8.0/octave/..
-I/usr/local/octave/3.8.0/include/octave-3.8.0/octave
-I/usr/local/octave/3.8.0/include -pipe -Os -m64 -D_THREAD_SAFE -pthread
odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
make: *** [odepkg_octsolver_mebdfdae.o] Error 139
The problem seems not to be odepkg but the interplay between octave and the compiler (gcc). Did you install Octave via the dmg from octave-forge? I am afraid this build is outdated and I am surprised that it is working at all on 10.10.

Did you ever consider to use a package manager (homebrew, macports or fink)? If yes, they are currently the best option to get a working octave installation.

Sebastian
Reply | Threaded
Open this post in threaded view
|

Re: Installing odepkg in Octave_cli ver. 3.8.0

OrbitalMechanic
Sebastian,

Thank you for responding so quickly. Yes I did install Octave from the .dmg file on octave-forge. If I have to install it from a package manager, the best option for me is install Octave using Fink. Any particular option/options I should select?

Sam Dupree.


On 08/24/2015 09:22:24, Sebastian Schöps wrote:
OrbitalMechanic wrote
 
octave:1> pkg install -forge odepkg
/usr/local/octave/3.8.0/bin/mkoctfile-3.8.0: line 512: 2457 Segmentation 
fault: 11 /usr/local/octave/3.8.0/bin/g++-mp-4.7 -c -fPIC 
-I/usr/local/octave/3.8.0/include/octave-3.8.0/octave/.. 
-I/usr/local/octave/3.8.0/include/octave-3.8.0/octave 
-I/usr/local/octave/3.8.0/include -pipe -Os -m64 -D_THREAD_SAFE -pthread 
odepkg_octsolver_mebdfdae.cc -o odepkg_octsolver_mebdfdae.o
make: *** [odepkg_octsolver_mebdfdae.o] Error 139
The problem seems not to be odepkg but the interplay between octave and the
compiler (gcc). Did you install Octave via the dmg from octave-forge? I am
afraid this build is outdated and I am surprised that it is working at all
on 10.10. 

Did you ever consider to use a package manager (homebrew, macports or fink)?
If yes, they are currently the best option to get a working octave
installation. 

Sebastian



--
View this message in context: http://octave.1599824.n4.nabble.com/Installing-odepkg-in-Octave-cli-ver-3-8-0-tp4672247p4672254.html
Sent from the Octave - General mailing list archive at Nabble.com.

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave



--
mail-signature

               
   Samuel H. Dupree, Jr.               [hidden email]
   10501 Rising Ridge Road
   Apartment 201                                                http://users.speakeasy.net/~sdupree/
   Fredericksburg, VA 22407, USA

    HOME: 540-693-1240            WORK: 540-653-6509                FAX: 866-514-9629

          "The Greatest Show on Earth" is not on Earth. It's in Space!  



_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Installing odepkg in Octave_cli ver. 3.8.0

Alexander Hansen-2


> On Aug 24, 2015, at 09:47, Samuel Dupree <[hidden email]> wrote:
>
> Sebastian,
>
> Thank you for responding so quickly. Yes I did install Octave from the .dmg file on octave-forge. If I have to install it from a package manager, the best option for me is install Octave using Fink. Any particular option/options I should select?
>
> Sam Dupree.
>
>

I need to post a matrix for these, but here’s a summary.  The Octave-3.8.2 package in Fink has the following options.

octave[BLAS/LAPACK implementation][FLTK graphics toolkit][Qt GUI options]

The BLAS/LAPACK implementations are:

(nothing): Use Apple’s Accelerate framework. My understanding is that some problems with this have been fixed as of 10.10.

-ref: Use an unoptimized BLAS/LAPACK.  The author of the Octave Forge control package found that this option worked better for that package.

-atlas: Use ATLAS.

The FLTK toolkit options are:

(nothing): Use native FLTK graphics.

-x11: Use X11-based FLTK graphics.

The Qt GUI options are:

(nothing): No Qt GUI

-qtmac: Build the GUI to use native Qt graphics.

-qtx11: Build the GUI to use X11 Qt graphics.


So, for example, if you want to use ATLAS and have a native GUI and native FLTK, you’d use:

fink install octave-atlas-qtmac odepkg-atlas-oct382

--
Alexander Hansen, Ph.D.
Fink User Liaison


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: Installing odepkg in Octave_cli ver. 3.8.0

Sebastian Schöps
In reply to this post by OrbitalMechanic
> Thank you for responding so quickly. Yes I did install Octave from the .dmg file on octave-forge. If I have to install it from a package manager, the best option for me is install Octave using Fink. Any particular option/options I should select?

I am not experienced with fink (used macports before, now homebrew). I know that Ben created a build script for Octave 4 based on fink. See the thread "Octave 4.0 on Mac OS Yosemite (with gui!)". I attach his files for your convenience.


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

for Alexander.zip (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Installing odepkg in Octave_cli ver. 3.8.0

bpabbott
Administrator
In reply to this post by Alexander Hansen-2
> On Aug 24, 2015, at 2:04 PM, Alexander Hansen <[hidden email]> wrote:

>
>> On Aug 24, 2015, at 09:47, Samuel Dupree <[hidden email]> wrote:
>>
>> Sebastian,
>>
>> Thank you for responding so quickly. Yes I did install Octave from the .dmg file on octave-forge. If I have to install it from a package manager, the best option for me is install Octave using Fink. Any particular option/options I should select?
>>
>> Sam Dupree.
>
> I need to post a matrix for these, but here’s a summary.  The Octave-3.8.2 package in Fink has the following options.
>
> octave[BLAS/LAPACK implementation][FLTK graphics toolkit][Qt GUI options]
>
> The BLAS/LAPACK implementations are:
>
> (nothing): Use Apple’s Accelerate framework. My understanding is that some problems with this have been fixed as of 10.10.
>
> -ref: Use an unoptimized BLAS/LAPACK.  The author of the Octave Forge control package found that this option worked better for that package.
>
> -atlas: Use ATLAS.
>
> The FLTK toolkit options are:
>
> (nothing): Use native FLTK graphics.
>
> -x11: Use X11-based FLTK graphics.
>
> The Qt GUI options are:
>
> (nothing): No Qt GUI
>
> -qtmac: Build the GUI to use native Qt graphics.
>
> -qtx11: Build the GUI to use X11 Qt graphics.
>
>
> So, for example, if you want to use ATLAS and have a native GUI and native FLTK, you’d use:
>
> fink install octave-atlas-qtmac odepkg-atlas-oct382
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
HI Alex,

I’ve attached the scripts/patches I use to build the current developer’s sources. Maybe they will be helpful for updating Fink’s Octave to 4.0.0?

They work for me on Yosemite and expect they will also work on Mavericks. I’m worried that they will not work on earlier versions.

I use these files for development purposes only. Running “make install” would be a big mistake as it will likely corrupt the Fink installation.

Ben






_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave

for fink.zip (24K) Download Attachment