Mac OS install control pkg 3.1.0

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

Mac OS install control pkg 3.1.0

rcarroll
Hi,

I am trying to use the signal package with Octave-gui 4.0.3 running on OS X 10.13.4.

When I try to install the signal-1.3.2 package, I get an error saying I do not have control >= 2.4.5.
I obtained the control-3.1.0.tar file from Octave forge.

Trying to install that throws the errors listed below:

octave:4> pkg install control-3.1.0.tar
clang: warning: -lsuitesparseconfig: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lmetis: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib' [-Wunused-command-line-argument]
<built-in>: internal compiler error: Illegal instruction: 4

<built-in>: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
make: *** [slicotlibrary.a] Error 4
make: *** Waiting for unfinished jobs....
tar -xzf slicot.tar.gz
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 -c *.f

pkg: error running `make' for the control 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
octave:4> 

Any suggestions would be appreciated.

r


Reply | Threaded
Open this post in threaded view
|

Re: Mac OS install control pkg 3.1.0

Marius Schamschula-5
Robert,

See the MacPorts patch @

https://github.com/macports/macports-ports/blob/master/math/octave-control/files/patch-src-Makefile.diff

On Apr 8, 2018, at 6:47 PM, Robert Carroll <[hidden email]> wrote:

Hi,

I am trying to use the signal package with Octave-gui 4.0.3 running on OS X 10.13.4.

When I try to install the signal-1.3.2 package, I get an error saying I do not have control >= 2.4.5.
I obtained the control-3.1.0.tar file from Octave forge.

Trying to install that throws the errors listed below:

octave:4> pkg install control-3.1.0.tar
clang: warning: -lsuitesparseconfig: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lmetis: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib' [-Wunused-command-line-argument]
<built-in>: internal compiler error: Illegal instruction: 4

<built-in>: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
make: *** [slicotlibrary.a] Error 4
make: *** Waiting for unfinished jobs....
tar -xzf slicot.tar.gz
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 -c *.f

pkg: error running `make' for the control 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
octave:4> 

Any suggestions would be appreciated.

r




Marius
--
Marius Schamschula





Reply | Threaded
Open this post in threaded view
|

Re: Mac OS install control pkg 3.1.0

rcarroll
Hi,

Thank you for your reply.

I downloaded the patch file and manually applied the patch as per the instructions here: https://guide.macports.org/chunked/development.patches.html#development.patches.applying
This seemed to work. The file modification date changed, and no errors where displayed.

After rebuilding a new tar archive for the patched control-3.1.0, I tried again to install the control package by running the command line version of Octave,

This is still throwing the same errors as before:

octave:2> pkg install control-3.1.0.tar
clang: warning: -lsuitesparseconfig: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lmetis: 'linker' input unused [-Wunused-command-line-argument]
<built-in>: internal compiler error: Illegal instruction: 4

<built-in>: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
make: *** [slicotlibrary.a] Error 4
make: *** Waiting for unfinished jobs....
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib' [-Wunused-command-line-argument]
tar -xzf slicot.tar.gz
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 __control_helper_functions__.cc
sed -i '.orig' 's/DGEGS/DGGES/g' slicot/src/SG03AD.f slicot/src/SG03BD.f
sed -i '.orig' 's/DLATZM/DORMRZ/g' slicot/src/AB08NX.f slicot/src/AG08BY.f slicot/src/SB01BY.f slicot/src/SB01FY.f
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 -c *.f

pkg: error running `make' for the control 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
octave:2> 

regards,

rob


On Apr 9, 2018, at 10:27 AM, Marius Schamschula <[hidden email]> wrote:

Robert,

See the MacPorts patch @

https://github.com/macports/macports-ports/blob/master/math/octave-control/files/patch-src-Makefile.diff

On Apr 8, 2018, at 6:47 PM, Robert Carroll <[hidden email]> wrote:

Hi,

I am trying to use the signal package with Octave-gui 4.0.3 running on OS X 10.13.4.

When I try to install the signal-1.3.2 package, I get an error saying I do not have control >= 2.4.5.
I obtained the control-3.1.0.tar file from Octave forge.

Trying to install that throws the errors listed below:

octave:4> pkg install control-3.1.0.tar
clang: warning: -lsuitesparseconfig: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lmetis: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib' [-Wunused-command-line-argument]
<built-in>: internal compiler error: Illegal instruction: 4

<built-in>: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
make: *** [slicotlibrary.a] Error 4
make: *** Waiting for unfinished jobs....
tar -xzf slicot.tar.gz
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 -c *.f

pkg: error running `make' for the control 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
octave:4> 

Any suggestions would be appreciated.

r




Marius
--
Marius Schamschula






Reply | Threaded
Open this post in threaded view
|

Re: Mac OS install control pkg 3.1.0

Marius Schamschula-5

Robert,

Sometimes the response it too quick. In this case the problem isn’t with your octave control package, but with your fortran compiler. This is an issue you will have to raise with the Homebrew folks.

On Apr 9, 2018, at 3:48 PM, Robert Carroll <[hidden email]> wrote:

Hi,

Thank you for your reply.

I downloaded the patch file and manually applied the patch as per the instructions here: https://guide.macports.org/chunked/development.patches.html#development.patches.applying
This seemed to work. The file modification date changed, and no errors where displayed.

After rebuilding a new tar archive for the patched control-3.1.0, I tried again to install the control package by running the command line version of Octave,

This is still throwing the same errors as before:

octave:2> pkg install control-3.1.0.tar
clang: warning: -lsuitesparseconfig: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lmetis: 'linker' input unused [-Wunused-command-line-argument]
<built-in>: internal compiler error: Illegal instruction: 4

