[Top][All Lists]

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

Re: mkoctfile error

From: Geordie McBain
Subject: Re: mkoctfile error
Date: Thu, 04 Aug 2005 09:45:53 +1000

Hello.  I'm a bit confused by your set-up, so I'm returning this to the
mailing list.  (Confused as usr is normally a top-level directory, as
in /usr, and not a subdirectory of ~/desktop, as in ~/desktop/usr, nor
~, as in ~/usr.)

I guess, though, that you do have a directory called usr in your home
directory, which in turn contains local/bin/mkoctfile, since
~/usr/local/bin/mkoctfile seems to exist.

I guess you might not have g++ installed?  Or you might have it
installed, but not on the path.  So we're back to paths again.  Can you
compile C++ programs outside Octave?  Where is the g++ executable that
you call to do so?

Geordie McBain

On Wed, 2005-08-03 at 07:58 -0700, address@hidden wrote:
> Unix is definitely not my language.  C on the
> Macintosh was fun, but I never progressed to C++.  I
> have had difficulty with Path$ and LOADPATH as well as
> alias.  I have various combination tucked away in
> .bashrc and /etc/profile.  I am loath to change them
> at this point.
> I am trying first to compile a file named
> located in the folder in which all of my .m files are
> placed, and which Octave finds.  I presume that I
> would eventually want the oct file here as well.
> I have tried the complete path in the command line and
> again get an error.  Two versions are
> Allan’s-Computer:~/desktop/usr/local/bin allangol$
> Users/allangol/Desktop/usr/local/bin/mkoctfile
> -bash: Users/allangol/Desktop/usr/local/bin/mkoctfile:
> No such file or directory
> Allan’s-Computer:~/desktop/usr/local/bin allangol$ 
> Allan’s-Computer:~/desktop/usr/local/bin allangol$
> ~/usr/local/bin/mkoctfile
> /Users/allangol/usr/local/bin/mkoctfile: line 1: g++:
> command not found
> Allan’s-Computer:~/desktop/usr/local/bin allangol$ 
> Thank you
> Allan

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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