liliuwei 发表于 2019-6-23 19:05:40

raspberrypi redis

Installing shared extensions:   /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/
Add to auto startup...
Add redis service at system startup...
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpmdone
Starting Redis server.../etc/init.d/redis: line 33: /usr/local/redis/bin/redis-server: No such file or directory
done
Redis install failed!

liliuwei 发表于 2019-6-23 19:10:26

redis-5.0.5.tar.gz
Uncompress redis-5.0.5.tar.gz...
cd redis-5.0.5...
cd src && make install
make: Entering directory '/home/pi/lnmp1.6-full/src/redis-5.0.5/src'
    CC Makefile.dep
rm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-rdb redis-check-aof *.o *.gcda *.gcno *.gcov redis.info lcov-html Makefile.dep dict-benchmark
(cd ../deps && make distclean)
make: Entering directory '/home/pi/lnmp1.6-full/src/redis-5.0.5/deps'
(cd hiredis && make clean) > /dev/null || true
(cd linenoise && make clean) > /dev/null || true
(cd lua && make clean) > /dev/null || true
(cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true
(rm -f .make-*)
make: Leaving directory '/home/pi/lnmp1.6-full/src/redis-5.0.5/deps'
(rm -f .make-*)
echo STD=-std=c99 -pedantic -DREDIS_STATIC='' >> .make-settings
echo WARN=-Wall -W -Wno-missing-field-initializers >> .make-settings
echo OPT=-O2 >> .make-settings
echo MALLOC=libc >> .make-settings
echo CFLAGS=-march=i686 >> .make-settings
echo LDFLAGS= >> .make-settings
echo REDIS_CFLAGS= >> .make-settings
echo REDIS_LDFLAGS= >> .make-settings
echo PREV_FINAL_CFLAGS=-std=c99 -pedantic -DREDIS_STATIC='' -Wall -W -Wno-missing-field-initializers -O2 -g -ggdb -march=i686-I../deps/hiredis -I../deps/linenoise -I../deps/lua/src >> .make-settings
echo PREV_FINAL_LDFLAGS=-g -ggdb -rdynamic >> .make-settings
(cd ../deps && make hiredis linenoise lua)
make: Entering directory '/home/pi/lnmp1.6-full/src/redis-5.0.5/deps'
(cd hiredis && make clean) > /dev/null || true
(cd linenoise && make clean) > /dev/null || true
(cd lua && make clean) > /dev/null || true
(cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true
(rm -f .make-*)
(echo "-march=i686" > .make-cflags)
(echo "" > .make-ldflags)
MAKE hiredis
cd hiredis && make static
make: Entering directory '/home/pi/lnmp1.6-full/src/redis-5.0.5/deps/hiredis'
cc -std=c99 -pedantic -c -O3 -fPIC -march=i686 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdbnet.c
cc: error: unrecognized argument in option ‘-march=i686’
cc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc armv8.1-a armv8.1-a+crc iwmmxt iwmmxt2 native

licess 发表于 2019-6-23 19:51:28

不大清除原因

liliuwei 发表于 2019-6-23 22:47:06

licess 发表于 2019-6-23 19:51
不大清除原因

后续还会调整吗

licess 发表于 2019-6-24 11:02:30

liliuwei 发表于 2019-6-23 22:47
后续还会调整吗

没有相关设备无法进行测试,无法确定原因
如果你那边设备方便的话可以,映射一下端口或者内网穿透提供ssh登录信息我们排查一下看看
页: [1]
查看完整版本: raspberrypi redis