[MacPorts] #43939: libpng: pngconf.h:366:52: error: token is not a valid binary operator in a preprocessor subexpression
MacPorts
noreply at macports.org
Tue Jul 15 14:51:46 PDT 2014
#43939: libpng: pngconf.h:366:52: error: token is not a valid binary operator in a
preprocessor subexpression
-------------------------+--------------------------
Reporter: macports@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.0
Resolution: | Keywords:
Port: libpng |
-------------------------+--------------------------
Comment (by devans@…):
Replying to [comment:5 macports@…]:
> Replying to [comment:4 devans@…]:
> > gegl fixed to additionally blacklist clang < 300 in response to this
report (r121508).
> >
> > Please let me know if this works for you without having to manually
specify macports-clang-3.4 as compiler.
> >
> > Thanks.
>
> ----
>
> Thanks for the additional info. I have been busy of late and finally
have time to try your suggestion.[[BR]]
> Since gegl was present in my world for gimp2 and gimp-app functionality
and all three were requested, I executed a port uninstall for
clang-3.4 at 3.4.2 followed by uninstall requests for gimp2, gimp-app and
gegl.[[BR]]
> Unless I miss my guess, this should have removed all traces of the
compiler version specification that was used to work around the problem
earlier.[[BR]]
Specifying the compiler on the command line as you did originally is only
effective for the life of that one command so this was a bit excessive.
It would have been sufficient to use
{{{
sudo port -n upgrade --force gegl
}}}
to test the gegl build
>
> Then I executed a "port install gimp gimp-app gegl". This forced the
reinstall of clang-3.4 followed by the remaining installs.
> I see no errors in the output. I have not tested the functionality of
the entire result. That will occur later, but I see no reason to be
aprehensive.[[BR]]
>
> Thank you for all the support. I do apologize for letting this lie
dormant for so long.
>
Glad its working for you and thanks for the verification.
--
Ticket URL: <https://trac.macports.org/ticket/43939#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list