On 04/05/2011 11:52 AM, Ilya Chernykh wrote:
You can try "export CPPFLAGS="-I/usr/include/wheretheheadersare" in your spec file, use a -I for each place that your build can't find. This can also be added to your make command as "make CPPFLAGS=-I/usr/include/wheretheheadersare" or try using "make --environment-overrides" you might need a combination of both ie. "make --environment-overrides CPPFLAGS=-I/usr/include/wheretheheadersare" Last thing to try is adding the "-I" statements to CXXFLAGS and CFLAGS although CPPFLAGS are supposed to be for the -I includes etc.
It does not help.
And in addition, cmake does not show with which options the compiler is executed. I do not know what to do now. cmake-gui is useful for finding options.
If you post your main (top source directory) CMakeLists.txt somewhere where I can read it I may be able to help, cmake very often doesn't show the variables and you have to read the top level CMakeLists.txt to find them and sometimes but not often they are hidden in subdirectory CMakeLists.txt. There's also a small possibility that "pkg-config" is needed for your build but isn't installed. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org