Checking if your kit is complete... Looks good Writing Makefile for Authen::Smb::smbvalid Writing Makefile for Authen::Smb cp Smb.pm blib/lib/Authen/Smb.pm AutoSplitting blib/lib/Authen/Smb.pm (blib/lib/auto/Authen/Smb) cd smbval && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-g" PREFIX="/Users/cpanrun/build/5.8.8" PASTHRU_DEFINE="" PASTHRU_INC="" gcc -c -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 -Wdeclaration-after-statement -g -DVERSION=\"\" -DXS_VERSION=\"\" "-I/Users/cpanrun/build/5.8.8/lib/5.8.8/darwin-thread-multi-2level/CORE" valid.c gcc -c -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 -Wdeclaration-after-statement -g -DVERSION=\"\" -DXS_VERSION=\"\" "-I/Users/cpanrun/build/5.8.8/lib/5.8.8/darwin-thread-multi-2level/CORE" session.c session.c:26:20: error: malloc.h: No such file or directory session.c:26:20: error: malloc.h: No such file or directory session.c: In function 'RFCNB_Call': session.c:67: warning: incompatible implicit declaration of built-in function 'malloc' session.c: In function 'RFCNB_Call': session.c:67: warning: incompatible implicit declaration of built-in function 'malloc' lipo: can't open input file: /var/tmp//ccRqfQVE.out (No such file or directory) make[1]: *** [session.o] Error 1 make: *** [smbval/smbvalid.a] Error 2