Results 1 to 10 of 17
Lets say that I want to compile a program that is in the unstable repository and I have testing (or also if I am using stable and want to compile ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-28-2010 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 23
How do I obtain build dependencies that are not in repositories?
Lets say that I want to compile a program that is in the unstable repository and I have testing (or also if I am using stable and want to compile something from testing), I know that I have to put the deb-src repository line of the repository from which I want to obtain the build dependencies by ussing apt-get build-dep packagename but my question is: what if it's not in the repositories at all? How does one go about obtaining these dependencies?
I don't know much about this topic but I know how to use dh-make with dh_make --createorig and I also know how to do dpkg-buildpackage but not more than that.
Any input would be greatly appreciated!
Thanks in advance!
- 02-28-2010 #2
What you can do is to get the upstream (the "original") version and compile+install that in a different directory. I usually put such custom dependencies somewhere under $HOME with the --prefix command in ./configure.
Then you compile the program itself and tell if (via configure) to use the dependencies from your home directory.
Often this is a recursive process, as the dependencies itself depend on newer version of libraries you have to install first. At some point it was just to much work to do for me, and I decided to upgrade to unstable.Debian GNU/Linux -- You know you want it.
- 02-28-2010 #3Just Joined!
- Join Date
- Dec 2008
- Posts
- 23
Thanks for your answer but, I don't want to compile the ./configure make, make install way. I want to specifically made .deb files. I guess a better question would be: is there a terminal command (or something similar) that does not do or install anything but instead just tells me what the dependencies of a particular package that I am trying to compile are?
- 03-01-2010 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
- 03-01-2010 #5
apt-cache extract information from package metadata and if package is not available in repositories/cache then it will not work.
Read more......
Originally Posted by Debian FAQ
I would suggest you check herIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-02-2010 #6Just Joined!
- Join Date
- Dec 2008
- Posts
- 23
Correct me if I misunderstood but you are both suggesting that I use apt-cache depends packagename, right? Well, that only works for applications in my repositories but my question was precisely how do I find the required dependencies of a program that I don't have in my repositories at all.
- 03-02-2010 #7forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
- 03-02-2010 #8
I would sugget you to check my last post and link in it again.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-09-2010 #9Just Joined!
- Join Date
- Dec 2008
- Posts
- 23
- 07-27-2010 #10Just Joined!
- Join Date
- Dec 2008
- Posts
- 23
I'm bumping this because I would still like to know if there is a way to figure out what the dependencies of a particular package are:
-without requiring that the source is in a repository of any kind.-without requiring me to compile/install the program without a package manager (I want to compile to a binary .deb file and then install via that)
There must be a way of doing this since the Debian developers have to get their source from some upstream source before "debianizing" it.
If someone knows the answer to my problem, please respond, I would be VERY grateful!
Thanks in advance!


Reply With Quote

