how to launch octave after fink install

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to launch octave after fink install

fred73
Hi,

I installed octave on my Mac (High Sierra 10.13.2).

I did that with the command:
*  fink install octave-atlas-qtx11

The installation took more than 20 hours, but eventually completed.

But now I'm stuck with (extract from my Mac terminal window)
$ pwd
/sw2/bin
$ octave
-bash: octave: command not found

note that my fink directory is sw2

So here is my naive question(s):
what do I do from here ?
More packages to be installed ?
scripts to be run ?
Entries to be added to a path file ?

Thanks for your help.
Apologies if this post was already answered many times before. Just point me
to the right place.
I'm reasonably knowledgeable in octave, but a newbie in mac. Thanks for
answering me with simple words, like if it were your grandmother :-)




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: how to launch octave after fink install

Alexander Hansen-2


> On Jan 5, 2018, at 22:24, fred73 <[hidden email]> wrote:
>
> Hi,
>
> I installed octave on my Mac (High Sierra 10.13.2).
>
> I did that with the command:
> *  fink install octave-atlas-qtx11
>
> The installation took more than 20 hours, but eventually completed.
>
> But now I'm stuck with (extract from my Mac terminal window)
> $ pwd
> /sw2/bin
> $ octave
> -bash: octave: command not found
>
> note that my fink directory is sw2
>
> So here is my naive question(s):
> what do I do from here ?
> More packages to be installed ?
> scripts to be run ?
> Entries to be added to a path file ?
>
> Thanks for your help.
> Apologies if this post was already answered many times before. Just point me
> to the right place.
> I'm reasonably knowledgeable in octave, but a newbie in mac. Thanks for
> answering me with simple words, like if it were your grandmother :-)
>
>
>

It looks like you might not have run “/sw2/bin/pathsetup.sh” to set up your shell environment for Fink.  Do that, and start a new terminal window.  

--
Alexander Hansen, Ph.D.
Fink User Liaison


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: how to launch octave after fink install

fred73
Thanks Alexander,

Taking a closer look, I saw that my octave installation actually failed:

In file included from
../../../../gcc-5.5.0/libsanitizer/asan/asan_malloc_mac.cc:17:0:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:663:61:
error: expected initializer before 'API_AVAILABLE'
 CFTypeRef CFAutorelease(CFTypeRef CF_RELEASES_ARGUMENT arg)
API_AVAILABLE(macos(10.9), ios(7.0), watchos(2.0), tvos(9.0));
                                                             ^
make[4]: *** [asan_malloc_mac.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libsanitizer] Error 2
make: *** [bootstrap-lean] Error 2
### execution of /tmp/fink.KI3Q8 failed, exit code 2
### execution of /tmp/fink.T628j failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw2/bin/dpkg-lockwait -r fink-buildlock-gcc5-5.5.0-1
(Reading database ... 165823 files and directories currently installed.)
Removing fink-buildlock-gcc5-5.5.0-1 ...
*Failed: phase compiling: gcc5-5.5.0-1 failed*

Before reporting any errors, please run "fink selfupdate" and try again.

If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

The Fink Users List <[hidden email]>
The Fink Beginners List <[hidden email]>.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.42.99.git
Distribution version: selfupdate-rsync Sat Jan 13 17:42:20 2018, 10.13,
x86_64
Trees: local/main stable/main
Xcode.app: 9.2
Xcode command-line tools: 9.2.0.0.1.1510905681
Max. Fink build jobs:  1


I did try to run fink selfupdate, but it didn't solve the issue.
Any clue ?

Thanks,

Fred



Alexander Hansen-2 wrote
>> On Jan 5, 2018, at 22:24, fred73 &lt;

> frederic.bossens@

> &gt; wrote:
>>
>> Hi,
>>
>> I installed octave on my Mac (High Sierra 10.13.2).
>>
>> I did that with the command:
>> *  fink install octave-atlas-qtx11
>>
>> The installation took more than 20 hours, but eventually completed.
>>
>> But now I'm stuck with (extract from my Mac terminal window)
>> $ pwd
>> /sw2/bin
>> $ octave
>> -bash: octave: command not found
>>
>> note that my fink directory is sw2
>>
>> So here is my naive question(s):
>> what do I do from here ?
>> More packages to be installed ?
>> scripts to be run ?
>> Entries to be added to a path file ?
>>
>> Thanks for your help.
>> Apologies if this post was already answered many times before. Just point
>> me
>> to the right place.
>> I'm reasonably knowledgeable in octave, but a newbie in mac. Thanks for
>> answering me with simple words, like if it were your grandmother :-)
>>
>>
>>
>
> It looks like you might not have run “/sw2/bin/pathsetup.sh” to set up
> your shell environment for Fink.  Do that, and start a new terminal
> window.  
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
>
>
> _______________________________________________
> Help-octave mailing list

> Help-octave@

> https://lists.gnu.org/mailman/listinfo/help-octave


Alexander Hansen-2 wrote
>> On Jan 5, 2018, at 22:24, fred73 &lt;

> frederic.bossens@

> &gt; wrote:
>>
>> Hi,
>>
>> I installed octave on my Mac (High Sierra 10.13.2).
>>
>> I did that with the command:
>> *  fink install octave-atlas-qtx11
>>
>> The installation took more than 20 hours, but eventually completed.
>>
>> But now I'm stuck with (extract from my Mac terminal window)
>> $ pwd
>> /sw2/bin
>> $ octave
>> -bash: octave: command not found
>>
>> note that my fink directory is sw2
>>
>> So here is my naive question(s):
>> what do I do from here ?
>> More packages to be installed ?
>> scripts to be run ?
>> Entries to be added to a path file ?
>>
>> Thanks for your help.
>> Apologies if this post was already answered many times before. Just point
>> me
>> to the right place.
>> I'm reasonably knowledgeable in octave, but a newbie in mac. Thanks for
>> answering me with simple words, like if it were your grandmother :-)
>>
>>
>>
>
> It looks like you might not have run “/sw2/bin/pathsetup.sh” to set up
> your shell environment for Fink.  Do that, and start a new terminal
> window.  
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
>
>
> _______________________________________________
> Help-octave mailing list

> Help-octave@

> https://lists.gnu.org/mailman/listinfo/help-octave


Alexander Hansen-2 wrote
>> On Jan 5, 2018, at 22:24, fred73 &lt;

> frederic.bossens@

> &gt; wrote:
>>
>> Hi,
>>
>> I installed octave on my Mac (High Sierra 10.13.2).
>>
>> I did that with the command:
>> *  fink install octave-atlas-qtx11
>>
>> The installation took more than 20 hours, but eventually completed.
>>
>> But now I'm stuck with (extract from my Mac terminal window)
>> $ pwd
>> /sw2/bin
>> $ octave
>> -bash: octave: command not found
>>
>> note that my fink directory is sw2
>>
>> So here is my naive question(s):
>> what do I do from here ?
>> More packages to be installed ?
>> scripts to be run ?
>> Entries to be added to a path file ?
>>
>> Thanks for your help.
>> Apologies if this post was already answered many times before. Just point
>> me
>> to the right place.
>> I'm reasonably knowledgeable in octave, but a newbie in mac. Thanks for
>> answering me with simple words, like if it were your grandmother :-)
>>
>>
>>
>
> It looks like you might not have run “/sw2/bin/pathsetup.sh” to set up
> your shell environment for Fink.  Do that, and start a new terminal
> window.  
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
>
>
> _______________________________________________
> Help-octave mailing list

> Help-octave@

> https://lists.gnu.org/mailman/listinfo/help-octave





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave