You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
Apologies if this is in the wrong place. If it should be raised on the puppet-memcached repo, please let me know.
When attempting to install PHP 5.4 with the memcached extension, I run in to difficulty with libmemcached.
Here's the interesting bit of my manifest:
include memcached
include memcached::lib
$PHPVersion = '5.4.16'
php::version {$PHPVersion: }
php::extension::memcached {'Memcached for PHP':
php => $PHPVersion,
version => '2.2.0'
}
include mysql
mysql::db { 'mydb': }
I have forcibly uninstalled memcached and libmemcached from brew to prevent 'already installed' errors. When I run boxen, I see this:
--> Preparing to auto-update...
--> Skipping auto-update, as requested
Warning: Scope(Php::Version[5.4.16]): You are installing PHP 5.4.16 which is known to be insecure. The current secure 5.4.X version is 5.4.40
Notice: Compiled catalog for rosss-macbook-pro.local in environment production in 12.59 seconds
Notice: /Stage[main]/Osx::Dock::Clear_dock/Boxen::Osx_defaults[Remove all the pinned icons]/Exec[osx_defaults write com.apple.dock:persistent-apps=>()]/returns: executed successfully
Notice: /Stage[main]/Osx::Dock/Exec[killall Dock]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Memcached::Package/Package[boxen/brews/memcached]/ensure: created
Error: Could not update: Execution of 'brew boxen-install boxen/brews/libmemcached' returned 1: ==> Installing libmemcached from boxen/homebrew-brews
==> Installing libmemcached dependency: memcached
==> Downloading https://homebrew.bintray.com/bottles/memcached-1.4.24.yosemite.bottle.tar.gz
Already downloaded: /opt/boxen/cache/homebrew/memcached-1.4.24.yosemite.bottle.tar.gz
==> Pouring memcached-1.4.24.yosemite.bottle.tar.gz
==> Caveats
To have launchd start memcached at login:
ln -sfv /opt/boxen/homebrew/opt/memcached/*.plist ~/Library/LaunchAgents
Then to load memcached now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
Or, if you don't want/need launchctl, you can just run:
/opt/boxen/homebrew/opt/memcached/bin/memcached
==> Summary
🍺 /opt/boxen/homebrew/Cellar/memcached/1.4.24: 10 files, 192K
==> Installing libmemcached
==> Downloading https://launchpad.net/libmemcached/1.0/1.0.15/+download/libmemcached-1.0.15.tar.gz
Already downloaded: /opt/boxen/cache/homebrew/libmemcached-1.0.15-boxen1.tar.gz
==> ./configure --prefix=/opt/boxen/homebrew/Cellar/libmemcached/1.0.15-boxen1
==> make install
CXX libhashkit/libhashkit_libhashkitinc_la-md5.lo
1 error generated.
make[1]: *** [libtest/dream.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/boxen/homebrew-brews/issues
Wrapped exception:
Execution of 'brew boxen-install boxen/brews/libmemcached' returned 1: ==> Installing libmemcached from boxen/homebrew-brews
==> Installing libmemcached dependency: memcached
==> Downloading https://homebrew.bintray.com/bottles/memcached-1.4.24.yosemite.bottle.tar.gz
Already downloaded: /opt/boxen/cache/homebrew/memcached-1.4.24.yosemite.bottle.tar.gz
==> Pouring memcached-1.4.24.yosemite.bottle.tar.gz
==> Caveats
To have launchd start memcached at login:
ln -sfv /opt/boxen/homebrew/opt/memcached/*.plist ~/Library/LaunchAgents
Then to load memcached now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
Or, if you don't want/need launchctl, you can just run:
/opt/boxen/homebrew/opt/memcached/bin/memcached
==> Summary
🍺 /opt/boxen/homebrew/Cellar/memcached/1.4.24: 10 files, 192K
==> Installing libmemcached
==> Downloading https://launchpad.net/libmemcached/1.0/1.0.15/+download/libmemcached-1.0.15.tar.gz
Already downloaded: /opt/boxen/cache/homebrew/libmemcached-1.0.15-boxen1.tar.gz
==> ./configure --prefix=/opt/boxen/homebrew/Cellar/libmemcached/1.0.15-boxen1
==> make install
CXX libhashkit/libhashkit_libhashkitinc_la-md5.lo
1 error generated.
make[1]: *** [libtest/dream.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/boxen/homebrew-brews/issues
Error: /Stage[main]/Memcached::Lib/Package[boxen/brews/libmemcached]/ensure: change from absent to 1.0.15-boxen1 failed: Could not update: Execution of 'brew boxen-install boxen/brews/libmemcached' returned 1: ==> Installing libmemcached from boxen/homebrew-brews
==> Installing libmemcached dependency: memcached
==> Downloading https://homebrew.bintray.com/bottles/memcached-1.4.24.yosemite.bottle.tar.gz
Already downloaded: /opt/boxen/cache/homebrew/memcached-1.4.24.yosemite.bottle.tar.gz
==> Pouring memcached-1.4.24.yosemite.bottle.tar.gz
==> Caveats
To have launchd start memcached at login:
ln -sfv /opt/boxen/homebrew/opt/memcached/*.plist ~/Library/LaunchAgents
Then to load memcached now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
Or, if you don't want/need launchctl, you can just run:
/opt/boxen/homebrew/opt/memcached/bin/memcached
==> Summary
🍺 /opt/boxen/homebrew/Cellar/memcached/1.4.24: 10 files, 192K
==> Installing libmemcached
==> Downloading https://launchpad.net/libmemcached/1.0/1.0.15/+download/libmemcached-1.0.15.tar.gz
Already downloaded: /opt/boxen/cache/homebrew/libmemcached-1.0.15-boxen1.tar.gz
==> ./configure --prefix=/opt/boxen/homebrew/Cellar/libmemcached/1.0.15-boxen1
==> make install
CXX libhashkit/libhashkit_libhashkitinc_la-md5.lo
1 error generated.
make[1]: *** [libtest/dream.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/boxen/homebrew-brews/issues
Notice: /Stage[main]/Memcached::Service/Service[com.boxen.memcached]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/Memcached::Service/Service[dev.memcached]: Triggered 'refresh' from 1 events
Notice: /Stage[main]/People::Rossmcf/Php::Extension::Memcached[Memcached for PHP]/Php_extension[Memcached for PHP]: Dependency Package[boxen/brews/libmemcached] has failures: true
Warning: /Stage[main]/People::Rossmcf/Php::Extension::Memcached[Memcached for PHP]/Php_extension[Memcached for PHP]: Skipping because of failed dependencies
Notice: /Stage[main]/People::Rossmcf/Mysql::Db[mydb]/Exec[create mysql db mydb]/returns: mysqladmin: connect to server at '127.0.0.1' failed
Notice: /Stage[main]/People::Rossmcf/Mysql::Db[mydb]/Exec[create mysql db mydb]/returns: error: 'Can't connect to MySQL server on '127.0.0.1' (61)'
Notice: /Stage[main]/People::Rossmcf/Mysql::Db[mydb]/Exec[create mysql db mydb]/returns: Check that mysqld is running on 127.0.0.1 and that the port is 13306.
Notice: /Stage[main]/People::Rossmcf/Mysql::Db[mydb]/Exec[create mysql db mydb]/returns: You can check this by doing 'telnet 127.0.0.1 13306'
Error: mysqladmin -h127.0.0.1 -uroot -p13306 create mydb --password='' returned 1 instead of one of [0]
Error: /Stage[main]/People::Rossmcf/Mysql::Db[mydb]/Exec[create mysql db mydb]/returns: change from notrun to 0 failed: mysqladmin -h127.0.0.1 -uroot -p13306 create mydb --password='' returned 1 instead of one of [0]
Notice: /Stage[main]/People::Rossmcf/Php::Version[5.4.16]/File[/opt/boxen/config/php/5.4.16]/ensure: created
Notice: /Stage[main]/People::Rossmcf/Php::Version[5.4.16]/File[/opt/boxen/config/php/5.4.16/conf.d]/ensure: created
Notice: /Stage[main]/People::Rossmcf/Php::Version[5.4.16]/File[/opt/boxen/config/php/5.4.16/php.ini]/ensure: defined content as '{md5}29c0b10be150a7e86f8971023b44d6f3'
Notice: /Stage[main]/People::Rossmcf/Php::Extension::Memcached[Memcached for PHP]/File[/opt/boxen/config/php/5.4.16/conf.d/memcached.ini]: Dependency Package[boxen/brews/libmemcached] has failures: true
Warning: /Stage[main]/People::Rossmcf/Php::Extension::Memcached[Memcached for PHP]/File[/opt/boxen/config/php/5.4.16/conf.d/memcached.ini]: Skipping because of failed dependencies
The text was updated successfully, but these errors were encountered:
Apologies if this is in the wrong place. If it should be raised on the puppet-memcached repo, please let me know.
When attempting to install PHP 5.4 with the memcached extension, I run in to difficulty with libmemcached.
Here's the interesting bit of my manifest:
I have forcibly uninstalled memcached and libmemcached from brew to prevent 'already installed' errors. When I run boxen, I see this:
The text was updated successfully, but these errors were encountered: