/usr/ports/astro/xtide doesn't complie on amd64 or i386 current for me
It uses /usr/local/bin/gcc48 for compiler.
System is current.
The error is :
xxGlobal.cc: In function 'void Global::PositioningSystem(Coordinates&)':
xxGlobal.cc:80:24: error: 'isnan' was not declared in this scope
if (!(isnan(lat) || isnan(lng))) {
^
xxGlobal.cc:80:24: note: suggested alternative:
In file included from /usr/local/lib/gcc48/include/c++/random:38:0,
from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:65,
from /usr/local/lib/gcc48/include/c++/algorithm:62,
from common.hh:135,
from xtide.hh:21,
from xxGlobal.cc:21:
/usr/local/lib/gcc48/include/c++/cmath:632:5: note: 'std::isnan'
isnan(_Tp __x)
^
mv -f .deps/xxErrorBox.Tpo .deps/xxErrorBox.Po
gmake[3]: *** [xxGlobal.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
mv -f .deps/xxFilename.Tpo .deps/xxFilename.Po
mv -f .deps/xxGlobe.Tpo .deps/xxGlobe.Po
gmake[3]: Leaving directory `/usr/ports/astro/xtide/work/xtide-2.13.2'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/astro/xtide/work/xtide-2.13.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/astro/xtide
*** Error code 1
If you:
vi ./work/xtide-2.13.2/xxGlobal.cc
and add to top of file:
extern "C" int isnan (double);
It will compile.
It's been this way awhile, I've had to add this to xxGlobal.cc for some time.
If you turn off the option X11 it will build. But then you just get command
line tide program.
========================
|| [email protected] ||
|| ||
========================
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"