Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure.in in 9.19 tarball has include error. #19

Open
makingglitches opened this issue Jun 19, 2021 · 0 comments
Open

Configure.in in 9.19 tarball has include error. #19

makingglitches opened this issue Jun 19, 2021 · 0 comments

Comments

@makingglitches
Copy link

Fairly certain this will be universal.

The tarball contains an issue wherein the proper -I flags are not being passed the c++ compiler relating specifically to the imagemagick, boost and python libraries.

Of note the configure script is filling the variables:

$(PYTHON_CPPFLAGS)
$(BOOST_CPPFLAGS)
$(MAGICKPP_CFLAGS)

With the correct values, they're just never making it to the c++ call

I fixed this by moving the following statements to just before the
"all" target, in the Makefile.in files contained in the project.

CXXFLAGS=$(PYTHON_CPPFLAGS) $(BOOST_CPPFLAGS) $(MAGICKPP_CFLAGS)

CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS)
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)
$(AM_CXXFLAGS) $(CXXFLAGS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant