Opened 12 years ago

Closed 12 years ago

#38818 closed defect (invalid)

octave-devel @3.6.4 bash looks for octave in /Applications

Reported by: hsafer@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: octave-devel

Description

Hi,

Installing Octave @3.2.4 failed as described in ticket #38694. I followed the advice given there: I uninstalled octave and then installed octave-devel @3.6.4. The installation worked fine. When I type /opt/local/bin/octave it works as expected; when I type just octave, however, I get the error

-bash: /Applications/Octave.app/Contents/Resources/bin/octave: No such file or directory

even though which octave says that /opt/local/bin/octave is what bash will look for first. The /Applications directory does not have a copy of octave. I haven't found this or a similar error addressed in the trac system. Any suggestions how to get bash to look for the right version?

I am running OSX 10.8.3 Mountain Lion with Xcode 4.6.1.

Thanks, Hershel

Change History (4)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to michaelld@…
Port: @3.6.4 removed

In the future, please Cc the port maintainer(s).

Did you try in a new Terminal window?

comment:2 in reply to:  1 ; Changed 12 years ago by hsafer@…

Replying to macsforever2000@…:

In the future, please Cc the port maintainer(s).

Did you try in a new Terminal window?

I closed and re-opened the Terminal application, and got the same error.

comment:3 in reply to:  2 Changed 12 years ago by hsafer@…

Replying to hsafer@…:

Replying to macsforever2000@…:

In the future, please Cc the port maintainer(s).

Did you try in a new Terminal window?

I closed and re-opened the Terminal application, and got the same error.

Apologies, my mistake. My .bashrc file, which I brought over from a different computer to us on my new computer, has an alias to what was once a version of Octave that was installed in /Applications. Sorry to bother you with this. Hershel

comment:4 Changed 12 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.