octave-maintainers
[Top][All Lists]
Advanced

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

Re: A question about OCTAVE_BINDIR


From: Rik
Subject: Re: A question about OCTAVE_BINDIR
Date: Sat, 16 Nov 2013 06:59:53 -0800

On 11/16/2013 06:43 AM, address@hidden wrote:
> Message: 6
> Date: Sat, 16 Nov 2013 14:37:57 +0100
> From: Julien Bect <address@hidden>
> To: Octave Maintainers <address@hidden>
> Subject: A question about OCTAVE_BINDIR
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dear Maintainers,
>
> If I start Octave after a fresh build (with run-octave) and try to build
> a MEX-file, I get the following error :
>
>      error: mkoctfile: unable to find the mkoctfile command, Octave
> installation is incomplete
>
> The problem seems to be that octave_config_info ("bindir") returns
>
>      ans = /usr/local/bin
>
> whereas the mkoctfile script is located in getenv ('OCTAVE_BINDIR') :
>
>      ans = /media/data/sources/octave/core/src
>
> Am I doing something wrong, or should I report this as a bug ?
>
> @++
> Julien

Julien,

What OS are you using?  I just tried this

./run-octave -f  # use -f to prevent any cruft from user-configuration files
cd examples
mex mex_demo.c  # succeeds
which mex
'mex' is a function from the file /home/rik/wip/Projects_Mine/octave-dev/scripts/miscellaneous/mex.m

--Rik



reply via email to

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