LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-15-2011, 09:19 AM   #1
babagau
LQ Newbie
 
Registered: Jun 2010
Location: Volos, Greece
Distribution: Puredyne
Posts: 15

Rep: Reputation: 0
way to find dependencies from source code?


Is there a way to find the dependencies from the source code in the directory produced by the tarball? All I do till now is ./configure, see the missing lib etc, install it, again ./configure, see missing lib, install it, and so on. Is there a way to have all the missing dependencies before configuring the program for the system, maybe with a proper configure flag? But ./configure -h did not show anything that could help.

thanks a lot,
babagau
 
Old 01-15-2011, 10:02 AM   #2
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
One of the files will contain a list of dependencies, among other things. Can't remember which one, INSTALL? readme? ....
 
Old 01-15-2011, 12:22 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
... And then some have a section "Prerequisites" in the online documentation.

For the "10,000" Ubuntu sources, you have a dependency list, example ..
http://packages.ubuntu.com/source/maverick/audacious


Or you can use the command : apt-get build-dep <source-name>

...
 
1 members found this post helpful.
Old 01-16-2011, 03:05 PM   #4
babagau
LQ Newbie
 
Registered: Jun 2010
Location: Volos, Greece
Distribution: Puredyne
Posts: 15

Original Poster
Rep: Reputation: 0
thank you very much, the prerequisites (build-depends) at the packages webpage is a fine solution.
 
  


Reply

Tags
build, building, configure, dependencies, dependency


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
Where in the source code do I find the source for the Cisco FCoE HBA Drvr? madcowtricks Slackware 6 01-27-2011 03:00 PM
shell script to run source code and find all its dependencies. srinathkanchan Linux - Newbie 2 08-02-2010 02:53 AM
[SOLVED] why I couldn't find the source code of printf function in glibc source? famsinyi Programming 5 09-21-2009 09:06 AM
Illogical Failed dependencies for RPMs and source code installations, Slackware 9 peroxiderocket Slackware 4 07-14-2003 09:47 PM
Where can i find source code rajaryan Linux - Newbie 2 03-27-2003 06:50 PM


All times are GMT -5. The time now is 04:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration