Again, I don't know apt-rpm, so what I say is coming from my debian
background.

* [EMAIL PROTECTED] [Mon, 10 Feb 2003 at 17:21 -0700]
> I think the main issue I'm looking to solve is not really with gnucash
> but how to get past a dependency problem with apt-rpm.  A similar
> situation would occur (I believe) if I manually compiled a required
> library for mplayer for performance reasons - rpm probably wouldn't
> care then or after while apt-rpm probably wouldn't work then or after.

As for compiling from source...
Debian has a way to compile from source to a .deb (which you install
with dpkg - more or less the equivalent of rpm). I imagine there's a
similar process with apt-rpm.

In debian it goes like this:
# this installs packages needed during compilation
apt-get build-deps gnucash

# this downloads the original package source, the debian stuff (possibly
# including patches to the source) to that source, and a .dsc file that
# has information for dpkg.  It also unpacks the source and debian stuff
# (but the patches aren't applied until build time), unless you specify
# --download-only 
apt-get source gnucash

# this builds the package and leaves a .deb in ..
# you can also specify -b or --compile in the previous step to kill two
# birds with one stone, if your ethics allow it.
cd gnucash-<tab>; dpkg-buildpackage

I've never had to apply a patch or modify the source yet, but from the
docs it looks like it can be done without difficulty between steps two
and three.

Recovering from a packaging error is probably less general since the
underlying databases are different. When a package fails to install and
apt complains I generally do apt-get remove package until I can resolve
the issue and try again. There's also an apt-get check which I have
never used. Perhaps the same applies to apt-rpm.

-- 
 Hans Fugal                 | De gustibus non disputandum est.
 http://hans.fugal.net/     | Debian, vim, mutt, ruby, text, gpg
 http://gdmxml.fugal.net/   | WindowMaker, gaim, UTF-8, RISC, JS Bach
---------------------------------------------------------------------
GnuPG Fingerprint: 6940 87C5 6610 567F 1E95  CB5E FC98 E8CD E0AA D460

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to