LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2004, 07:09 PM   #1
spidey_kid2002
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Installation question


Hi I'm currently trying to install gtk 2.4 and having some trouble of course but my question is actually more general.

Having trouble installing freetype and fontconfig i googled and/or searched this forum and found that i need to pass --prefix=/usr to ./configure so that instead of installing to /usr/local it gets installed to /usr

so my question is actually when do we just do a ./configure and when a ./configure --prefix=/usr

also with gtk i read that we are suppose to do it with --prefix=/opt (haven't tried this, currently redoing the whole process from scratch)

thx in advance
 
Old 04-10-2004, 09:44 PM   #2
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
./configure will use the default values for everything, and the default value for prefix may be /usr/local on your system.
In other words, typing "./configure" is the same as typing "./configure --prefix=/usr/local"
There isn't a specific time that you use one instead of the other, you would just use the --prefix argument when you want the program to be installed to somewhere other than the default location.
 
  


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
Installation Question k1ll3r_x Slackware - Installation 3 10-01-2004 07:33 PM
Installation question satimis Debian 1 09-11-2004 08:03 PM
Installation Question DaveThePuzzled Linux - Newbie 8 05-23-2004 03:44 AM
installation question today53 Linux - Newbie 3 10-13-2003 12:32 AM
Installation Question Iconit Linux - Newbie 2 07-29-2003 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration