Question
Dear Sir:
I try to install GPSTK under the environment of Linux, when I get to step-4
./autogen.sh
warnings as following:
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
run info '(automake)Extending aclocal'
or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gpg-error.m4:7: warning: underquoted definition of AM_PATH_GPG_ERROR
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
I try to continue, when get the command "make" error reported as following:
In file included from DayTime.hpp:68,
from DayTime.cpp:57:
StringUtils?.hpp:72: limits: No such file or directory
In file included from DayTime.hpp:69,
from DayTime.cpp:57:
GPSZcount.hpp:50: ostream: No such file or directory
make[1]:
* [DayTime.lo] error 1
make[1]: Leaving directory `/root/gpstk-1.2/src'
make:
* [all-recursive] error 1
Could anyone help me??
Thank you in advance.
--
ZhangSc - 30 Jul 2007
Answer
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.
This looks like your compiler can't find the "ostream" and "limits" headers.
At least on my system they're in /usr/include/g++.
You should probably verify that those headers exist (are you missing some -devel or -headers package), and if they are installed try figure out why your compiler can't find them.
# ls -l /usr/include/g++/{ostream,limits}
-rw-r--r-- 1 root bin 36464 Jun 9 15:32 /usr/include/g++/limits
-rw-r--r-- 1 root bin 18353 Jun 9 15:32 /usr/include/g++/ostream
The underquoted definitions are nothing to worry about...
--
ChrisKuethe - 30 Jul 2007