LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-04-2004, 03:07 PM   #1
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
how to install to a directory


when installing to a specific directory such as
./configure --prefix=/usr
do you have to use the prefix for make and make install also???

sorry for so many questions
 
Old 01-04-2004, 03:22 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
When you run the './configure --prefix=/usr' command, it generates a Makefile which contains the instructions for make and make_install. You should not have to specify the prefix for make and make_install. If you have any doubts, after you run ./configure, and before you run make, edit the toplevel Makefile, and verify that prefix=/usr. The toplevel Makefile is located in the highest level directory for the app you want to install: example: if you install to a directory /usr/local/<appname>, the toplevel Makefile is in <appname>. Subdirectories of <appname> will also have their own Makefiles. But, as I said, the ./configure command with the prefix option should correctly write the Makefiles.
 
Old 01-04-2004, 03:27 PM   #3
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Original Poster
Rep: Reputation: 47
ok, but now i have another directory question, what does this mean

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

i chose /usr, where would these headers be?
 
  


Reply



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
Determine os install directory Jebrew Linux - Software 2 08-12-2005 10:48 PM
telling `make install` to install in a specific directory?!? black hole sun Linux - Software 3 02-08-2005 09:18 PM
in which directory i have to install dansnb SUSE / openSUSE 6 01-04-2005 05:14 AM
RPM install directory? blizunt7 Linux - Newbie 2 04-02-2004 02:55 PM
Install RPM directory yenonn Linux - Software 1 06-30-2003 09:08 PM

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

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