[MacPorts] #51611: gnudatalanguage @0.9.5: error: call to non-static member function without an object argument
MacPorts
noreply at macports.org
Wed Jun 15 06:18:57 PDT 2016
#51611: gnudatalanguage @0.9.5: error: call to non-static member function without
an object argument
------------------------------+-----------------------
Reporter: molinari@… | Owner: takeshi@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: gnudatalanguage |
------------------------------+-----------------------
Comment (by gnwiii@…):
gnudatlanguage builds successfully on my Mavericks system. You log shows
errors like:
{{{
_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnudatalanguage/gnudatalanguage/work/build/src
&&
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-DHAVE_CONFIG_H
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnudatalanguage/gnudatalanguage/work/gdl-0.9.5/src
-I/opt/local/include -I/opt/local/lib/plplot510/include
-I/opt/local/include/GraphicsMagick -I/opt/local/include/udunits2
-I/opt/local/include/eigen3 -I/usr/X11R6/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnudatalanguage/gnudatalanguage/work/gdl-0.9.5
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnudatalanguage/gnudatalanguage/work/gdl-0.9.5/src/antlr
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnudatalanguage/gnudatalanguage/work/build
-pipe -Os -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.9
-o CMakeFiles/gdl.dir/plotting_cursor.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_gnudatalanguage/gnudatalanguage/work/gdl-0.9.5/src/plotting_cursor.cpp
:info:build /opt/local/include/plplot/plstream.h:98:22: note:
'plcallback::tr1' declared here
}}}
{{{/opt/local/include/plplot}}} is probably from plplot-5.11. I do have
{{{/opt/local/lib/plplot510/include/plplot}}}, consistent with the
{{{-DPLPLOTDIR=/opt/local/lib/plplot510}}} in your log, but the
{{{-I/opt/local/include}}} means the plplot-5.11 headers will be used.
The Portfile for gnudatalanguage already tells us to deactivate antlr for
the build. Looks like it should do the same for plplot-5.11. Try running
"{{{sudo deactivate -f plplot}}}" to see if you can build gnudatalanguage
when the {{{/opt/local/include/plplot}}} are (temporarily!) removed.
--
Ticket URL: <https://trac.macports.org/ticket/51611#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list