Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-04-2004, 04:07 PM   #1
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

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, 04:22 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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, 04:27 PM   #3
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

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?


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

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