[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkoctfile
From: |
Johann Drexl |
Subject: |
Re: mkoctfile |
Date: |
Mon, 24 Mar 2003 11:59:56 +0100 |
branganj wrote:
>
> Hi,
> I was trying to get the example oregonator.cc converted to a .oct file.
> But when I type mkoctfile oregonator.cc it doesn't work; the mkoctfile is not
> a command that it can find. (ie using the tab completion doesn't find it
> either). Is there a way to make this executable? I tried the check to see if
> it supports dynamic-linking, as directed in the manual, and I got 1 back, so
> it should be ok??
> Should I compile it again with something else???
> Thanks,
> Jill Brangan.
Hi Jill,
mkoctfile is a self starting shell script, not a binary.
As you can't execute this script, there is probably something wrong with
the user permissions.
I suppose that the x-permission is probably missing for some or for all
users.
You can check this following this steps:
1) First, you will have to know the absolute path name of your
mkoctfile:
find /usr/local/ -name "mkoctfile*"
I get on my system:
/usr/local/bin/mkoctfile-2.1.39
/usr/local/bin/mkoctfile
2) Now, if you type:
address@hidden:~> ls -l /usr/local/bin/mkoctfile
then you will see that this is a link:
lrwxrwxrwx 1 root root 16 Nov 18 16:34
/usr/local/bin/mkoctfile -> mkoctfile-2.1.39
3) Now check the permissions:
address@hidden:~> ls -l /usr/local/bin/mkoctfile-2.1.39
This gives on my system:
-rwxr-xr-x 1 root root 9428 Nov 18 16:34
/usr/local/bin/mkoctfile-2.1.39
I suppose that one or all "x" is missing on your system. You can fix
this by applying the following steps:
1) Change to super-user:
address@hidden:~> su -
2) Give x-permissions to all user:
juno:~ # chmod a+x /usr/local/bin/mkoctfile-2.1.39
--
mit freundlichen Grüßen
Johann Drexl
Imagetool GmbH
Hanns-Braun-Str. 50
D-85375 Neufahrn
Tel. +49 8165 670017
FAX +49 8165 670018
address@hidden
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- mkoctfile, branganj, 2003/03/23
- Re: mkoctfile,
Johann Drexl <=