LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
... 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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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