<built-in>: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
make: *** [slicotlibrary.a] Error 4
make: *** Waiting for unfinished jobs....
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib' [-Wunused-command-line-argument]
tar -xzf slicot.tar.gz
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 __control_helper_functions__.cc
sed -i '.orig' 's/DGEGS/DGGES/g' slicot/src/SG03AD.f slicot/src/SG03BD.f
sed -i '.orig' 's/DLATZM/DORMRZ/g' slicot/src/AB08NX.f slicot/src/AG08BY.f slicot/src/SB01BY.f slicot/src/SB01FY.f
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 -c *.f

pkg: error running `make' for the control 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
octave:2> 

regards,

rob


On Apr 9, 2018, at 10:27 AM, Marius Schamschula <[hidden email]> wrote:

Robert,

See the MacPorts patch @

https://github.com/macports/macports-ports/blob/master/math/octave-control/files/patch-src-Makefile.diff

On Apr 8, 2018, at 6:47 PM, Robert Carroll <[hidden email]> wrote:

Hi,

I am trying to use the signal package with Octave-gui 4.0.3 running on OS X 10.13.4.

When I try to install the signal-1.3.2 package, I get an error saying I do not have control >= 2.4.5.
I obtained the control-3.1.0.tar file from Octave forge.

Trying to install that throws the errors listed below:

octave:4> pkg install control-3.1.0.tar
clang: warning: -lsuitesparseconfig: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lmetis: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib' [-Wunused-command-line-argument]
<built-in>: internal compiler error: Illegal instruction: 4

<built-in>: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
make: *** [slicotlibrary.a] Error 4
make: *** Waiting for unfinished jobs....
tar -xzf slicot.tar.gz
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 -c *.f

pkg: error running `make' for the control 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
octave:4> 

Any suggestions would be appreciated.

r




Marius
--
Marius Schamschula


Marius
--
Marius Schamschula





Reply | Threaded
Open this post in threaded view
|

Re: Mac OS install control pkg 3.1.0

rcarroll
Thanks.

Installing the gfortran compiler and then running setenv (‘F77’, usr/local/bin/gfortran’) resolved this issue.

regards,

rob



On Apr 9, 2018, at 4:56 PM, Marius Schamschula <[hidden email]> wrote:


Robert,

Sometimes the response it too quick. In this case the problem isn’t with your octave control package, but with your fortran compiler. This is an issue you will have to raise with the Homebrew folks.

On Apr 9, 2018, at 3:48 PM, Robert Carroll <[hidden email]> wrote:

Hi,

Thank you for your reply.

I downloaded the patch file and manually applied the patch as per the instructions here: https://guide.macports.org/chunked/development.patches.html#development.patches.applying
This seemed to work. The file modification date changed, and no errors where displayed.

After rebuilding a new tar archive for the patched control-3.1.0, I tried again to install the control package by running the command line version of Octave,

This is still throwing the same errors as before:

octave:2> pkg install control-3.1.0.tar
clang: warning: -lsuitesparseconfig: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lmetis: 'linker' input unused [-Wunused-command-line-argument]
<built-in>: internal compiler error: Illegal instruction: 4

<built-in>: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
make: *** [slicotlibrary.a] Error 4
make: *** Waiting for unfinished jobs....
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib' [-Wunused-command-line-argument]
tar -xzf slicot.tar.gz
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 __control_helper_functions__.cc
sed -i '.orig' 's/DGEGS/DGGES/g' slicot/src/SG03AD.f slicot/src/SG03BD.f
sed -i '.orig' 's/DLATZM/DORMRZ/g' slicot/src/AB08NX.f slicot/src/AG08BY.f slicot/src/SB01BY.f slicot/src/SB01FY.f
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 -c *.f

pkg: error running `make' for the control 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
octave:2> 

regards,

rob


On Apr 9, 2018, at 10:27 AM, Marius Schamschula <[hidden email]> wrote:

Robert,

See the MacPorts patch @

https://github.com/macports/macports-ports/blob/master/math/octave-control/files/patch-src-Makefile.diff

On Apr 8, 2018, at 6:47 PM, Robert Carroll <[hidden email]> wrote:

Hi,

I am trying to use the signal package with Octave-gui 4.0.3 running on OS X 10.13.4.

When I try to install the signal-1.3.2 package, I get an error saying I do not have control >= 2.4.5.
I obtained the control-3.1.0.tar file from Octave forge.

Trying to install that throws the errors listed below:

octave:4> pkg install control-3.1.0.tar
clang: warning: -lsuitesparseconfig: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lmetis: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/suite-sparse/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Octave.app/Contents/Resources/usr/opt/metis/lib' [-Wunused-command-line-argument]
<built-in>: internal compiler error: Illegal instruction: 4

<built-in>: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
make: *** [slicotlibrary.a] Error 4
make: *** Waiting for unfinished jobs....
tar -xzf slicot.tar.gz
/Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 __control_helper_functions__.cc
mkdir sltmp
mv slicot/src/*.f ./sltmp
mv slicot/src_aux/*.f ./sltmp
cp TG04BX.fortran ./sltmp/TG04BX.f
cp TB01ZD.fortran ./sltmp/TB01ZD.f
cd sltmp; /Applications/Octave.app/Contents/Resources/usr/Cellar/octave/4.0.3/bin/mkoctfile-4.0.3 -c *.f

pkg: error running `make' for the control 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
octave:4> 

Any suggestions would be appreciated.

r




Marius
--
Marius Schamschula


Marius
--
Marius Schamschula