ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

gmp.h header not found #663

Open astrojuanlu opened 8 years ago

astrojuanlu commented 8 years ago

I'm trying to build a package depending on Anaconda gmp on Linux but it's unable to find the header, even though it seems to be present in the gmp package. Apparently OS X doesn't have this problem.

This issue was already reported a month ago on the mailing list:

https://groups.google.com/d/msg/cobra-pie/twANzZ1_fgA/ZsTBXtBZCgAJ

Here is the failing build:

https://travis-ci.org/CAChemE/pyomo-recipes/jobs/109816101#L7549

astrojuanlu commented 8 years ago

I fixed it by including

export CFLAGS="-I$PREFIX/include"

I expected conda build to tell ./configure these paths, so perhaps I misunderstood and this is a non-issue. I leave the decision to close this to the maintainers.