On 02/24/2010 02:47 AM, "Markus Koßmann" wrote:
Because "gtk/gtk.h" is searched only in /usr/include unless there is a -I flag in the compiler command line which adds another path.
However I'am not sure how to fix it. Might it be that this version of sawfish needs to be build against gtk-1 ? Then you have to install the gtk-1 development stuff , which should provide /usr/include/gtk/gtk.h.
Why do you want to build sawfish-1.3.5 ? There is 1.6.1 in the repos ( Use http://software.opensuse.org/search to find it)
If you really need to build 1.35 and it builds against gtk-2 the proper fix is to modify the src.rpm so that it adds a -I /usr/include/gtk-2.0 at the the compiler command line. As quick and dirty workaround you could try a link /usr/include/gtk->/usr/include/gtk-2.0/gtk.
dh and I are working on a current sawfish in OBS, after testing the 1.6.1 x86_64 rpm build from the sources we collected (they bombed), I was rebuilding my working setup. I just had the 1.3.5 src.rpms handy :p 1.3.5 is a gtk-2.0 app. I agree, the problem is simple to fix, I just need -I /usr/include/gtk-2.0 at the compile line, but where do I tell rpmbuild to include it? I have tried to edit the #include "gtk/gtk.h" to "/usr/include/gtk-2.0/gtk/gtk.h", but I can't copy the modified source back into the BUILD directory at a time that prevents it from being overwritten by rpmbuild extracting the original sources again. (I guess I could repackage the source, but that seems like a cludge). I can pass configure options to rpmbuild, so I guess that's the next try. Thanks. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org