LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-13-2004, 02:08 AM   #1
luck___
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
prefix argument to ./configure


Hi everyone, hope you can help. Im unsure when to use the --prefix=/usr argument when running ./configure before make. I have used it in the past on the advice of the ./configure program itself but wasnt sure why i had to or if i will always be told when i need to. I am using Mandrake 10.

Many Thanks

Simon Walker
 
Old 03-13-2004, 02:22 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
./configure --prefix=/wherever

You can do it with any source compile and *have* to do it with none (AFAIK) - it just defines where stuff goes. The default is supposed to be /usr/local but sometimes isn't, so I usually set it jst to make sure. You can also get more precise with options detailed in './configure --help'. You can do anything you want but as a general rule, you're probably not going to want to put add-ons in /usr.
 
Old 03-13-2004, 02:22 AM   #3
Darkangel90
Member
 
Registered: May 2002
Distribution: SUSE 9.2 Pro
Posts: 98

Rep: Reputation: 15
well, the dot (.) means the currnet directory, so if you put a ./ means usually your are going to issue a command in the current directory that you are in. (forexample) ./install.sh or cat ./notes and so forth, also, there are script files that you run usually when you do a ./configure, and ofcourse that script file is usually the "configure" file.

When do you have to use that command?

Well, check your Readme when you want to install a program, it usually gives you instructions on how to install it, and often comes with a configure file.
 
  


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
./configure --prefix= plan9 Slackware 5 01-03-2013 04:44 AM
KTorrent Install Help... ./configure step fails. Prefix??? kimothy Linux - Newbie 4 10-16-2005 03:22 PM
a portable ./configure --prefix option spuzzzzzzz Linux - Software 2 07-27-2004 04:34 AM
./configure --prefix=/??? mykrob Linux - Newbie 7 06-24-2004 09:59 AM
kde prefix error when running ./configure hoopyfrood Linux - Software 1 04-25-2004 05:40 PM


All times are GMT -5. The time now is 08:54 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