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

Building postgres-binaries fails: missing geos-config #1

Closed
dominic opened this issue Apr 24, 2012 · 3 comments
Closed

Building postgres-binaries fails: missing geos-config #1

dominic opened this issue Apr 24, 2012 · 3 comments

Comments

@dominic
Copy link

dominic commented Apr 24, 2012

Error when building:

checking for geos-config... no
configure: error: could not find geos-config within the current path. You may need to try re-running configure with a --with-geosconfig parameter.

@mattt
Copy link
Contributor

mattt commented Apr 24, 2012

Can you make sure that the Postgres Binaries scheme has "parallelize build" unchecked? Are you able to get things to work if you build everything individually? (postgres -> geos -> gdal -> proj -> postgis)

@dominic
Copy link
Author

dominic commented Apr 24, 2012

Good call. Looks like everything builds individually correctly in that order, but postgres-binaries still fails after cleaned out the directory and started fresh. Am I missing something, or is gdal not included as a target dependency for postgres-binaries?

checking for gdal-config... no
checking for GDAL >= 1.6.0... not found
configure: error: gdal-config not found. Use --without-raster or try --with-gdalconfig=<path to gdal-config>
...
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking proj_api.h usability... no
checking proj_api.h presence... no
checking for proj_api.h... no
configure: error: could not find proj_api.h - you may need to specify the directory of a PROJ.4 installation using --with-projdir
make: *** [GNUmakefile] Error 1
Showing first 200 notices only

I'll dig deeper and see if I can get a consistent result out of this.

@mattt
Copy link
Contributor

mattt commented Apr 24, 2012

Gah, you're absolutely right. I totally forgot to add GDAL as a target dependency. Fixed in 444321f Thanks for hunting that down, dude :)

@mattt mattt closed this as completed Apr 24, 2012
chrispysoft added a commit that referenced this issue Aug 31, 2016
jakob added a commit that referenced this issue Aug 31, 2016
Include gem installation instructions to fix header problems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants