solaris sos client and GTK

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
steve.cohan
Posts: 6
Joined: Thu Jan 25, 2007 2:21 pm

solaris sos client and GTK

Post by steve.cohan » Fri Jan 26, 2007 5:23 pm

I have installed glib 1.2.10 and gtk+ 1.2.10, but when I attempt to run the sos client, I receive the message "libgtk-x11-2.0.so.0: open failed: No such file or directory". I also downloaded gtk 2.2.4 and I see that a lib with a name similar to this one is in that package. However, gtk 2.2.4 requires a bunch of other packages, and I'm short on disk space - I don't know if I'll be able to install all of them.

Is there a version of the solaris SoS client that will work with the two packages I have installed? Or is there another way around the problem? Thanks for the help.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Jan 29, 2007 2:54 pm

Our requirements page says it requires GTK 2.6. Sorry, we haven't done any testing with any work-arounds.

steve.cohan
Posts: 6
Joined: Thu Jan 25, 2007 2:21 pm

Post by steve.cohan » Wed Jan 31, 2007 11:30 am

OK, can you point me to a location where I can get a GTK 2.6 pkg for SPARC/Solaris 7? The latest I can find is GTK 2.2.4 from sunfreeware.com. Alternatively, will 2.2.4 work for me?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Jan 31, 2007 1:34 pm

I found a download through here: http://sunsite.bilkent.edu.tr/pub/sun-p ... e/sparc/7/. For more details on what's involved you may wish to contact GTK.org. GTK.org also posts all the releases here: ftp://ftp.gtk.org/pub/gtk/.

If you were to use a different version, I'd suggest trying newer rather than older. We haven't tested with the version you want to use.

steve.cohan
Posts: 6
Joined: Thu Jan 25, 2007 2:21 pm

Post by steve.cohan » Wed Jan 31, 2007 8:35 pm

Thanks for the help, Beth. Now I'm very close. I managed to install all the dependencies. One problem is that there is a dependency on the math library that shows up as libm.so.2, which does not exist in my version of Solaris. I tried just making a symbolic link to libm.so.1 and the program runs.

However, when it runs, I get a message about a font configuration problem:

No fonts found; this probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file...

I had already installed the fontconfig library and now I see that I have to configure it. Any clues to do just what is necessary for sos to run would be much appreciated. Thanks for your help.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Thu Feb 01, 2007 9:59 am

What gives you that error...GTK? I can't say how good of a compilation that one I found is as I didn't download and install it. You may wish to consider compiling your own from the source, try some of the suggestions one can find in a google search.

I think the first two I listed here will help the most.
http://lists.freedesktop.org/archives/f ... 00906.html
http://www.unix.com/showthread.php?t=18032
http://lists.freedesktop.org/archives/f ... 00089.html
http://lists.freedesktop.org/archives/f ... 00112.html

steve.cohan
Posts: 6
Joined: Thu Jan 25, 2007 2:21 pm

Post by steve.cohan » Thu Feb 01, 2007 10:32 am

Holy guacamole, I did it!

I was able to set up the fonts.conf file to point to a directory full of fonts. When I ran sos, however, the application seemed to just run forever without displaying the client window.

Reading up on fontconfig, I discovered the environmment variable FC_CONFIG. Setting this so that lots of debug bits were turned on, I discovered that I had some huge fonts that were taking a very long time to register. I moved these out, ran again, and voila, the sos client window appeared.

Hopefully from here it will be easy. Thanks again for the help.

Post Reply