Originally Posted by mev
Thanks. I thought it had to be something along the lines of that, I remember it mentions in quite a few packages to set the installation prefix, I'm still pretty new at Linux though and couldn't quite do the math.
However, I believe in that case that the manual requires updating as it does not advise to set the prefix when installing the package. It simply states;
./configure $XORG_CONFIG &&
which is probably why it has ended up in it's default directory. I guess I will need to reinstall it with the correct installation prefix. My problem now is that I'm not sure about removing the current installation as I'm used to using package managers, etc.
if you are running with $XORG_CONFIG it must be set to the values it says in the Xorg building chapters. Running echo $XORG_CONFIG
will print what $XORG_CONFIG is set to. If nothing is printed then it isn't set and packages will be installed with their default values, and some of them has prefix=/usr as default and others may have prefix=/usr/local.
if you don't care where they end up, you may continue if you make sure /etc/ld.so.conf (or /etc/ld.so.conf.d/usr-local.conf) includes /usr/local/lib and then run ldconfig
altough I have not tested this to work though and you may miss some other settings from $XORG_CONFIG.
if you want to restart you can just delete everything in /usr/local/ with the command rm -rf /usr/local/*
don't really need the directory structure there because all BLFS packages (I have installed) is installed in /usr. After that you can restart installing Xorg, already installed packages in /usr will be overwritten with the new settings. Not a perfect solution but it can work.