[MacPorts] #46030: octave-mechanics 1.3.1
#46030: octave-mechanics 1.3.1 ---------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: haspatch maintainer | Port: octave-mechanics ---------------------------------+-------------------------------- I've added a port ofoctave-mechanics 1.3.1. {{{ Library with functions useful for numerical computation in classical mechanics and structural analysis. }}} -- Ticket URL: <https://trac.macports.org/ticket/46030> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Changes (by mf2k@…): * keywords: haspatch maintainer => * version: 2.3.3 => -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Comment (by khindenburg@…): I can't get the dependencies to build - do you have octave 4.0+ installed? I have octave 3.8 {{{ error: the following dependencies were unsatisfied: linear-algebra needs octave >= 4.0.0 Command failed: /opt/local/bin/octave -q -f --eval 'pkg prefix /opt/local/share/octave/packages /opt/local/lib/octave/packages; pkg install -verbose -global /opt/local/share/octave/linear-algebra.tar.gz' Exit code: 1 Error: Failed to activate octave-linear-algebra: command execution failed }}} -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Comment (by mschamschula@…): Nope. When I first built octave-mechanics 1.3.1 last November, I was running standard MP octave 3.8.2 under Mavericks. Yesterday, I rebuilt octave-mechanics under octave @3.8.2_7+atlas+gcc49+glgui+gui+metis+qtgui on a freshly updated machine running Yosemite. -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Comment (by khindenburg@…): very strange - not sure what's going on {{{ error: the following dependencies were unsatisfied: mechanics needs linear-algebra >= 2.0.0 }}} {{{ The following ports are currently installed: octave-linear-algebra @2.2.2_0 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Comment (by mschamschula@…): I think the problem is with octave-linear-algebra @2.2.2_0. In order to get that installed octave-mechanics, I had to manually downgrade back to @2.2.1_0 I'm not sure how Michael D. got @2.2.2_0 to build before he committed https://trac.macports.org/changeset/134755 -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Changes (by khindenburg@…): * cc: michaelld@… (added) Comment: Michaell, how did you get octave-linear-algebra @2.2.2 to build? -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Comment (by michaelld@…): o-l-a 2.2.2 just built for me nicely. I'm running 10.8. One of the buildbots caught a strange linking issue with the Fortran libraries, but I'm not sure if that makes any real difference. Looking at the NEWS for this archive: {{{ % more NEWS Summary of important user-visible changes for linear-algebra 2.2.2: ------------------------------------------------------------------- ** Several functions have been adapted to the new core-Octave "ismatrix" behavior (the latter only checks for 2D size, not class). To this end all input matrices are checked against the "isnumeric" function. The linear-algebra package is expected to still work for older Octave versions than 4.0.0 as this "isnumeric" check is only additional. ** nmf_* functions use inputParser from Octave 4.0.0. They won't work with older versions. ** The interface of mnf_bpas has been simplified. The option 'verbose' is now a swtich and it doesn't require a value. The History of the calculations IS stored and returned only if the 4th output argument is requested. }}} So, this version should still work with our current Octave 3.7.2. -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Comment (by michaelld@…): It is interesting that in the top-level DESCRIPTION file, there is this little item: {{{ Depends: octave (>= 4.0.0) }}} so ... I don't think it should be building using Octave 3.8.2. That's an easy patch, of course ;) -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Comment (by michaelld@…): OK; yeah. Something is going on. OLA builds for me, but after installing it does not load. -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Comment (by michaelld@…): I just pushed r134952, which fixes OLA to work for me on Octave 3.8.2 and OSX 10.8. "pkg load" now works too, so hopefully OLA will now be available for any other Octave-* ports that need to depend on it. -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: Thanks - side note, I typically use -t (trace) and all the other octave-* work fine - it fails building ola (ld: library not found for -lgfortran) - works fine w/o -t done r134954 -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#46030: octave-mechanics 1.3.1 -------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: octave-mechanics | -------------------------------+-------------------------------- Comment (by michaelld@…): Thanks for that note on OLA. I think it needs access to GCC libraries, which won't stay around in trace mode. I'll look into this next week. -- Ticket URL: <https://trac.macports.org/ticket/46030#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts