Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lmemcache Writing Makefile for Cache::Memcached::XS cp lib/Cache/Memcached/XS.pm blib/lib/Cache/Memcached/XS.pm /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap -typemap typemap XS.xs > XS.xsc && mv XS.xsc XS.c Please specify prototyping behavior for XS.xs (see perlxs manual) gcc -c -I. -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" XS.c XS.xs:7:22: error: memcache.h: No such file or directory XS.xs:13: warning: parameter names (without types) in function declaration XS.xs: In function 'my_callback_func': XS.xs:17: error: 'MCM_CALLBACK_PTR' undeclared (first use in this function) XS.xs:17: error: (Each undeclared identifier is reported only once XS.xs:17: error: for each function it appears in.) XS.xs:18: error: 'MCM_CALLBACK_CTXT' undeclared (first use in this function) XS.xs:19: error: 'MCM_CALLBACK_RES' undeclared (first use in this function) XS.xs:28: error: dereferencing pointer to incomplete type XS.xs:28: error: 'MCM_RES_FOUND' undeclared (first use in this function) XS.xs:44: error: dereferencing pointer to incomplete type XS.xs:44: error: dereferencing pointer to incomplete type XS.xs:44: error: dereferencing pointer to incomplete type XS.xs:44: error: dereferencing pointer to incomplete type XS.xs:49: error: dereferencing pointer to incomplete type XS.xs:49: error: dereferencing pointer to incomplete type XS.xs:49: error: dereferencing pointer to incomplete type XS.xs: In function 'XS_Cache__Memcached__XS_mc_set': XS.xs:106: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type XS.xs: In function 'XS_Cache__Memcached__XS_mc_add': XS.xs:122: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type XS.xs: In function 'XS_Cache__Memcached__XS_mc_replace': XS.xs:138: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type XS.xs:7:22: error: memcache.h: No such file or directory XS.xs:13: warning: parameter names (without types) in function declaration XS.xs: In function 'my_callback_func': XS.xs:17: error: 'MCM_CALLBACK_PTR' undeclared (first use in this function) XS.xs:17: error: (Each undeclared identifier is reported only once XS.xs:17: error: for each function it appears in.) XS.xs:18: error: 'MCM_CALLBACK_CTXT' undeclared (first use in this function) XS.xs:19: error: 'MCM_CALLBACK_RES' undeclared (first use in this function) XS.xs:28: error: dereferencing pointer to incomplete type XS.xs:28: error: 'MCM_RES_FOUND' undeclared (first use in this function) XS.xs:44: error: dereferencing pointer to incomplete type XS.xs:44: error: dereferencing pointer to incomplete type XS.xs:44: error: dereferencing pointer to incomplete type XS.xs:44: error: dereferencing pointer to incomplete type XS.xs:49: error: dereferencing pointer to incomplete type XS.xs:49: error: dereferencing pointer to incomplete type XS.xs:49: error: dereferencing pointer to incomplete type XS.xs: In function 'XS_Cache__Memcached__XS_mc_set': XS.xs:106: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type XS.xs: In function 'XS_Cache__Memcached__XS_mc_add': XS.xs:122: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type XS.xs: In function 'XS_Cache__Memcached__XS_mc_replace': XS.xs:138: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type lipo: can't open input file: /var/tmp//ccTLnMZM.out (No such file or directory) make: *** [XS.o] Error 1