Menu

Fedora 4 Octplot installation

Help
2006-06-11
2013-04-25
  • Nobody/Anonymous

    I used yum to install octave, octave-forge and the required dependencies to octplot using Fedora Core 4.  Octave loads and works fine.  But when I downloaded Octplot and tried ./configure, I got the following error messages at the end of the ./configure output.  Thanks for any help you can provide.

    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking ieeefp.h usability... no
    checking ieeefp.h presence... no
    checking for ieeefp.h... no
    checking for mkoctfile... mkoctfile
    conftest.cc:2:28: error: octave/version.h: No such file or directory
    conftest.cc:3:29: error: octave/defaults.h: No such file or directory
    conftest.cc:25: error: expected ',' or ';' before 'OCTAVE_LOCALFCNFILEPATH'
    conftest.cc:26: error: expected ',' or ';' before 'OCTAVE_LOCALOCTFILEPATH'
    conftest.cc:27: error: expected ',' or ';' before 'OCTAVE_LOCALARCHLIBDIR'
    conftest.cc:28: error: expected ',' or ';' before 'OCTAVE_VERSION'
    configure: error: Could not run mkoctfile

     
    • Shai Ayal

      Shai Ayal - 2006-06-14

      Installing the octplot-devel package shoulls solve your problems.

      Shai

       
    • Nobody/Anonymous

      Where can I obtain the octplot-devel package?

       
      • Shai Ayal

        Shai Ayal - 2006-06-27

        Sorry, that was a typo. You should install the
        octave-devel package, from fedora extras. As a quick and dirty test, try

        yum install octave-devel

         
    • Jay

      Jay - 2006-07-04

      Thank you.  Installing octave-devel using yum got me past the error.  I upgraded to Fedora Core 5, which I assume doesn't change things.

      Now I get another error in the ./configure script: 

      *** Unable to find Fltk2 library (http://www.fltk.org/)

      I tried yum install fltk, and this didn't fix the problem.  I noticed that yum installs fltk v. 1.0.  So I went to fltk.org, downloaded and installed version 2.  But I still get the error message.

       
      • Shai Ayal

        Shai Ayal - 2006-07-05

        Since you are compiling from source (and on feora you have no other choice) you need the "dev" versions of all the packages octplot depends on, so I would try
        yum install fltk-dev

        Shai

         
    • Jay

      Jay - 2006-07-17

      When executing the make command, I get the following error messages.  Do you have any suggestions?  Thanks.

      make
      make  all-recursive
      make[1]: Entering directory `/home/jay/octplot-0.3.5'
      Making all in fonts
      make[2]: Entering directory `/home/jay/octplot-0.3.5/fonts'
      make[2]: Nothing to be done for `all'.
      make[2]: Leaving directory `/home/jay/octplot-0.3.5/fonts'
      Making all in src
      make[2]: Entering directory `/home/jay/octplot-0.3.5/src'
      if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/local/include/freetype2 -I/usr/lo cal/include -I/usr/include/freetype2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune =generic -fasynchronous-unwind-tables -g -O2 -MT octplot-axes.o -MD -MP -MF ".de ps/octplot-axes.Tpo" -c -o octplot-axes.o `test -f 'axes.cpp' || echo './'`axes. cpp; \ then mv -f ".deps/octplot-axes.Tpo" ".deps/octplot-axes.Po"; else rm -f ".deps/o ctplot-axes.Tpo"; exit 1; fi
      axes.h:43: error: extra qualification ‘Axes::’ on member ‘GetPixel’
      axes.cpp: In member function ‘void Axes::DrawOneAxis(Axes::axis_name, Matrix&, d ouble*, double*, double, bool, bool)’:
      axes.cpp:329: warning: enumeration value ‘z_axis’ not handled in switch
      axes.cpp:354: warning: enumeration value ‘z_axis’ not handled in switch
      axes.cpp: In member function ‘void Axes::AutoTicks()’:
      axes.cpp:735: warning: unused variable ‘zticklabelmode’
      axes.cpp:738: warning: unused variable ‘zticklabel’
      make[2]: *** [octplot-axes.o] Error 1
      make[2]: Leaving directory `/home/jay/octplot-0.3.5/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/home/jay/octplot-0.3.5'
      make: *** [all] Error 2

       
      • Shai Ayal

        Shai Ayal - 2006-07-17

        this is typo by myself which older gcc's were willing to put up with.

        You have 2 choices:
        1. edit axes.h and remove the "Axes::" in line 43
        2. use latest svn version (not very stable)

        Shai

         
    • Jay

      Jay - 2006-07-18

      Thanks for your help.  I edited axes.h and removed the Axes:: in line 43.  When using make, I then get the following error message:

      make[2]: Entering directory `/home/jay/octplot-0.3.5/src'
      if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/include/freetype2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -g -O2 -MT octplot-FTGLTextureFont.o -MD -MP -MF ".deps/octplot-FTGLTextureFont.Tpo" -c -o octplot-FTGLTextureFont.o `test -f 'FTGL/FTGLTextureFont.cpp' || echo './'`FTGL/FTGLTextureFont.cpp; \ then mv -f ".deps/octplot-FTGLTextureFont.Tpo" ".deps/octplot-FTGLTextureFont.Po"; else rm -f ".deps/octplot-FTGLTextureFont.Tpo"; exit 1; fi
      FTGL/FTTextureGlyph.h:55: error: extra qualification ‘FTTextureGlyph::’ on member ‘ResetActiveTexture’
      make[2]: *** [octplot-FTGLTextureFont.o] Error 1
      make[2]: Leaving directory `/home/jay/octplot-0.3.5/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/home/jay/octplot-0.3.5'
      make: *** [all] Error 2

      I tried going in to FTTextureGlyph.h and removing FTTextureGlyph:: in line 55.  I then got this error message when trying to execute the line_demo.m sample program:

      FTGL/FTGLTextureFont.cpp:103: void FTGLTextureFont::CalculateTextureSize(): Assertion `maximumGLTextureSize' failed

      Also, when I try to execute the specgram_demo.m sample program, it is missing the chirp function.   Seems like chirp is supposed to be in the set of 'signal' functions.  There are a set of 'signal' functions in my version of octave, but not 'chirp'.  There's been an update of octave recently released.  I tried yum install octave, and this didn't help.

       
      • Shai Ayal

        Shai Ayal - 2006-07-18

        1. Can you see any text in the octpot window (i.e. tick labels)?

        2. If the answer to 1 is no, try reading the README.linux file and setting the OpenGL environment variable as is outlined there

        3. chirp and other signal functions can be found in octave-forge (yum install octave-forge) which is listed as a prerequisit in the README

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.