Coder Social home page Coder Social logo

homebrew-tap's People

Contributors

cooltoast avatar jiffyclub avatar kirk-clover avatar lganclover avatar radubogdan avatar rawrgrr avatar wesleykendall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-tap's Issues

Thank you

❤️ ❤️ ❤️

Was struggling with this yesterday and its amazing that you have put it together!

Want PostgreSQL 10 but Postgis now pulls in 11!

I just started working on a project that uses PostgreSQL 10 and postgis, but when I asked brew to install postgresql@10 and then postgis, postgis pulled in the default postgresql, which is now 11.2_1.

Any plans to update this tap for PostgreSQL and whatever version of postgis works with it?

hopefully,

-dave

postgis install fails

lwin_geojson.c:36:10: fatal error: 'json-c/json_object_private.h' file not found

PostGIS 2.3.2 needs 'json_object_private.h', but the newest version of json-c(0.13.1) no longer includes it.
PostGIS 2.5.0 no longer requires that header.
postgis/postgis@ccb7b1c

I was able to get around this by pulling the file from the json-c repo into the location where homebrew installs json-c:
wget -O - https://raw.githubusercontent.com/json-c/json-c/master/json_object_private.h > /usr/local/Cellar/json-c/0.13.1/include/json-c

Could not find proj_api.h

When I try to install postgis, I get this error:

==> Downloading https://download.osgeo.org/postgis/source/postgis-2.4.4.tar.gz
######################################################################## 100.0%
==> ./configure --with-projdir=/usr/local/opt/proj --with-jsondir=/usr/local/opt/json-c --with-pgconfig=/usr/local/opt/postgresql/bin/pg_config --disable-nls
Last 15 lines from /Users/sebastienkerbrat/Library/Logs/Homebrew/postgis/01.configure:
checking for gmsgfmt... /usr/local/opt/gettext/bin/msgfmt
checking for xgettext... /usr/local/opt/gettext/bin/xgettext
checking for msgmerge... /usr/local/opt/gettext/bin/msgmerge
checking for ld used by GCC... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... /bin/sh: build-aux/config.rpath: No such file or directory
done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking whether to use NLS... no
Using user-specified proj directory: /usr/local/opt/proj
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

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/cloverhealth/homebrew-tap/issues

I think this might be caused by this update in proj 6.0.0 that would cause it to be incompatible with postgis 4.4:

Deprecated the proj_api.h interface. The header file is still available but will be removed with the next major version release of PROJ. It is now required to define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H before the interface can be used (#836)

A workaround could be to make the script use an older version of proj but I didn't manage to do it.

Mismatch postgis versions

Hi! 👋🏻

The repo's description (on the GitHub page itself) says:

Homebrew formulas for Postgres 9.6 and Postgis 2.4

But the README says:

Installing Postgres 9.6 and Postgis 2.5

That's all.

Error: Failed to install plist file

On macOS High Sierra 10.13.4. At this step: brew install cloverhealth/tap/postgresql, encountered the following error:

==> Installing postgresql from cloverhealth/tap
==> Downloading https://ftp.postgresql.org/pub/source/v9.6.5/postgresql-9.6.5.ta
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/postgresql/9.6.5 --datadir=/usr/local
==> make
==> make install-world datadir=/usr/local/Cellar/postgresql/9.6.5/share/postgres
Error: Failed to install plist file
==> /usr/local/Cellar/postgresql/9.6.5/bin/initdb /usr/local/var/postgres
Error: Calling <<-EOS.undent is disabled!
Use <<~EOS instead.
/usr/local/Homebrew/Library/Taps/cloverhealth/homebrew-tap/postgresql.rb:108:in `caveats'
Please report this to the cloverhealth/tap tap!
Or, even better, submit a PR to fix it!

Same error appears for the following step: brew install cloverhealth/tap/postgis.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.