On Fri, 2007-07-13 at 11:31 +0800, James Andrewartha wrote: > W Sanders wrote: > > The post about removing CDE prompts me to ask - is there a idiot's guide to > > building Gnome/Nautilus apps/applets? This really applies to Solaris 10 - I > > can't install OpenSolaris yet, the installs all crash on me (on an Ultra 60 > > - another subject). > > > > In Solaris 10, I am running the Gnomeified Java Desktop, which I assume is > > similar, I've tried a couple of applets straight off sourceforge, bleh. > > > > For example, "spaceclock" (I **must**have** an analog clock applet): > > > > $ ./configure > > Using -lpthread > > Couldn't find stlport, be prepared for high CPU load. > > > > and it just goes downhill from there, can't find gtk-config, etc, etc. > > Which C compiler are you using? stlport is in /opt/SUNWspro/lib/stlport4 and > /opt/SUNWspro/prod/include/CC/stlport4, so you'll need to add those to your > CPPFLAGS and LDFLAGS. gtk-config is in /usr/sfw/bin which will need to be in > your PATH.
s/CPPFLAGS/CXXFLAGS/ Using -library=stlport4 -staticlib=stlport4 is the supported way to compile and link against STLport. More details here: http://docs.sun.com/app/docs/doc/819-5267/6n7c46dss?a=view Laca > http://www.davyd.id.au/articles/debugging-gnome-applets.shtml has some > details on debugging, but that's probably not relevant to you yet. >
