Opened 15 years ago
Closed 14 years ago
#20295 closed defect (fixed)
ppc redis-0.900_2 compile fails in redis.c: In function 'getMcontextEip'
Reported by: | harry.weppner@… | Owned by: | brianjlandau@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | arto.bendiken@… | |
Port: | redis |
Description
Compile of redis.c fails on ppc, cf. log below
> install redis ---> Fetching redis ---> Attempting to fetch redis-0.900_2.tar.gz from http://redis.googlecode.com/files/ ---> Verifying checksum(s) for redis ---> Extracting redis ---> Configuring redis ---> Building redis Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_redis/work/redis-0.900" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb adlist.c /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb ae.c /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb anet.c /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb dict.c /usr/bin/gcc-4.0 -c -std=c99 -pedantic -O2 -Wall -W -g -rdynamic -ggdb redis.c redis.c: In function 'getMcontextEip': redis.c:4305: error: 'struct __darwin_ppc_thread_state' has no member named '__eip' make: *** [redis.o] Error 1 Error: Status 1 encountered during processing.
Attachments (1)
Change History (11)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to brianjlandau@… |
---|
comment:2 Changed 15 years ago by brianjlandau@…
comment:3 Changed 15 years ago by harry.weppner@…
added log output - doesn't appear to add much new info...
Thanks, Harry.
comment:4 follow-up: 5 Changed 15 years ago by brianjlandau@…
What model machine are you using and what version of Mac OS X are you using? (Thanks for already saying that it's a PPC that's very helpful)
comment:5 Changed 15 years ago by harry.weppner@…
Replying to brianjlandau@…:
What model machine are you using and what version of Mac OS X are you using? (Thanks for already saying that it's a PPC that's very helpful)
it's a G5 dual 1.8 w/ 10.5.7
comment:6 Changed 15 years ago by tobypeterson
Summary: | redis-0.900_2 compile fails in redis.c: In function 'getMcontextEip' → ppc redis-0.900_2 compile fails in redis.c: In function 'getMcontextEip' |
---|
comment:7 Changed 15 years ago by aigeruth@…
Modify line 4304:
#elif defined(APPLE) && !defined(MAC_OS_X_VERSION_10_6)
add && defined(i386)
result: #elif defined(APPLE) && !defined(MAC_OS_X_VERSION_10_6) && defined(i386)
comment:9 Changed 15 years ago by arto.bendiken@…
I was also experiencing this problem when trying to install the latest MacPorts-supplied Redis version (1.2.1) on a PowerMac G5 running Mac OS X 10.5.8.
Thanks to aigeruth's comment above, though, I was able to fix the problem by changing line 6280 of redis.c from:
#elif defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_6)
to:
#elif defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_6) && defined(__i386__)
I will post a link to this issue to the related bug report (http://code.google.com/p/redis/issues/detail?id=119) on Google Code.
comment:10 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed as per comment in upstream ticket in r73397.
Can you run:
sudo port -d install redis > redis.log 2>&1
and attach the created redis.log file please.