Comments (5)
I had a similar issue with zlib on my osx install. Ended up working around by untapping homebrew/dupes, then removing the repo entirely, then re-tapping it again. After that, zlib was found properly.
from puppet-homebrew.
Hasn't been any recent activity on this so going to close. Please reopen if you're still running into this.
from puppet-homebrew.
I realize this is an old issue report, but I recently ran into these exact same symptoms with the current Boxen (BOXEN_SETUP_VERSION fd2ae87, Puppet 3.6.1) whenever I tried installing one of the Josegonzales PHP versions, like josegonzales/homebrew-php/php54.
Since I kept stumbling upon this post, I'd like to leave my workaround here for anyone experiencing the same issues. Using the install_options parameter, you can indicate that the system's existing zlib (present by default on osx) should be used:
exec { "tap-homebrew-dupes":
command => "brew tap homebrew/dupes",
creates => "${homebrew::config::tapsdir}/homebrew-dupes",
}
exec { "tap-josegonzalez-homebrew-php":
command => "brew tap josegonzalez/homebrew-php",
creates => "${homebrew::config::tapsdir}/josegonzalez-php",
require => Exec["tap-homebrew-dupes"],
}
package { "php54":
ensure => present,
require => [
Exec["tap-josegonzalez-homebrew-php"]
],
install_options => '--with-zlib-dir=/usr/include'
}
Instead of --with-zlib-dir=/path/to/system/zlib
you could also use --without-zlib
to skip around any issues. That's probably not such a good idea though, since many other packages require zlib's compression algorithms.
from puppet-homebrew.
@aapit Have you tried the boxen PHP module? It may be easier for you than running execs, and supports multiple versions 😄
from puppet-homebrew.
@mattheath I did look it over, but never realized it was this elaborate until now.
My php setup contains extensions like ssh2, which I so far only found out of the box in josegonzales' repo. But since the more manual Homebrew setup keeps running me into trouble, I'm giving puppet-php another go. So thanks!
from puppet-homebrew.
Related Issues (20)
- Merge with puppet-brewcask HOT 1
- Endless repository migration HOT 1
- Deprecate Homebrew::Hooks HOT 10
- Fail to install Nginx HOT 1
- Ensure 'latest' fails with wget 1.51_1
- Install hg error HOT 1
- Question: possible to remove boxen's dependency ? HOT 2
- Question: How to use bottles? HOT 3
- Is setting LDFLAG and CFLAG the right choice? HOT 1
- brew boxen-install HOT 1
- Request: move Boxen homebrew install to /usr/local HOT 15
- How to use bottles? HOT 1
- Fetch of homebrew repo doesn't retry in the face of failures HOT 2
- Brew update removes custom commands
- tap: support custom URL
- Error: Execution of 'brew update' returned 1: Error: Cowardly refusing to 'sudo brew update' HOT 24
- Not installing to the right directory HOT 3
- Support newer versions of homebrew HOT 2
- Boxen's hombrew calling Formula.sha1 which is deprecated HOT 2
- gcc48 brew calling Formula.sha1 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-homebrew.