-   Slackware (
-   -   SlackBuilds Other than Root File System Install (

tronayne 12-02-2012 10:37 AM

SlackBuilds Other than Root File System Install
OK, I've been looking, reading wiki pages looking for my notes, no joy.

I want to build SlackBuilds to install in, say, /usr/local or in /opt rather than /. I seem to remember that there is a way to do that but dang if I can find it. Would some kind soul please point me in the right direction?

This comes up because MySQL Workbench (which is huge) is occupying too much space and I want it off somewhere else and just can't remember how. Arrgghh!


commandlinegamer 12-02-2012 11:00 AM

You'll need to at least change the target prefix for the configure options, e.g.


./configure \
  --prefix=/usr/local \

tronayne 12-02-2012 01:24 PM

Well, wasn't I misremembered but... modified to this

./configure \
  --prefix=${PREFIX} \
  --libdir=${PREFIX}/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=${PREFIX}/man \
  --docdir=${PREFIX}/doc/$PRGNAM-$VERSION \
  --build=$ARCH-slackware-linux \
  --disable-debug \
  --enable-shared=yes \
  --enable-static=no \

and the entire thing is in /usr/local.

Life is good.


All times are GMT -5. The time now is 03:46 AM.