LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-04-2003, 01:18 PM   #1
secprovider
Member
 
Registered: Jul 2003
Distribution: Debian sarge
Posts: 40

Rep: Reputation: 15
make dep?


Hi,

When you install a programm, you need to run commands
make
make clean
make install
make check

I know what those are doing. Lately I have heard "make dep". What is this doing exactly? When should I run it?

and are there any other "make XXXX" versions?

Thanx
 
Old 10-04-2003, 01:58 PM   #2
Bionic_Redneck
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.2
Posts: 10

Rep: Reputation: 0
make dep is used after make xconfig when re-compiling the kernel not sure if this is the best way to compile kernel but I did
make xconfig
make dep
make modules
make modules_install
make bzImage
make install
lilo

not sure all these step have to be done. I'm using makedrake 9.2rc2 and it seems like when you do make install somethings have already been done. well I guess it's alot better than them not getting done at all.
 
Old 10-04-2003, 01:58 PM   #3
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
It depends on what program you're trying to compile and install. You don't always need to (or have the option to) run "make clean" or "make check". Most use "make" to build everything, and "make install" to install everything; some also have a "make uninstall" to remove the installation. There aren't any set limitations on the different kind of make rules you can have; it all depends on what the software author has made available in the Makefile. Read 'man make' for more information on how make works.

"make dep" is a rule that some software authors use for building dependencies that are needed before running "make". But again, a lot of packages won't have, and don't need, "make dep". It's always a good idea to read the instructions for anything you're compiling, to find out what's appropriate and necessary for that software.
 
Old 10-05-2003, 06:35 AM   #4
secprovider
Member
 
Registered: Jul 2003
Distribution: Debian sarge
Posts: 40

Original Poster
Rep: Reputation: 15
Thanx for the reply!

So I should run "make dep" before "make". Right?

Quote:
Originally posted by wapcaplet
It depends on what program you're trying to compile and install. You don't always need to (or have the option to) run "make clean" or "make check". Most use "make" to build everything, and "make install" to install everything; some also have a "make uninstall" to remove the installation. There aren't any set limitations on the different kind of make rules you can have; it all depends on what the software author has made available in the Makefile. Read 'man make' for more information on how make works.

"make dep" is a rule that some software authors use for building dependencies that are needed before running "make". But again, a lot of packages won't have, and don't need, "make dep". It's always a good idea to read the instructions for anything you're compiling, to find out what's appropriate and necessary for that software.
 
Old 10-05-2003, 09:50 AM   #5
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Yes, 'make dep' will probably be run before 'make'. But again, be sure to look at the README for whatever you're compiling, since each program is different.
 
  


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
problems with make dep hellixor Linux - Newbie 3 06-06-2004 04:37 PM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 06:05 AM
make clean, make dep problem carscht Linux - Newbie 2 02-21-2004 11:32 AM
Make dep error Obscure Slackware 8 12-15-2003 05:25 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 04:49 AM

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

All times are GMT -5. The time now is 06:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration