Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-17-2004, 11:02 AM   #1
Registered: Nov 2003
Location: Utrecht
Distribution: Debian SID
Posts: 651

Rep: Reputation: 31
compiling in general

I'm trying to find out when to use prefix like --prefix=/usr Most software state in their ReadMe that all you have to do is ./configure, make and make install. For some software it works on slack and for a lot it doesn't and you need to use prefixes. How to find out what to use if there are no packages of software I'd like to use? (kde bluetooth for instance). All the bluez components need the prefix=/usr. I didn't know that untill finding a personal page discribing the install. Any pointers on how to find out when and what to use?

Old 01-17-2004, 11:17 AM   #2
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Rep: Reputation: 30
It would be after ./configure

ex ./configure --prefix=/usr
Old 01-17-2004, 11:18 AM   #3
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
If you want control of where everything goes, then always use the --prefix= flag. It won't do any harm, and you'll know where you installed everything
Old 01-17-2004, 12:18 PM   #4
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
It's better to use the ./configure --prefix=/usr/local . That way you don't overwrite things of the distribution. Out of the box the /usr/local tree only contains empty directories, so that's the place to install your non standard software.
Old 01-17-2004, 04:49 PM   #5
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
another tip: use checkinstall! You can find it in the extra directory of slackware.

It's a really GREAT tool that creates slackware packages from your self compiled tools. They're probably not the best for distribution but this way you can deinstall older software with less hassle.

checkinstall does the "make install" part for you so the command line would be `./configure --prefix=/usr/local && make && checkinstall`


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
general compiling question strimp099 Linux - Newbie 2 04-15-2004 05:07 PM
Kernel Compiling general question DeadlyMuffin Slackware 2 03-05-2004 11:23 PM
compiling software, issues in general tcg23 Linux - Software 1 12-31-2003 10:28 AM
General Compiling Instructions sovietpower Linux - Software 3 12-24-2003 10:18 AM
compiling in general davedoobie Linux - Software 5 04-02-2003 11:57 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:54 AM.

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