chnaghong1990 / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Unable to install redis on Mac OSX Leopard #115

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download and tar
2. cd redis-1.02
3. make

What is the expected output? What do you see instead?
centurydaily-lm:redis-1.02 sabhinav$ make
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   adlist.c
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   ae.c
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   anet.c
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   dict.c
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   redis.c
redis.c: In function 'getMcontextEip':
redis.c:4309: error: 'struct __darwin_x86_thread_state64' has no member
named '__eip'
make: *** [redis.o] Error 1

What version of the product are you using? On what operating system?
centurydaily-lm:redis-1.02 sabhinav$ uname -a
Darwin centurydaily-lm.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

Please provide any additional information below.

Original issue reported on code.google.com by mailsfor...@gmail.com on 30 Nov 2009 at 7:02

GoogleCodeExporter commented 8 years ago
Hello, can you please try with Redis git? Thanks

Original comment by anti...@gmail.com on 30 Nov 2009 at 7:10

GoogleCodeExporter commented 8 years ago
centurydaily-lm:binaries sabhinav$ git clone git://github.com/antirez/redis.git
Initialized empty Git repository in /Users/sabhinav/binaries/redis/.git/
remote: Counting objects: 1940, done.
remote: Compressing objects: 100% (946/946), done.
remote: Total 1940 (delta 1242), reused 1520 (delta 931)
Receiving objects: 100% (1940/1940), 561.71 KiB | 28 KiB/s, done.
Resolving deltas: 100% (1242/1242), done.

centurydaily-lm:binaries sabhinav$ cd redis/

centurydaily-lm:redis sabhinav$ make
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   adlist.c
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   ae.c
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   anet.c
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   dict.c
cc -c -arch x86_64 -g -Os -pipe -no-cpp-precomp -g -rdynamic -ggdb   redis.c
redis.c: In function 'getMcontextEip':
redis.c:6222: error: 'struct __darwin_x86_thread_state64' has no member named 
'__eip'
make: *** [redis.o] Error 1

Lemme know if anything can be done here

Original comment by mailsfor...@gmail.com on 1 Dec 2009 at 8:33

GoogleCodeExporter commented 8 years ago
Can you try what happens after a git pull? I just committed a patch that could 
work. 
Thanks.

Original comment by anti...@gmail.com on 1 Dec 2009 at 10:53

GoogleCodeExporter commented 8 years ago
Just pulled da0a1620771c54bb67cdef46dae40f005133b8d1 and compiled successfully 
on Snow Leopard with 
64bit Kernel.

Original comment by ggars...@gmail.com on 1 Dec 2009 at 11:05

GoogleCodeExporter commented 8 years ago
Thanks a ton.
Compiled, runned and passed all tests :D
Really a great effort in bringing such a scalable server out for us all :)

Cheers,
Abhinav

Original comment by mailsfor...@gmail.com on 1 Dec 2009 at 1:51