[Top][All Lists]

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

Re: Inline::Octave for perl

From: Dirk Eddelbuettel
Subject: Re: Inline::Octave for perl
Date: Mon, 22 Oct 2001 22:13:00 -0500
User-agent: Mutt/1.2.5i


This looks neat. But I am having a hard time getting it to work:

> You need to install the Inline module from CPAN. This provides
> the infrastructure to support all the Inline::* modules.

Perl's Inline module is installed:

address@hidden:/tmp> dpkg -l libinline-perl|grep ii
ii  libinline-perl 0.41-3         Write Perl subroutines in other programming
> Then install in an Inline directory in any path in your @INC.
> The easiest is to create a ./Inline directory in your
> working directory, and put in that.

address@hidden:/tmp> ls -l Inline/
total 11
-rw-r--r--    1 edd      edd         10507 Oct 22 22:01

address@hidden:/tmp> head -4
BEGIN { @INC = ( "/tmp", @INC ) }
use Inline Octave;
> after that the example code should run.

address@hidden:/tmp> ./
Error. You have specified 'Octave' as an Inline programming language.
I currently only know about the following languages:
    C, Foo, c, foo
If you have installed a support module for this language, try deleting the
config file from the following Inline DIRECTORY, and run again:
 at ./ line 0
INIT failed--call queue aborted.

If I remove the @INC modification, and then remove the /tmp/_Inline/config
file, it fails with a shorter message:

address@hidden:/tmp> ./
Undefined subroutine &main::jnk1 called at ./ line 6.

Any idea?


Three out of two people have difficulties with fractions.

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]