Octave

Ryan Schmidt ryandesign at macports.org
Sat Nov 22 13:31:18 PST 2008


On Nov 22, 2008, at 15:08, Robert Fong-tom wrote:

> On Nov 22, 2008, at 3:50 PM, Ryan Schmidt wrote:
>
>> On Nov 22, 2008, at 12:55, Robert Fong-tom wrote:
>>
>>> As I said in a previous email I am running OS X 10.4.11 on a  
>>> Intel MacBook Pro. My GNUPLOT was not ported from MacPorts. I was  
>>> downloaded earlier (before porting Octave). It is one rev behind  
>>> (ver 4.4 patchlevel 3) current level..
>>>
>>> Since GNUPLOT is a dependence of Octave, should this matter that  
>>> it was not ported via MacPorts?
>>>
>>>  If I port GNULOT now from MacPorts will it work automatically  
>>> with Octave?
>>>
>>>  Or do I have to make some changes to the .profile and .bashrc file?
>>
>> MacPorts is supposed to only use its own software (e.g. its own  
>> version of gnuplot), not any other version you might already have  
>> installed. See:
>>
>> http://trac.macports.org/wiki/FAQ#WhyisMacPortsusingitsownlibraries
>>
>> As you said, octave declares a dependency on gnuplot. Therefore,  
>> if you have installed octave with MacPorts, then the MacPorts  
>> version of gnuplot has already been installed for you. You can  
>> verify this by checking the list produced by typing:
>>
>> port installed
>>
>> I do not know what you have to do to get octave to use that  
>> version of gnuplot.
>
> Indeed when I type port installed it shows that I have gnuplot ver  
> 4.2.3! However when I type gnuplot from a terminal window it shows  
> gnuplot 4.2.2 and "Terninal type set to 'unknown'". I'll have to  
> research this further. Thanks

If you type "which gnuplot" it should tell you which gnuplot is being  
run when you type "gnuplot". Or you could explicitly run the MacPorts  
gnuplot by typing "/opt/local/bin/gnuplot".



More information about the macports-users mailing list