Can the developers to update GDL to support Mavericks? All the users must really appreciate this. Thank you so much!
It would be very helpful, if you could specify what is missing to get this support. Is your request related with the source code, the Macports or the Fink package?
MacPorts says that this is an upstream issue: https://lists.macosforge.org/pipermail/macports-users/2013-November/033952.html
I'm attaching a log showing the build failure on Mavericks.
I'll look into the issue (the compilation fails in lib::spher_harm_helper_helper_helper()).
Anyhow, apparently the Clang version in Mavericks still does not support OpenMP
(":info:configure OpenMP support OFF" in the log you provided). If it's not too problematic, switching to GCC in theMacports package would then probably be highly suggested, as it would enable the multi-threading facilities of GDL.
The MacPorts gnudatalanguage port does have variants allowing the user to build with gcc instead, to enable openmp support, but it is not the default and it happens to fail for me as well, with a different error about undefined GraphicsMagick C++ symbols. This may be because of the very reason why we don't want to use gcc on Mavericks: gcc uses libstdc++, whereas other compilers on Mavericks use libc++, and you cannot mix these two C++ runtimes within a single program. GraphicsMagick was compiled with clang and therefore libc++ on Mavericks, so its C++ routines cannot be used on Mavericks in a program compiled with gcc.
For the record:
Exactly the same error is documented here for another package:
and from there they point to:
where there are suggestions that clang has to be invoked with "clang++ -stdlib=libc++"
(I'll post the same message at the Macports ticket)
-stdlib=libc++ is the default on Mavericks so that shouldn't make a difference.
I succeed to compile the current CVS (from the TGZ because I did not succeed
to compile CVS source with clang !!) on a OSX 10.8.5 and clang.
The most difficult part was in fact to compile plplot.
(I have no privilege on this system, just basic user)
Are you interested by a summary ?
What is strange for me,
when I am connected "on the screen", I do have plotting capabilities in GDL,
but not when connecting through network (ssh -X) [but xclock OK]
This ticket is about problems compiling gnudatalanguage on OS X 10.9, not 10.8.
Could you check if this helps (and if not, what is the error message):
diff -r1.132 gsl_fun.cpp
< res[j] *= exp(complex<T_phi>(0., m * phi[j * step_phi]));
> res[j] *= T_res(std::exp(complex<T_phi>(0., m * phi[j * step_phi])));
After that change, the build succeeds; thanks!
Thanks, I've just commited it as gdl/src/gsl_fun.cpp revision: 1.133.
Log in to post a comment.