I cannot find the executable after installaci

Help
2011-10-18
2013-06-03
  • Daniel Molina

    Daniel Molina - 2011-10-18

    Hello,

    I'm trying to install the svn version. I configured it with

    ./configure -program-transform-name=gdl-svn -prefix=$DIR_INSTALLATION -with-plplotdir=$DIR_INSTALLATION -with-wxWidgets=$DIR_INSTALLATION -with-Magick=$DIR_INSTALLATION -with-hdf5=no -with-hdf=no -with-netcdf=$DIR_INSTALLATION

    The result was
                      GDL - GNU Data Language
      --- compilation options: ------------------
      System:              i686-pc-linux-gnu
      Installation prefix: /home/lluvia/My_Programs
      C++ compiler:        g++ -g -O2
      OpenMP support:      yes
      Build type:          standalone (other: Python module)
      --- optional libraries (consult README/INSTALL): --
      wxWidgets:           yes
      Magick:              yes
      NetCDF:              yes
      HDF4:                no
      HDF5:                no
      FFTW:                yes
      libproject:          no  (see also MAP_INSTALL)
      MPICH:               no  (needs explicit enabling)
      Python:              yes (2.6)
      UDUNITS-2:           no  (needs explicit enabling)
      GRIB:                no  (needs explicit enabling)
      GSHHS:               no  (see also MAP_INSTALL)
      Xlib:                yes
      pslib:               yes
      --- notes on auxiliary files: ---------------
      - consult MAP_INSTALL for details concerning auxiliary
        files needed for mapping support
      - SAVE and RESTORE procedures require *.pro files from
        the CMSVLIB package (see README for details)
      ------------------------------------
      --- note on OpenMP support -----------------
       OpenMP was autodetected, use -with-openmp=no if your
       compiler does not support it (e.g. GCC < 4.2)
      ------------------------------------
      use 'make' to build and 'make install' to install GDL
      (optional 'make check' tests the build - experimental)

    After make it, I can run the executable located in src/gdl, but when I i do make install I obtain

    $ make install
    Making install in src
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src'
    Making install in antlr
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/antlr'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/antlr'
    make: Nothing to be done for `install-exec-am'.
    make: Nothing to be done for `install-data-am'.
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/antlr'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/antlr'
    Making install in pro
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro'
    Making install in dicom
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro/dicom'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro/dicom'
    make: Nothing to be done for `install-exec-am'.
    test -z "/home/lluvia/My_Programs/share/gnudatalanguage/lib/dicom" || /bin/mkdir -p "/home/lluvia/My_Programs/share/gnudatalanguage/lib/dicom"
    /usr/bin/install -c -m 644 gdlffdicom__assoc__define.pro gdlffdicom__assoc__test.pro gdlffdicom__assoc_generateuid.pro gdlffdicom__define.pro gdlffdicom__dictionary.pro gdlffdicom__test.pro gdlffdicom_copy_lun.pro gdlffdicom_date.pro gdlffdicom_time.pro gdlffdicom_trim.pro '/home/lluvia/My_Programs/share/gnudatalanguage/lib/dicom'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro/dicom'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro/dicom'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro'
    make: Nothing to be done for `install-exec-am'.
    test -z "/home/lluvia/My_Programs/share/gnudatalanguage/lib" || /bin/mkdir -p "/home/lluvia/My_Programs/share/gnudatalanguage/lib"
    /usr/bin/install -c -m 644 appleman.pro array_indices.pro calendar.pro correlate.pro deriv.pro dialog_message.pro dialog_pickfile.pro dist.pro escape_special_char.pro factorial.pro file_basename.pro file_copy.pro file_delete.pro file_dirname.pro file_expand_path.pro file_lines.pro file_which.pro filepath.pro findex.pro findfile.pro helpform.pro hist_2d.pro hist_nd.pro identity.pro idl_validname.pro imsl_erf.pro imsl_zerosys.pro interpol.pro ishft.pro kurtosis.pro last_item.pro lmgr.pro loadct.pro ludc.pro map_clip_set.pro matrix_multiply.pro mean.pro meanabsdev.pro moment.pro norm.pro '/home/lluvia/My_Programs/share/gnudatalanguage/lib'
    /usr/bin/install -c -m 644 path_sep.pro ploterr.pro poly.pro poly_area.pro popd.pro primes.pro printd.pro pushd.pro py_plot.pro py_print.pro query_bmp.pro query_dicom.pro query_gif.pro query_image.pro query_jpeg.pro query_pict.pro query_png.pro query_ppm.pro query_tiff.pro read_ascii.pro read_binary.pro read_bmp.pro read_dicom.pro read_jpeg.pro read_pict.pro read_png.pro read_tiff.pro read_xwd.pro real_part.pro restore.pro rstrpos.pro save.pro scope_varfetch.pro showfont.pro skewness.pro skip_lun.pro smooth.pro spl_init_old.pro spl_interp_old.pro stddev.pro '/home/lluvia/My_Programs/share/gnudatalanguage/lib'
    /usr/bin/install -c -m 644 str_sep.pro strsplit.pro swap_endian.pro swap_endian_inplace.pro template.pro template_blank.pro trace.pro tvscl.pro uniq.pro value_locate.pro variance.pro write_bmp.pro write_jpeg.pro write_pict.pro write_png.pro README.txt STATUS '/home/lluvia/My_Programs/share/gnudatalanguage/lib'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src/pro'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src'
    test -z "/home/lluvia/My_Programs/bin" || /bin/mkdir -p "/home/lluvia/My_Programs/bin"
    sed: -e expression #3, char 20: extra characters after command
    make: Nothing to be done for `install-data-am'.
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/src'
    Making install in testsuite
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/testsuite'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/testsuite'
    make: Nothing to be done for `install-exec-am'.
    make: Nothing to be done for `install-data-am'.
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/testsuite'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/testsuite'
    Making install in doc
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/doc'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/doc'
    make: Nothing to be done for `install-exec-am'.
    test -z "/home/lluvia/My_Programs/share/man/man1" || /bin/mkdir -p "/home/lluvia/My_Programs/share/man/man1"
    sed: -e expression #2, char 19: extra characters after command
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/doc'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl/doc'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl'
    make: Entering directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl'
    make: Nothing to be done for `install-exec-am'.
    test -z "/home/lluvia/My_Programs/share/gnudatalanguage" || /bin/mkdir -p "/home/lluvia/My_Programs/share/gnudatalanguage"
    /usr/bin/install -c -m 644 AUTHORS README '/home/lluvia/My_Programs/share/gnudatalanguage'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl'
    make: Leaving directory `/media/49da33e5-356f-4819-a487-8cc7de7b895b/svn/gnudatalanguage/gdl'

    The problem is that I cannot find where is my gdl-svn executable.

    I expect that it was in /home/lluvia/My_Programs/bin/gdl-svn

    Maybe I'm doing something wrong. Can you help me?

     
  • Sylwester Arabas

    There are some error messages from "sed" in the output above:
    "sed: -e expression #3, char 20: extra characters after command"

    Perhaps you could try running "autoreconf" to regenerate the makefiles?

     
  • Daniel Molina

    Daniel Molina - 2011-10-18

    Ok,

    Tomorrow, I'll try to do autoreconf and just after that ./configure  && make && make install again. Correct?

     
  • Sylwester Arabas

    Yes… but that's just a guess - I've never came across such message from sed emitted from within the configure script. Please try. Regards,
    Sylwester

     
  • Daniel Molina

    Daniel Molina - 2011-10-18

    I'm having exactly the same issue in another machine (aka machine2), the first (machine1) was ubuntu and this is trisquel. Btw, my svn version has been downloaded in a .tar.gz from here

    http://gnudatalanguage.cvs.sourceforge.net/viewvc/gnudatalanguage/?view=tar

    because I have no the password for the given svn command, maybe it is only for developers, and I suppose that both ways are the same.

    I did autoreconf. It is the result

    $ autoreconf
    Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
    Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
    configure.in:51: error: possibly undefined macro: AC_PROG_LIBTOOL
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    autoreconf: /usr/bin/autoconf failed with exit status: 1

    Then, I did ./configure and it was discovered that was necessary to install pslib-dev (I can see that it was detected in the last report, but was given in machine1 and it had pslib really installed when I reported the problem). I installed it, configued without more problems and then:

    $ make
    cd . && /bin/bash /home/guest/Compiling/gdl/missing -run automake-1.11 -gnu
    src/Makefile.am:69: Libtool library used but `LIBTOOL' is undefined
    src/Makefile.am:69:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
    src/Makefile.am:69:   to `configure.in' and run `aclocal' and `autoconf' again.
    src/Makefile.am:69:   If `AC_PROG_LIBTOOL' is in `configure.in', make sure
    src/Makefile.am:69:   its definition is in aclocal's search path.
    src/antlr/Makefile.am:15: Libtool library used but `LIBTOOL' is undefined
    src/antlr/Makefile.am:15:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
    src/antlr/Makefile.am:15:   to `configure.in' and run `aclocal' and `autoconf' again.
    src/antlr/Makefile.am:15:   If `AC_PROG_LIBTOOL' is in `configure.in', make sure
    src/antlr/Makefile.am:15:   its definition is in aclocal's search path.
    testsuite/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
    testsuite/Makefile.am:1:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
    testsuite/Makefile.am:1:   to `configure.in' and run `aclocal' and `autoconf' again.
    testsuite/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in `configure.in', make sure
    testsuite/Makefile.am:1:   its definition is in aclocal's search path.
    make: ***  Error 1

    I think it is noticing me errors. No?

    Feel free to ask me for any kind of information or tests.

    Regards

     
  • Sylwester Arabas

    >>>Can't exec "libtoolize"<<< means you have to install libtool before running autoreconf.
    You can also try building GDL using CMake instead of autotools.
    To do so just run "cmake ." (with the dot) instead of "./configure".

    HTH,
    Sylwester

     
  • Daniel Molina

    Daniel Molina - 2011-10-19

    Ok. I am now in machine1. I did autoreconf

    $ autoreconf
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'

    after that I repeated ./configure  && make && make instal and I had again the sed error.

    I can try the cmake mode later.

     
  • Alain C.

    Alain C. - 2011-10-20

    just to confirm we have these days, using "configure" or "cmake", no trouble on some Linux distros (ubuntu, debian, centos, mandriva) where I am testing on daily base the last changes in the CVS version, but the OSX version is (temporary) not linkable.

     
  • alex

    alex - 2012-04-04

    I am trying to install GDL (0.9.2 tarball) on an Ubuntu 11.10 machine since I'm interested in using the GDL python module to call IDL code from Python.
    I installed all the required libraries.
    The .configure phase ends apparently without errors; the make phase seems to end without errors, too but I cannot find any executable nor any libgdl.so.0.0.0 file.
    The make check produces all the errors related to the execution of the .PRO files since a gdl executable is lacking.
    Can anyone help me?

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks