LinuxQuestions.org
Help answer threads with 0 replies.
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 09-04-2011, 11:53 AM   #1
Enchufado
LQ Newbie
 
Registered: Sep 2011
Location: Argentina
Posts: 3

Rep: Reputation: Disabled
Can ./configure show dependencies?


Hello, I was wondering if when I building a package that has a ./configure script I can find out all the dependencies that I need instead of having to install them one by one, by running the configure multiple times and waiting for it to error. Thanks.
 
Old 09-04-2011, 12:40 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Enchufado View Post
Hello, I was wondering if when I building a package that has a ./configure script I can find out all the dependencies that I need instead of having to install them one by one, by running the configure multiple times and waiting for it to error. Thanks.
Hi and Welcome to LQ!
I guess you mean when you're compiling a program. There may be a README file or an INSTALL file in the same directory as configure which may tell you something. Often it's the webpage where you downloaded the source code that tells you what dev packages you're going to need. You could also look at the configure or configure.in files but that might be a bit long. Otherwise you have to do it the way you described above.
ciao,
jdk
 
1 members found this post helpful.
Old 09-04-2011, 02:10 PM   #3
Enchufado
LQ Newbie
 
Registered: Sep 2011
Location: Argentina
Posts: 3

Original Poster
Rep: Reputation: Disabled
Talking

Thanks for the answer jdkaye, that was what I fear! ^^
 
Old 09-04-2011, 02:49 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,757

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Occasionally the documentation has a section "prerequisites",
like gcc http://gcc.gnu.org/install/prerequisites.html


The Debian / Ubuntu source pages have all dependencies listed for
thousands of applications. Example :
http://packages.debian.org/source/sid/achilles
Dependencies are marked with a red dot.

.
 
1 members found this post helpful.
Old 09-04-2011, 02:56 PM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Enchufado View Post
Thanks for the answer jdkaye, that was what I fear! ^^
Don't worry. The more you compile the more dev packages you accumulate and after a while you have pretty much everything. It's really not so bad as you think.
ciao,
jdk
 
1 members found this post helpful.
Old 09-04-2011, 04:16 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
unfortunately the answer is
yes AND no
maybe AND maybe not

it might or it might NOT

but looking for a "README" or a "Doc" folder or reading the programs web site will tell you

some have a nice built in check and ends with a configure output
( imagemagick is one )
others just ERROR and fail .
others still will error BUT it is documented in the configure.log

However most of the time finding what was being looked for and NOT found is just strait forward deduction .
 
1 members found this post helpful.
Old 09-04-2011, 08:59 PM   #7
Enchufado
LQ Newbie
 
Registered: Sep 2011
Location: Argentina
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you for your replies, good tips.
 
  


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
Compile from source as limited user - how do I tell configure where dependencies are? versaulis Linux - Software 9 09-15-2009 11:32 AM
yum/rpm incorrectly show missing dependencies jlarmour Linux - Software 3 09-29-2006 03:51 AM
Does ./configure command do a check on dependencies? Akhran Linux - Newbie 1 08-18-2005 07:20 AM
Just Can't Configure Linux..I'd PAY For Someone To Show Me How Pose Linux - Newbie 28 06-21-2004 12:40 AM
configure script and dependencies Dark_Helmet Linux - Software 0 07-28-2003 08:14 PM

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

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