My previous blog how to compile with gtk on OpenSolaris mentioned how to compiled gtk application on OpenSolaris. But, actually, if you install OpenSolaris and Sunstudio only, you still can not compile out gtk application, three packages is required for compile/develop gtk application.:
SUNWgnome-common-devel
SUNWxwinc
SUNWxorg-headers
So you need install these three packages by Package Manager or cmd line: pkg install package_name
BTW, There is a discussion about dependencies of these three packages FYI. http://opensolaris.org/jive/thread.jspa?messageID=259469
Alan Coopersmith. also post bugID for it http://defect.opensolaris.org/bz/show_bug.cgi?id=2561
之前的一篇how to compile with gtk on OpenSolaris介绍如何在Opensolaris编译gtk的程序,但是如果你只是装了Opensolaris和Sunstudio的化,仍然无法编译gtk的程序,因为以下三个包也是必须的,可以使用包管理程序或者命令行装上以下三个包即可。
SUNWgnome-common-devel
SUNWxwinc
SUNWxorg-headers







