arthurnn / memcached

A Ruby interface to the libmemcached C client
Academic Free License v3.0
432 stars 127 forks source link

1.4.4 fails to install #104

Closed kostya closed 12 years ago

kostya commented 12 years ago

ubuntu 11.10, ree, 1.9.3 gcc 4.6.1

make[2]: Entering directory `/home/kostya/.rvm/gems/ruby-1.9.3-p194/gems/memcached-1.4.4/ext/libmemcached-0.32/libmemcached'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H   -I.. -I.. -ggdb3   -O3  -pedantic -Wall -Wextra -Wundef -Wshadow  -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op     -pthread -fPIC  -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings  -Werror=implicit-function-declaration  -fPIC   -fPIC -c -o libmemcached_la-crc.lo `test -f 'crc.c' || echo './'`crc.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -ggdb3 -O3 -pedantic -Wall -Wextra -Wundef -Wshadow -fdiagnostics-show-option -fvisibility=hidden -Wformat=2 -Wconversion -Wstrict-aliasing -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wswitch-default -Wswitch-enum -Wwrite-strings -Wlogical-op -pthread -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=implicit-function-declaration -fPIC -fPIC -c crc.c -o libmemcached_la-crc.o
In file included from common.h:52:0,
                 from crc.c:7:
../libmemcached/memcached.h:31:42: fatal error: libmemcached/memcached_exist.h: No such file or directory
compilation terminated.
make[2]: *** [libmemcached_la-crc.lo] Error 1
make[2]: Leaving directory `/home/kostya/.rvm/gems/ruby-1.9.3-p194/gems/memcached-1.4.4/ext/libmemcached-0.32/libmemcached'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/kostya/.rvm/gems/ruby-1.9.3-p194/gems/memcached-1.4.4/ext/libmemcached-0.32/libmemcached'
make: *** [install-recursive] Error 1

(1.4.3 installation is ok)

ccocchi commented 12 years ago

memcached_exist.h is missing in memcached.gemspec

evan commented 12 years ago

Thanks; fixed in 1.4.5.