Hi Flashrom community,

I'm trying to install Flashrom 0.9.7 on OS X v10.9.2 and I download the source, and then use terminal commands

cd 
make

AND I get an error

Checking for libpci headers... .test.c:3:10: fatal error: 'pci/pci.h' file not found
#include <pci/pci.h>

So I read that I need to install PCUtils, and again, using the cd and then make, I get an error

192:~ ouimetnick$ cd /Users/ouimetnick/Desktop/flashrom/pciutils-3.1.9 
192:pciutils-3.1.9 ouimetnick$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all
make[1]: *** No rule to make target `/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h', needed by `DirectHW.o'.  Stop.
make: *** [lib/libpci.a] Error 2
192:pciutils-3.1.9 ouimetnick$

How do I fix and install this?

Also, DirectHW needs to be installed, and when attempting to install that (using the cd, and then make command), I get the following

** BUILD FAILED **


The following build commands failed:
CompileC build/DirectHW.build/Release/KEXT.build/Objects-normal/i386/DirectHW.o DirectHW.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
make: *** [build] Error 65
192:DirectHW ouimetnick$

Could anyone offer some help? I want to get Flashrom running so I can use my Bus Pirate.

Thanks,
Nick
ouimetnick@gmail.com