On 22 January 2012 09:52, Ioannis Papaioannou <ioann...@ath.forthnet.gr> wrote:
> On 22/01/2012 11:10 πμ, Andy Buckle wrote:
>>
>> On 22 January 2012 08:38, Ioannis Papaioannou<ioann...@ath.forthnet.gr>
>>  wrote:
>>>
>>> Hello,
>>>
>>>    I run ubuntu 11.1 I have installed octave-3.4.3. I try to install
>>> fltk but I receive an error:
>>>
>>>
>>> octave:2>  pkg install -auto -verbose fltk-3.0.x-r9232.tar.gz
>>> mkdir (/tmp/oct-dNbIHw)
>>> untar (fltk-3.0.x-r9232.tar.gz, /tmp/oct-dNbIHw)
>>> package is missing file: DESCRIPTION
>>> error: called from `pkg>verify_directory' in file
>>> /usr/local/share/octave/3.4.3/m/pkg/pkg.m near line 1693, column 7
>>> error: called from:
>>> error:   /usr/local/share/octave/3.4.3/m/pkg/pkg.m at line 736, column 5
>>> error:   /usr/local/share/octave/3.4.3/m/pkg/pkg.m at line 361, column 9
>>>
>>> -------------------------------------------------------------------------------------------------------
>>> octave:2>  pkg list
>>> Package Name  | Version | Installation directory
>>> --------------+---------+-----------------------
>>>          msh *|   1.0.2 | /usr/local/share/octave/packages/msh-1.0.2
>>>      splines *|   1.0.7 | /usr/local/share/octave/packages/splines-1.0.7
>>> octave:3>  available_graphics_toolkits
>>> warning: no graphical display found
>>> ans =
>>> {
>>>   [1,1] = gnuplot
>>> }
>>> octave:4>  graphics_toolkit("fltk")
>>> error: feval: function `__init_fltk__' not found
>>> error: called from:
>>> error:   /usr/local/share/octave/3.4.3/m/plot/graphics_toolkit.m at line
>>> 56, column 5
>>>
>>> -------------------------------------------------------------------------------------------------------------
>>>
>>> I think I have to install some kind of "octave - headers"  but I was
>>> unable to find a specific package for the 3-4-3 version
>>>
>>> thanks in advance
>>> Yiannis P.
>>
>> I am a bit confused. I think you might be trying to install fltk as if
>> if was an octave package. I guess you have got a tarball of fltk
>> source which needs compiling and installing onto your operating
>> system, not directly onto octave. start by trying to find a fltk
>> pacakge through your OS package manager. Then you need to find out if
>> the version of octave you are using was compiled with fltk support. If
>> you want more help it would be a good idea to tell us where you got
>> octave from (did you compile it yourself?).
>>
>>
> Your are right.
> I compiled octave-3.4.3 myself. I download it from
> http://www.gnu.org/software/octave/download.html. Is fltk-3.0.x-r9232.tar.gz
> compatible with octave-3.4.3. Is it OK if I try to install fltk onto ubuntu
> 11.1 or I have to do something else first?

I would get fltk from a repository, unless you have some good reason
to want to compile it yourself. on openSuSE I got a package called
fltk-devel (make sure it has the headers).

when you have ftk insalled on Ubuntu, then recompile Octave starting
from the ./configure step. read the output of the config to make sure
it is happy with fltk.

-- 
/* andy buckle */

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to