octave-maintainers
[Top][All Lists]
Advanced

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

Re: 3rd pass for Octave-3.6.1 app (X86_64 only) bundle for MacOS


From: Ben Abbott
Subject: Re: 3rd pass for Octave-3.6.1 app (X86_64 only) bundle for MacOS
Date: Mon, 07 May 2012 17:02:19 -0400

On May 7, 2012, at 2:07 PM, David Bourgeois wrote:

> On Mon, May 7, 2012 at 6:57 PM, Ben Abbott <address@hidden> wrote:
>> 
>> On May 7, 2012, at 11:06 AM, David Bourgeois wrote:
>> 
>>> Hi Ben,
>>> 
>>> I tested your Octave-X86_64-3.6.1.dmg 3rd RC and have seen a problem
>>> when I try to plot with x11:
>>> 
>>> octave-3.6.1:2> setenv GNUTERM "x11"
>>> octave-3.6.1:3> sombrero ()
>>> Expected X11 driver: /opt/local/libexec/gnuplot/4.4/gnuplot_x11
>>> Exec failed: No such file or directory
>>> See 'help x11' for more details
>>> 
>>> I then added a symlink to the embedded gnuplot like this: sudo ln -s
>>> /Applications/Octave-3.6.1.app/Contents/Resources/libexec/gnuplot
>>> /opt/local/libexec/gnuplot
>>> Now plot works but I still have this strange error displayed:
>>> octave-3.6.1:3> sombrero ()
>>> octave-3.6.1:4>
>>> gnuplot> n
>>>          set view;
>>>         ^
>>>         line 0: invalid command
>>> 
>>> Hope that helps. Thanks for your work.
>>> 
>>> Regards,
>>> David
>> 
>> David,
>> 
>> Are you running Lion (MacOS 10.7) ?
>> 
>> And do you have macports installed ? If not are you running Fink, Homebrew, 
>> or another package management system ?
>> 
>> Ben
> 
> Ben,
> 
> Thanks for your answer. I'm running Lion 10.7.3, macports is installed
> but I don't have gnuplot installed through macports. I don't have Fink
> nor any other package management.
> 
> On another note, I tried to install some add-ons packages from Octave
> Forge and encounter the following error when installing Optiminterp (I
> could install some others like struct, miscellaneous, control, specfun
> though). Could that be related to your package too?
> 
> octave-3.6.1:21> pkg install optiminterp-0.3.3.tar.gz
> configure: error: in `/var/tmp/oct-J0Gxpm/optiminterp/src':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> the configure script returned the following error: checking for gcc...
> "/Applications/Octave-3.6.1.app/Contents/Resources/bin/gcc-mp-4.4"
> checking whether the C compiler works... no
> error: called from `pkg>configure_make' in file
> /Applications/Octave-3.6.1.app/Contents/Resources/share/octave/3.6.1/m/pkg/pkg.m
> near line 1373, column 9
> error: called from:
> error:   
> /Applications/Octave-3.6.1.app/Contents/Resources/share/octave/3.6.1/m/pkg/pkg.m
> at line 827, column 5
> error:   
> /Applications/Octave-3.6.1.app/Contents/Resources/share/octave/3.6.1/m/pkg/pkg.m
> at line 383, column 9
> 
> Thanks,
> David

My attempt at the Octave.app is poorly designed for compiling oct-files. 
Specifically, the environment has not be setup to allow for using mkoctfile.

Before I try to fix that, I'd like to convert to using gcc 4.2.1 and the 
gfortran provided by AT&T research (patched per Apple's requirements).

Unfortunately, Macports doesn't include a gfortran-4.2.1. Thus, I either need 
to switch to Homebrew, or install gfortran 4.2.1 outside of macports, or build 
all of Octave's dependencies myself using gcc/gfortran-4.2.1.

Ben



reply via email to

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