Re: [sleuthkit-users] sleuthkit1.73 install prob MAC OS X 10.3.6
Brought to you by:
carrier
From: Seth A. <sa...@im...> - 2005-01-08 08:06:04
|
On Fri, Jan 07, 2005 at 10:38:04PM -0000, sle...@dn... wrote: > dnmacs-Computer:/Volumes/misc/sleuthkit-1.73 dnmac$ make CC=3Dgcc2 > cd src/misc; make "CC=3Dgcc2" MAKELEVEL=3D > gcc2 -DDARWIN -DVER=3D\"1.73\" -O -Wall -g -c -o mymalloc.o mymalloc.c > mymalloc.c:49: header file 'stdlib.h' not found > mymalloc.c:50: header file 'unistd.h' not found > mymalloc.c:51: header file 'string.h' not found > cpp-precomp: warning: errors during smart preprocessing, retrying in basi= c mode > make: *** [mymalloc.o] Error 1 > make: *** [defs] Error 2 > make: *** [no-perl] Error 2 > dnmacs-Computer:/Volumes/misc/sleuthkit-1.73 dnmac$=20 >=20 > And when I run "make CC=3Dgcc3" I get: > ( & make CC=3D/Volumes/osx/usr/bin/gcc2 ) >=20 > dnmacs-Computer:/Volumes/misc/sleuthkit-1.73 dnmac$ make CC=3Dgcc3 > cd src/misc; make "CC=3Dgcc3" MAKELEVEL=3D > gcc3 -DDARWIN -DVER=3D\"1.73\" -O -Wall -g -c -o mymalloc.o mymalloc.c > mymalloc.c:49: header file 'stdlib.h' not found > mymalloc.c:50: header file 'unistd.h' not found > mymalloc.c:51: header file 'string.h' not found > cpp-precomp: warning: errors during smart preprocessing, retrying in basi= c mode > make: *** [mymalloc.o] Error 1 > make: *** [defs] Error 2 > make: *** [no-perl] Error 2 > dnmacs-Computer:/Volumes/misc/sleuthkit-1.73 dnmac$=20 It appears that your GCC can't find standard system headers. Try to find the stdlib.h, unistd.h, and string.h headers. (The finder has a find command you can use; or you can run this command in the terminal: find / -name stdlib.h -print ) If you don't have these files, then you'll need to get them, probably =66rom Apple. They aren't a part of GCC proper, so I doubt that they would be included in the gcc2 or gcc3 packages. If you do have these files, then GCC hasn't found them. In the source code, these files are specified like this: #include <stdlib.h> #include <unistd.h> #include <string.h> The compiler has a "search path" to try to find these files -- you can modify the search path with -I/path/to/add/to/the/search/path. So, if your header files are located in /usr/include/macos/, then you might try running: make "CC=3Dgcc -I/usr/include/macos/" I hope this helps. |