Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 222 by [email protected]: memcached 1.4.7 fails to build on
OSX systems
http://code.google.com/p/memcached/issues/detail?id=222
What steps will reproduce the problem?
1. Download source
2. Run configure
3. Watch it fail
What is the expected output? What do you see instead?
I expect it to succeed and build. Instead it fails
What version of the product are you using? On what operating system?
1.4.7 on OSX 10.6 and 10.7
Please provide any additional information below.
Building memcached works perfectly with version 1.4.5. It fails with
version 1.4.7 because it inserts -rpath lines which OSX doesn't understand:
configure:5874: gcc -std=gnu99 -o conftest -g -O2 -pthread
-I/opt/zimbra/memcached-1.4.7/include -L/opt/zimbra/memcached-1.4.7/lib
-Wl,-rpath=/opt/zimbra/memcached-1.4.7/lib conftest.c -levent >&5
ld: unknown option: -rpath=/opt/zimbra/memcached-1.4.7/lib
collect2: ld returned 1 exit status
Vs a 1.4.5 build:
configure:6838: gcc -std=gnu99 -o conftest -g -O2 -pthread
-I/opt/zimbra/memcached-1.4.5/include -L/opt/zimbra/memcached-1.4.5/lib
conftest.c -levent >&5