Re: Balsa build blows up



On Tue, 20 Apr 1999, Rahul P Sinha wrote:

> okay, you are (probably) a victim of the /usr vs. /usr/local prob
> 
> type "which gtk-config"
> it will answer either /usr/bin or /usr/local/bin
> now type "gtk-config --version
> 
> (if it gives an incorrect version, you have two copies installed.  This is
> NOT your prob, as obviously either /usr/local/bin OR /usr/bin has not
> gtk-config in it, but for future reference, as a lot of people hit this
> wall eventually)
> 
> go to the other location (ie /u/l/b if it reports /u/b as the current
> location of gtk-config) and ln -s {the current location}/gtk-config
> gtk-config
> 
> 
> is there a more permanent solution than this? yes.
> 
> [root@sparky /root]# cd /usr/local
> [root@sparky local]# ls -l
> total 3
> lrwxrwxrwx   1 root     root            9 Apr  6 16:26 bin -> /usr/bin/
> lrwxrwxrwx   1 root     root            9 Apr  6 16:26 doc -> /usr/doc/
> drwxr-xr-x   2 root     root         1024 Apr  6 17:26 enlightenment
> lrwxrwxrwx   1 root     root            9 Apr  6 16:27 etc -> /usr/etc/
> lrwxrwxrwx   1 root     root           11 Apr  6 16:28 games -> /usr/games/
> drwxr-xr-x   2 root     root         1024 Apr 14 21:45 html
> lrwxrwxrwx   1 root     root           13 Apr  6 16:28 include -> /usr/include/
> lrwxrwxrwx   1 root     root           10 Apr  6 16:28 info -> /usr/info/
> lrwxrwxrwx   1 root     root            9 Apr  6 16:29 lib -> /usr/lib/
> drwxr-xr-x   3 root     root         1024 Apr 15 17:29 libexec
> lrwxrwxrwx   1 root     root            9 Apr  6 16:29 man -> /usr/man/
> lrwxrwxrwx   1 root     root           10 Apr  6 16:30 sbin -> /usr/sbin/
> lrwxrwxrwx   1 root     root           10 Apr  7 09:54 share -> /usr/share
> lrwxrwxrwx   1 root     root            9 Apr  6 16:30 src -> /usr/src/
> lrwxrwxrwx   1 root     root            8 Apr 18 11:57 tmp -> /var/tmp
> lrwxrwxrwx   1 root     root            4 Apr 18 11:57 var -> /var
> [root@sparky local]# 
> 
> this eliminates those sorts of problems...
> (all those arrows are symlinks btw, just in case you are new to this...)

This is not a particularly good idea.

It's better to keep /usr/local more-or-less empty.  If/when you find
yourself compiling things by hand, perhaps from CVS versions, put them in
/usr/local, and remove the /usr/local stuff when you revert to using a
.deb or .rpm.

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@jellybean.co.uk         |  6 Evelyn Rd	       |
|  Jules aka     | jules@debian.org              |  Richmond, Surrey   |
|  Julian Bean   | jmlb2@hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]