Compiling GDL - Fedora 15

  • kxtells

    kxtells - 2011-07-06


    There are a lot of threads about compiling GDL but I have not found an answer to my question.

    I'm using Fedora 15, and my problem is that no error raises from compilation but no gdl executable is generated.

    Here are the steps that I follow:


    ./configure -with-Magick=no -with-python=no -with-netcdf=no -with-hdf5=no -with-hdf=no

    and finally:


    During all the process no error or warning raises and no gdl executable is generated. Maybe I'm missing something?

    Thanks in advance!

  • Orion Poplawski

    Orion Poplawski - 2011-07-06

    Any reason not to do "yum install gdl" ?

  • Sylwester Arabas

    What happens when you do "make install"?
    You can also try with CMake.
    When doing in-tree compilation the gdl binary should appear in the src subdirecotry.

  • kxtells

    kxtells - 2011-07-06

    Thanks for the fast responses

    Any reason not to do "yum install gdl"

    I'm more interested in the code and in 'play' a little bit with it.

    What happens when you do "make install"?

    In the src directory there's no gdl executable. And make install  copies the libraries un /usr/local/share/gnudatalanguage/lib
    I pasted the exact output here:

    I'll try Cmake instead. But it isn't strange that make does not output errors or warnings?

  • kxtells

    kxtells - 2011-07-06

    Sorry for the bad quoting (but there's no edit option)

  • Sylwester Arabas

    Maybe something is wrong with the libtool?
    Perhaps running libtoolize   might help?
    Or symlinking the libtool or in gdl source tree with the system one?
    Hmmm… generally I have no idea what's wrong :(


  • kxtells

    kxtells - 2011-07-09


    Using CMAKE seems to be a good solution. Now an error appears. This is better than nothing

    [ 19%] Building CXX object src/CMakeFiles/gdl.dir/FMTIn.cpp.o
    In file included from /home/jordi/workspace/gdl/src/FMTIn.hpp:15:0,
                     from /home/jordi/workspace/gdl/src/FMTIn.cpp:5:
    /home/jordi/workspace/gdl/src/io.hpp: In constructor ‘GDLStream::GDLStream()’:
    /home/jordi/workspace/gdl/src/io.hpp:352:2: error: ‘readbuf_frb_destroy_on_close_p’ was not declared in this scope
    /home/jordi/workspace/gdl/src/io.hpp:353:2: error: ‘readbuf_bsrb_destroy_on_close_p’ was not declared in this scope
    /home/jordi/workspace/gdl/src/io.hpp:354:2: error: ‘fd_close_on_close’ was not declared in this scope
    make[2]: *** [src/CMakeFiles/gdl.dir/FMTIn.cpp.o] Error 1
    make[1]: *** [src/CMakeFiles/gdl.dir/all] Error 2
    make: *** [all] Error 2

    I read in io.hpp that this variables are a  // GGH ggh hack to implement SPAWN keyword UNIT.

  • Sylwester Arabas

    This is already fixed in the CVS. Please update and delete the CMake cache.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks