On Tue, 22 May 2007 20:27:53 -0700, Nathan Baker wrote: > Per instructions, I go into /scintilla/gtk/ and do a "sudo make" but it > stumbles all over the place. Doing a "make deps" suggests that I should > add the directory containing "gtk+-2.0.pc" but when I do a "find -iname > gtk+-2.0.pc" from root it can't find that file.
*.pc files are metadata files for the `pkg-config' utility, which is used by build scripts to retrieve information about installed libraries (eg. link options, etc.). Firstly, do you actually have GTK+ 2 installed? If so, I think it should have installed pkg-config and the SciTE build ought to pick that up. If you have an older system and only GTK+ 1 is installed you should have the older `gtk-config' utility instead. I see at the top of the makefile the comment: # If explicit setting of GTK1 or GTK2 then use that else look for # pkg-config which is an OK indication that GTK2 is available and the logic indicates that if neither of these variables are set and pkg-config is not found then the build assumes GTK+ 1 (and that gtk- config is available). It would help if you show us the actual errors output by `make'. > Also, I am not sure if this is related at all, but the Scite README > talks about static linking here: "The current make file only supports > static linking between SciTE and Scintilla." > > The README.Debian from "/usr/share/doc/libgtk2.0-0" has this to say > about it: "If you wish to link the GTK+ 2.0 libraries statically into > your program, please note that you *can not* use the '-static' flag to > gcc. I doubt this is relevant; it is only static linking with Scintilla that is enforced, not with other libraries such as GTK+. -- Lionel B _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
