Magnus Therning wrote:
On Sat, Apr 15, 2006 at 09:13:48AM -0400, Chris Jones wrote:

1. How do I do the equivalent of the usual gnu ./configure when I
install from source..?


This is all done from inside the debian/rules file. I'd suggest reading
the New Maintainer's Guide for a gentle introduction to Debian
packaging. It'll help you if you need to modify any aspect of how a
package is built.


Just as I feared.. sigh.. But thanks anyway.


2. Can I just remove the source tree after having installed the binary
.deb without breaking anything? Or is there a recommended 'debian way'
to clean up?


If you build the source packages at the same time as you build the
binary one you can delete the source directory without losing any
information.

Now that's interesting. Could you explain this "at the same time"
further? There is something in the apt HOWTO that also says something
about some kind of time factor. Suggesting it's different when you build
the binary package and install it at a later date.


"To auto-build the package when it's been downloaded, just add -b to the "command line, like this:
"
"     $ apt-get -b source packagename
"
"If you decide not to create the .deb at the time of the download, you "can create it later by running:
"
"     $ dpkg-buildpackage -rfakeroot -uc -b

It bothered me because I did not understand what the author meant.

Would this have anything to do with the apt build-dep? Running that command on my (live) system also bothered me because I have no clue what it does. I got out of rpm hell a year ago and I find anything that might endanger the health of my system rather scary.


/M


Yes you are definitely right. The more I think about it, the more I realize that you can't really administer a debian system without a clear understanding of how the packaging system works.

Thank you very much for this piece of advice.

CJ


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to