Yeah, I read up on it a little bit and it seems like /usr is for distro stuff and /usr/local is for additional. At least generally speaking.
It seems like a lot of programs I am trying to build need to be installed in /usr. For instance, I just compiled the murrine theme engine for gtk+ 2, and if I ./configure;make;make install, gtk gives constant warnings that it cannot find the engine. If I use prefix=/usr, however, it does not give those warnings. Also, after that I rebuilt gtk+ 2 with x input support and rebuilt the gimp. The gimp wouldn't build unless I compiled gtk+ 2 with /usr prefix. Why would the default for gtk be to have a prefix /usr/local but then the default for gimp be to search for gtk in /usr? It seems a little bit messed up. |
Quote:
|
That makes sense. But still, why do so many things which seem like they should be built on a computer to computer basis, and which are built outside of a distribution, require they be built in /usr?
|
Quote:
In general for Slackware, unless you have a good reason not to, always use a prefix of /usr. And if you are rebuilding slackware packages use the official slackBuilds from the Slackware source. |
why haven't you looked for libobrender.so.21 in the first place? if it works with slackbuild then you have the lib but not where the system is looking for it. then you should have done either:
a) ./configure --help to see how you can tell the configure script to look in the right places (best), or b) copy the lib to where the system is looking for (bad because it's not just redundant but will cause problems through updates). c) link to the lib (worse). also the prefix depends where you want the app to reside. i am generally not fond of installing everything systemwide (e.g. doing make install as root) because you easily bloat your system and in the end you do not know what you need and what not. i use to install everything locally (see: http://www.linuxquestions.org/questi...-small-640347/) cheers vadkutya |
To make sure I can uninstall everything, I keep all sources in a ~/sources folder in my home directory. If I realize I do not need something, I can either make uninstall from there or use pkgtool to remove it if it is a package. That has worked for me.
But your idea of installing everything locally sounds like a good one. I will possibly try that next time I install. |
Quote:
|
I, too, recommend always creating packages. I personally prefer to use or make slackBuilds, but I hear src2pkg also works well for most things. And for openbox (which is what this thread originally was about), there is already a working slackBuild for it at slackBuilds.org.
|
You probably need to run ldconfig
linux keeps a cache of shared libraries in /etc/ld.so.cache so it will go fast to load a shared library and in this case the make install script didnt update the cache so then you have to run it manual. |
All times are GMT -5. The time now is 02:41 PM. |