Dear gpstk developers,

First of all, thanks for this comprehensive package for rinex processing, released under GPL. Reading here and there about 'jam' for gentoo, I discovered that it is not included in Gentoo portage tree. Hence, I preferred the automake/autoconf method. I encounter one problem after following the standard procedure described in INSTALL.

Here is my current environment and versions:

mwathele@sirac /usr/local/src/gpstk/1.7 $ uname -a
Linux sirac 2.6.36-gentoo-r5-mactelpatches-macbook-core2duo #1 SMP PREEMPT Wed De 29 18:48:05 CET 2010 x86_64 Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz GenuineIntel NU/Linux
mwathele@sirac /usr/local/src/gpstk/1.7 $ autoconf --version
autoconf (GNU Autoconf) 2.65
mwathele@sirac /usr/local/src/gpstk/1.7 $ m4 --version
m4 (GNU M4) 1.4.15
mwathele@sirac /usr/local/src/gpstk/1.7 $ automake --version
automake (GNU automake) 1.11.1
mwathele@sirac /usr/local/src/gpstk/1.7 $ libtool --version
libtool (GNU libtool) 2.2.10

Here is the procedure I followed:

mwathele@sirac /usr/local/src/gpstk/1.7 $ ./
mwathele@sirac /usr/local/src/gpstk/1.7 $ ./configure -prefix /usr/local/gpstk/1.7
mwathele@sirac /usr/local/src/gpstk/1.7 $ make
Making all in src
make[1]: Entering directory `/usr/local/src/gpstk/1.7/src'
libtool: Version mismatch error.  This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from libtool 2.2.10.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
make[1]: *** [ANSITime.lo] Error 63
make[1]: Leaving directory `/usr/local/src/gpstk/1.7/src'
make: *** [all-recursive] Error 1

I'm not really used to automake and autoconf but searching around this error, I found that running 'libtoolize' before doing anything fix this issue. There are some warnings you might consider.

mwathele@sirac /usr/local/src/gpstk/1.7 $ libtoolize
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in

( is now a symlink to /usr/share/libtool/config/ instead of a plain file found in distributed tar file)

mwathele@sirac /usr/local/src/gpstk/1.7 $ ./
mwathele@sirac /usr/local/src/gpstk/1.7 $ ./configure -prefix /usr/local/gpstk/1.7
mwathele@sirac /usr/local/src/gpstk/1.7 $ make

==> now everything is running fine

One comment about automake/autoconf philosophy: distributed package should be compiled directly from a provided './configure' without the need for developer tools. Why don't you provide this file in your distributed archive?

Best regards,


-- MarcWathelet - 27 Mar 2011


ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Please note this package is LGPL, not GPL.

I think I missed it. In your last paragraph you asked why we con't provide "this file" -- which file are you referring to?

We have varied significantly over time in what files we have distributed to support make. I personally have no problem changing what we provide. However, I have yet to see an authoritative guide as to what to provide. Invariably the answer is "this works for me" or "go look at the scripts." If you have such a guide (not a man page), I would appreciate it.

-- BenHarris - 28 Mar 2011 No such template def TMPL:DEF{PROMPT:supportquery}

This topic: Documentation > WebHome > AskedQuestions > BuildingunderlinuxusingGNUmake
Topic revision: 28 Mar 2011, BenHarris
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback