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 }}
Repository navigation
install_server fails on OS X without GNU sed #1922
Redis install was great, passed all tests, but the install_server.sh script failed for me:
mshertzberg@forge ~/git/redis/redis-stable/utils $ _ ./install_server.sh
Welcome to the redis service installer
This script will help you easily set up a running redis server
Please select the redis port for this instance: [6379]
Selecting default: 6379
Please select the redis config file name [/etc/redis/6379.conf]
Selected default - /etc/redis/6379.conf
Please select the redis log file name [/var/log/redis_6379.log]
Selected default - /var/log/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379]
Selected default - /var/lib/redis/6379
Please select the redis executable path [/usr/local/bin/redis-server]
Selected config:
Port : 6379
Config file : /etc/redis/6379.conf
Log file : /var/log/redis_6379.log
Data dir : /var/lib/redis/6379
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
cp: cannot create regular file ‘/etc/init.d/redis_6379’: No such file or directory
ERROR: Could not copy redis init script to /etc/init.d/redis_6379. Aborting!
If i'm not mistaken, -r is specific to GNU sed and I don't believe OS X ships with GNU sed. OS X's equiv. would be -E.
mshertzberg@forge ~/git/redis/redis-stable/utils $ uname -a
Darwin forge.local 14.0.0 Darwin Kernel Version 14.0.0: Wed Jul 16 00:46:31 PDT 2014; root:xnu-2782.1.43.0.2~2/RELEASE_X86_64 x86_64 i386 MacBookAir4,2 Darwin
Activity
badboy commentedon Aug 8, 2014
Thanks. I still have pending changes for that file anyway. I'll take a look at this
Don't use extended Regexp Syntax
Don't use extended Regexp Syntax
Don't use extended Regexp Syntax
Don't use extended Regexp Syntax
Don't use extended Regexp Syntax