Thursday, November 11, 2010
expat.h: No such file or directory
Q: New system, first build, hitting this compile error for expat:
xml_utils.c:61:19: error: expat.h: No such file or directorymake[4]: *** [obj/native-linux-x86/xml_utils.o] Error 1
A: You're missing a few packages in your new system. Become root and add package expat-devel.
$ yum install expat-devel
To verify:
$ ll /usr/include/expat.h
xml_utils.c:61:19: error: expat.h: No such file or directorymake[4]: *** [obj/native-linux-x86/xml_utils.o] Error 1
A: You're missing a few packages in your new system. Become root and add package expat-devel.
$ yum install expat-devel
To verify:
$ ll /usr/include/expat.h
free invisible web counter