Hide Forgot
Description of problem: The following line seems to be the new way of generating headers from idl files python /usr/lib64/xulrunner-sdk-2/sdk/bin/header.py -I `pkg-config --variable=idldir libxul` nsISpicec.idl -o nsISpicec.h However, the generated header includes a file from nspr. CXX libnsISpicec_la-nsScriptablePeer.lo In file included from /usr/include/xulrunner-sdk-2/nsError.h:42:0, from nsScriptablePeer.cpp:54: /usr/include/xulrunner-sdk-2/nscore.h:58:21: fatal error: prtypes.h: No such file or directory compilation terminated. It would be great to have the needed cflags given by a pkgconfig, instead of hardcoding something that might change. Same applies to rpm package depedencies. Version-Release number of selected component (if applicable): xulrunner-devel-9.0.1-1.fc16.x86_64
`pkg-config --cflags libxul` will work here for the include dir.