LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-02-2012, 10:37 AM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,042

Rep: Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761
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!

Thanks.
 
Old 12-02-2012, 11:00 AM   #2
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 81

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

Code:
./configure \
  --prefix=/usr/local \
 
1 members found this post helpful.
Old 12-02-2012, 01:24 PM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,042

Original Poster
Rep: Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761
Well, wasn't I misremembered but... modified to this
Code:
PREFIX=/usr/local
./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.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install, defining root file system, how to? Novatian Linux Mint 5 08-24-2012 04:29 PM
[SOLVED] How do I install SlackBuilds? Cannot open: No such file or directory" theif519 Slackware 5 07-01-2011 10:01 AM
"No root file system defined" Trying to install ubuntu 10.10 troubletime Linux - Newbie 1 12-11-2010 01:42 AM
Fresh install - root file system error TheGNUbie Debian 1 03-01-2010 02:35 PM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM


All times are GMT -5. The time now is 04:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration