On 22/01/2012 12:03 μμ, Andy Buckle wrote: > 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. > The ubuntu11.1's repository doesn't include a package for fltk. I installed the
fltk-3.0.x-r9232.tar.gz part of the outpout of ./configure: Default pager: less gnuplot: gnuplot Do internal array bounds checking: false Build static libraries: false Build shared libraries: true Dynamic Linking: true (dlopen) Include support for GNU readline: true 64-bit array dims and indexing: false configure: WARNING: I didn't find gperf, but it's only a problem if you need to reconstruct oct-gperf.h configure: WARNING: I didn't find flex, but it's only a problem if you need to reconstruct lex.cc configure: WARNING: I didn't find bison, but it's only a problem if you need to reconstruct parse.cc configure: WARNING: UMFPACK not found. This will result in some lack of functionality for sparse matrices. configure: WARNING: qrupdate not found. The QR & Cholesky updating functions will be slow. configure: WARNING: AMD library not found. This will result in some lack of functionality for sparse matrices. configure: WARNING: COLAMD library not found. This will result in some lack of functionality for sparse matrices. configure: WARNING: CCOLAMD library not found. This will result in some lack of functionality for sparse matrices. configure: WARNING: CHOLMOD library not found. This will result in some lack of functionality for sparse matrices. configure: WARNING: CXSparse library not found. This will result in some lack of functionality for sparse matrices. configure: WARNING: cURL library not found. The ftp objects, urlread and urlwrite functions will be disabled. configure: WARNING: GLPK library not found. The glpk function for solving linear programs will be disabled. configure: WARNING: GraphicsMagick++ library not found. The imread function for reading image files will not be fully functional. configure: WARNING: Qhull library not found -- this will result in loss of functionality of some geometry functions. configure: WARNING: OpenGL libs (GL and GLU) not found. Native graphics will be disabled. configure: WARNING: configure: WARNING: I didn't find the necessary libraries to compile native configure: WARNING: graphics. It isn't necessary to have native graphics, configure: WARNING: but you will need to have gnuplot installed or you won't configure: WARNING: be able to use any of Octave's plotting commands configure: WARNING: configure: configure: NOTE: libraries may be skipped if a library is not found OR configure: NOTE: if the library on your system is missing required features. root@ioannis-GA:/usr/share/octave-3.4.3# What I have to do to install the missing libraries that mentioned in the warnings? ------------------------------------------------------------------------------ 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