help-octave
[Top][All Lists]
Advanced

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

Re: install pkg


From: Sunil Shah
Subject: Re: install pkg
Date: Sun, 30 Nov 2014 18:23:50 -0800

 I used fink to install packages for octave.  Make sure you have the 
development version of octave installed.

Sunil

> On Nov 30, 2014, at 6:07 PM, James Russell <address@hidden> wrote:
> 
> Alexander, Ben,
> 
> Not sure whether this is a fink or an octave problem.
> 
> I've used fink to install Octave (successfully as far as the basics go) on my 
> Mac.  This took so long (> 1.5 days of building), that in the meanwhile I 
> build a Ubuntu machine out of an old MacBook and installed Octave there too 
> (much easier).  
> 
> My principal motivation for installing Octave for the present is to explore 
> wavelet transforms after I get cut off from Matlab in a couple of weeks.  So, 
> following instructions on Octave Wiki, I used:
> 
> pkg install -forge signal
> 
> on both.  In each case, I got a complaint that 'signal' needed 'general' and 
> 'control'.  So, I tried 
> 
> pkg install -forge general 
> 
> I got:
> 
> pkg: unable to find the mkoctfile command, Octave installation is incomplete.
> 
> at which point progress towards my goal stopped.
> 
> fink problem?  Hard to know, there were literally thousands and thousands of 
> lines of messages on the console as fink built Octave, 99.99999% of them 
> scrolled off into the bit bucket.  A comment on this, if I may.  My recent 
> coding experience (last several years) has been in Matlab.  I've found that 
> if I print a lot of information to the command console, a program can take 
> many, many times longer than if I don't.  What I do is include a command line 
> argument 'verbose' and default it off, and send only the most essential stuff 
> to the console.  A typical user, I expect, will not benefit from the 
> thousands and thousands and thousands of lines of feedback at the console, 
> but would benefit from substantially speedier execution.  Seriously, I 
> thought it was possible it was in an endless loop, and considered killing it. 
>  1.5 days is not hyperbole - it really took that long.
> 
> octave problem?  I don't know.  It's octave that is making the complaint.
> 
> 
> In any case, wherever the problem comes from, any idea how to remedy it?  I 
> looked in Fink Commander, but it found nothing on searching for mkoctfile.
> 
> Is there a light at the end of this tunnel?
> 
> 
> Thanks for your generous help.
> 
> Jim
> 
> 
>> On Nov 29, 2014, at 10:50 AM, Alexander Hansen <address@hidden> wrote:
>> 
>> 
>>> 
>>> 
>>>>> On Nov 29, 2014, at 6:07 AM, Ben Abbott <address@hidden> wrote:
>>>>> 
>>>>>> On Nov 29, 2014, at 12:53 AM, James Russell <address@hidden> wrote:
>>>>>> 
>>>>>>> On Nov 28, 2014, at 6:12 AM, Ben Abbott <address@hidden> wrote:
>>>>>>> 
>>>>>>> On Nov 28, 2014, at 9:01 AM, c. <address@hidden> wrote:
>>>>>>> 
>>>>>>> On 28 Nov 2014, at 13:01, ESMERALDA PODA <address@hidden> wrote:
>>>>>>> 
>>>>>>>> Here are the info:
>>>>>>>> OSX Yosemite 10.10.
>>>>>>>> Attached you find details about XCode
>>>>>>> 
>>>>>>> from what you previously posted I infer you are using the 
>>>>>>> 3.8.0 binary distribution for OS X 10.9 (Mavericks), downloaded
>>>>>>> forom OctaveForge, is that correct?
>>>>>>> 
>>>>>>> That version is not meant for use on OSX 10.10 Yosemite, 
>>>>>>> if it happens to work that is by pure accident, but I doubt you
>>>>>>> will ever be able to install packages with it.
>>>>>>> 
>>>>>>> You need to reinstall Octave in order to be able to compile
>>>>>>> the io package, currently the best options you have to do so
>>>>>>> are via a package manager like Fink [1], Macports [2] or homebrew [3].
>>>>>>> 
>>>>>>> I will probably  prepare a release of Octave 3.8.2 for OSX 10.10 
>>>>>>> some time (late) next month, so if you are not confortable using a
>>>>>>> package manager you may want to wait for that.
>>>>>>> 
>>>>>>> c.
>>>>>>> 
>>>>>>> [1] http://www.finkproject.org/
>>>>>>> [2] https://www.macports.org/
>>>>>>> [3] http://brew.sh/
>>>>>> 
>>>>>> For Yosemite, I strongly encourage using Fink.  The help-list full of 
>>>>>> many examples of individuals having trouble with both homebrew and 
>>>>>> Macports on Yosemite.
>>>>>> 
>>>>>> Ben
>>>>> 
>>>>> Ben,
>>>>> 
>>>>> Okay, I tried fink.  I ran into a roadblock where it required Java be 
>>>>> updated, I updated Java Runtime Environment, which is what it indicated, 
>>>>> and got no progress.  A helpful supporter over at fink said not JRE, JDK, 
>>>>> which it appears is Java Development Environment.  As I spelled out over 
>>>>> at that forum there is no clear path to a JDK for Mac OS X 10.10.1 - not 
>>>>> to say that there is no such thing, just that it is not clear where to 
>>>>> find it.
>>>>> 
>>>>> I've spent non-trivial parts of days now trying to get Octave running on 
>>>>> Mac OS X 10.10.1.  Can you tell me how to install JDK to get fink running 
>>>>> to get ..............?
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Jim
>>>> 
>>>> I used google to search Apple's support site -> "site:support.apple.com  
>>>> java jdk yosemite". The first link is below.
>>>> 
>>>>    http://support.apple.com/kb/dl1572
>>>> 
>>>> Ben
>> 
>>> On Nov 29, 2014, at 10:42 AM, James Russell <address@hidden> wrote:
>>> 
>>> Thanks Ben and others.  The link didn't work (don't know why - gave blank 
>>> page repeatedly), but I did the same search starting from Apple and found 
>>> the package.  Note to 'fink beginners' - nowhere is "JDK" referenced at the 
>>> Apple site.  Remember, you're addressing "beginners".  I've administered 
>>> systems for > 30 years, but I'm new to fink.
>>> 
>>> Jim
>> 
>> 
>> Up until about the time 10.7 came out, Apple provided the Java for OS X.  To 
>> build against it required the “Java SDK” from Xcode.  They then gave that up 
>> and let Oracle handle Java, but still provide legacy support—albeit not in 
>> an obvious place.
>> 
>> I’m in the middle of reworking the fink code to make it more obvious what 
>> Java to download from where.
>> -- 
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
> 
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave



reply via email to

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