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. Look at command line output. bash-3.00$ ls | grep gtkspell libgtkspell.a libgtkspell.la libgtkspell.so libgtkspell.so.0 libgtkspell.so.0.0.0 bash-3.00$ pwd /opt/csw/lib bash-3.00$ ls | grep gtk gtk-2.0 libgtk-x11-2.0.la libgtk-x11-2.0.so libgtk-x11-2.0.so.0 libgtk-x11-2.0.so.0.1000.1 libgtkspell.a libgtkspell.la libgtkspell.so libgtkspell.so.0 libgtkspell.so.0.0.0 bash-3.00$ su - Password: Sun Microsystems Inc. SunOS 5.10 Generic January 2005 -bash-3.00# pkg-config --libs gtkspell-2.0 Package gtkspell-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtkspell-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtkspell-2.0' found -bash-3.00# pkg-config --libs gtkspell 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 -bash-3.00# pkg-config --libs gtkspell-2.0 Package gtkspell-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtkspell-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtkspell-2.0' found -bash-3.00# pkg-config --libs gtkspell 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 -bash-3.00# pkg-get -i gtkspell No worries... you already have version 2.0.6 of gtkspell If you doubt this message, run 'pkg-get -U', then run 'pkg-get upgrade gtkspell' -bash-3.00# pkg-get -U Getting catalog... --16:53:17-- http://ibiblio.org/pub/packages/solaris/csw/unstable/i386/5.10/catalog => `catalog' Resolving ibiblio.org... 152.46.7.80 Connecting to ibiblio.org|152.46.7.80|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 186,162 (182K) [text/plain] 100%[====================================>] 186,162 23.33K/s ETA 00:00 16:53:25 (25.04 KB/s) - `catalog' saved [186162/186162] Stripping off catalog signature without verifying Updating catalog file /var/pkg-get/catalog-ibiblio.org updated --16:53:26-- http://ibiblio.org/pub/packages/solaris/csw/unstable/i386/5.10/descriptions => `descriptions' Resolving ibiblio.org... 152.46.7.80 Connecting to ibiblio.org|152.46.7.80|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 83,369 (81K) [text/plain] 100%[====================================>] 83,369 21.59K/s ETA 00:00 16:53:30 (21.55 KB/s) - `descriptions' saved [83369/83369] Updated description file -bash-3.00# pkg-get upgrade gtkspell No worries... you already have version 2.0.6 of gtkspell If you doubt this message, run 'pkg-get -U', then run 'pkg-get upgrade gtkspell' -bash-3.00# echo $PKG_CONFIG_FILE -bash-3.00# echo $PKG_CONFIG_PATH -bash-3.00# echo $PATH /usr/sbin:/usr/bin:/opt/csw/bin -bash-3.00# PKG_CONFIG_PATH=/opt/csw/lib -bash-3.00# pkg-config --libs gtkspell 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 -bash-3.00# PKG_CONFIG_PATH=/opt/csw/lib -bash-3.00# PKG_CONFIG_PATH -bash: PKG_CONFIG_PATH: command not found -bash-3.00# PKG_CONFIG_PATH=/opt/csw/lib -bash-3.00# export PKG_CONFIG_PATH -bash-3.00# pkg-config --libs gtkspell 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 -bash-3.00# cd /opt/csw/ -bash-3.00# ls bdb4 bin etc info libexec sbin ssl bdb43 doc include lib man share var -bash-3.00# cd lib -bash-3.00# ls -a | grep gtkspell.pc -bash-3.00# ls -a | grep spell aspell libaspell.la libaspell.so libaspell.so.15 libaspell.so.15.1.4 libgtkspell.a libgtkspell.la libgtkspell.so libgtkspell.so.0 libgtkspell.so.0.0.0 libpspell.la libpspell.so libpspell.so.15 libpspell.so.15.1.4 -bash-3.00# find / -name gtkspell.pc 2> /dev/null -bash-3.00# Contents of my configuration files: -bash-3.00# cat .profile PATH=/usr/sbin:/usr/bin:/opt/csw/bin;export PATH -bash-3.00# exit logout bash-3.00$ cat .profile # # Copyright (c) 2001 by Sun Microsystems, Inc. # All rights reserved. # # ident "@(#)local.profile 1.10 01/06/23 SMI" stty istrip PATH=/usr/bin:/usr/ucb:/etc:. export PATH PATH=$PATH:/usr/openwin/bin:/opt/csw/bin bash-3.00$ -bash-3.00# cat /opt/csw/etc/pkg-get.conf # Configuration file for "pkg-get" # man pkg-get for details on the program # This config file has been pre-customized for use with CSW packages. # The latest set of CSW mirrors is always available at # http://www.blastwave.org/mirrors.html # default site, in USA: url=http://ibiblio.org/pub/packages/solaris/csw/unstable # secondary US mirror #url= http://mirrors.usc.edu/pub/blastwave/unstable #url=ftp://mirrors.usc.edu/pub/blastwave/ /stable # Denmark mirror. FTP preferred. #url=ftp://mirrors.sunsite.dk/mirrors/csw/unstable #url=http://mirrors.sunsite.dk/csw/unstable # If you are behind a firewall, set one of these as appropriate #ftp_proxy=http://your-proxy:8023 #http_proxy=http://your-proxy:8023 #export http_proxy ftp_proxy # You may also set PROXYFLAGS in your environment to set flags # for wget like # export PROXYFLAGS="--proxy-user=xxxx --proxy-passwd=yyy" # Or set them here. but make sure the perms are readable. # And consider that anyone on the machine can check your environment # and grab the user/password combo. # Solaris 10: If you wish to limit pkg-get to installing packages # ONLY to the global zone, then uncomment this line #PKGADDFLAGS=-G # pkg-get defaults to downloading to /var/run/[special] # Since this is a memory-based filesystem, you may want to change this # to some other secure location. # Note that it MUST HAVE $$ -- tempdir MUST BE UNIQUE TO EACH PROCESS # PKGGET_DOWNLOAD_DIR=/some/large/dir/pkg-get.$$ # To disable use of gpg or md5, uncomment these use_gpg=false use_md5=false -bash-3.00# __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ opensolaris-discuss mailing list [email protected]
