SaltwaterC/mime-magic — Issue #4: Error install on OSX Lion (file(1) is not installed)
Author: dmmalam
Created: 2012-03-06 18:19:39+00:00
State: open

Seems like the makefile can't find the built in file.
It's in /usr/bin/file, dunno if this is different from snow leopard?

```bash
npm install mime-magic

npm info it worked if it ends with ok
npm info using npm@1.1.0-3
npm info using node@v0.6.10
npm http GET https://registry.npmjs.org/mime-magic
npm http 304 https://registry.npmjs.org/mime-magic
npm info into /Users/dharmesh/Code/dumply mime-magic@0.2.6
npm info installOne mime-magic@0.2.6
npm info unbuild /Users/dharmesh/Code/dumply/node_modules/mime-magic
npm info preuninstall mime-magic@0.2.6

> mime-magic@0.2.6 preuninstall /Users/dharmesh/Code/dumply/node_modules/mime-magic
> node make.js purge

rm -rf src/
rm -rf bin/.libs
rm -f bin/file
npm info uninstall mime-magic@0.2.6
npm info postuninstall mime-magic@0.2.6
npm info preinstall mime-magic@0.2.6

> mime-magic@0.2.6 preinstall /Users/dharmesh/Code/dumply/node_modules/mime-magic
> node make.js build

tools/build.sh
tools/build.sh: line 22: cd: arc: No such file or directory
file(1) is not installed
tar: Error opening archive: Failed to open 'file-5.11.tar.gz'
mkdir: ../src: File exists
mv: rename file-5.11 to ../src/file-5.11: No such file or directory
tools/build.sh: line 31: cd: src/file-5.11: No such file or directory
tools/build.sh: line 32: ./configure: No such file or directory
make[1]: *** No targets specified and no makefile found. Stop.
cp: src/file-5.11/magic/magic.mgc: No such file or directory
tools/build.sh: line 38: ./src/file-5.11/src/file: No such file or directory
cp: src/file-5.11/src/file: No such file or directory
cp: src/file-5.11/src/.libs/file: No such file or directory
npm info build /Users/dharmesh/Code/dumply/node_modules/mime-magic
npm info linkStuff mime-magic@0.2.6
npm info install mime-magic@0.2.6
npm info postinstall mime-magic@0.2.6
mime-magic@0.2.6 ./node_modules/mime-magic
npm info ok```