On Sun, Sep 10, 2006 at 03:06:54PM -0700, Chris Lemire wrote: > The version of Gaim I have now has bugs and isn't as > good as the newest beta version, so I am trying to get > compile it from source code. I also want sound (sound > is not working in the version with Solaris 10) and > spell check to work in Gaim. Here is what I have done. > > 1. I used pkg-get to install gtkspell > > 2. I downloaded gaim source code and then gunzip and > tar xf it. I cd into the directory and ./configure > --help for compile options > > 3. I set and added to many system variables. I want > the path to all of the programs to installed through > pkg-get to be in the enviornment variables, so that I > can use them without typing their full paths each > time. This worked. I can now use vim instead of vi. > > 4. I am using bash instead of sh for root and normal > system user. I know it's not recommended, but it's > safe in Solaris 10. I edited the ~/.profile for both > users. I know I could edit the /etc/profile instead > but that's not important, and I wanted each users' to > be a little bit different. > > 5. I tried setting the PKG_CONFIG_FILE variable. >
[...] > -bash-3.00# PKG_CONFIG_PATH=/opt/csw/lib [...] > Package gtkspell was not found in the pkg-config > search path. > Perhaps you should add the directory containing > `gtkspell.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gtkspell' found You actually need to set PKG_CONFIG_PATH to the path that contains the .pc files, after that it works just fine. Also, sometimes the package name will contain the version # (gtk is gtk+-2.0 for instance). # cd /opt/csw # pkg-config --libs gtkspell Package gtkspell was not found in the pkg-config search path. Perhaps you should add the directory containing tkspell.pc' to the PKG_CONFIG_PATH environment variable No package 'gtkspell' found # find . -name "gtkspell*.pc" ./lib/pkgconfig/gtkspell-2.0.pc # PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig pkg-config --libs gtkspell-2.0 -R/usr/openwin/lib -L/opt/csw/lib -L/usr/openwin/lib -lgtkspell -laspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lintl -lfreetype -lfontconfig -lpng12 -lz -lm -lXrender -lX11 # Hope that helps.. -Brad _______________________________________________ opensolaris-discuss mailing list [email protected]
