can't find gtk-config after installing gtk-2.2.4-sol7-sparc-local

Posted on 2004-04-05
Last Modified: 2013-12-27

I installed gtk-2.2.4-sol7-sparc-local.gz from and expected to find gtk-config in /usr/local/bin.  It isn't there.  What do I need to install to get gtk-config?

Question by:wrfrogman
LVL 45

Accepted Solution

sunnycoder earned 125 total points
ID: 10763618

Expert Comment

ID: 10811476
From the pkgadd man page....

 -R root_path
           Define the full path name of a directory to use as the
           root_path.  All files, including package system infor-
           mation files, are relocated to a directory tree start-
           ing  in  the specified root_path. The root_path may be
           specified when installing to a client  from  a  server
           (for example, /export/root/client1).

This should do the trick.

pkgadd -R /usr/local -d name_of_pkg_file

Author Comment

ID: 10896202
There wasn't a gtk+-devel on sunfreeware, but there was a source code tar.  Close enough.
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

LVL 45

Expert Comment

ID: 10896800

Expert Comment

ID: 11283812
I'm having the exact problem this person's having, only I can't find a link to the gtk devel package ANYWHERE.  Does ANYONE have a working, current link to where I might find this?  Going mad here...thanks...

Expert Comment

ID: 11284172
I finally found my own answer, but it's kind of tricky, as the answer isn't readily apparent from the sunfreeware site.

The link to older gtk+ packages (which contain gtk-config) is here:

(Substitute your favorite sunfreeware mirror for "", which happens to be my choice.)

The one I chose was gtk+1.2.10.sol7.sparc-local.gz, which I then installed on my Solaris 7 box.  Presto, all apps complaining that they couldn't find gtk-config were happy.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (, discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question