[Fwd: [Bug 104677] gnucash outdated]

Christian Stimming stimming at tuhh.de
Fri May 12 07:33:32 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear developers,

the SuSE people are going to package gnucash2 into their next release
SuSE Linux 10.2 (the current 10.1 was released just this week). See
https://bugzilla.novell.com/show_bug.cgi?id=104677 for some of the help
they needed to get this going. But they raised an interesting question:

> The packages can have some devel splitting problems - for standard packages, we
> package .so and .la files as part of -devel subpackage, not installed by
> default.
> But some parts of gnucash need .so for loading and other parts use ltdl and
> la. I have tried to catch all these issues, but maybe I failed.

I thought of one solution to get rid of any such problems, not only for
SuSE/rpm but any package manager (but my idea was bogus, see below). We
could add an install-exec-hook rule that removes the *.la files in those
Makefile.am's where we know by design that the *.la files are not
needed. Unfortunately I'm not too sure where *.la is still needed, but
if it is needed only for the "-module" libraries (libgncmod-foo), then
e.g. src/core-utils doesn't need the *.la files. ...

However, after checking the code, it occurred to me that the *.la files
are also used during "make uninstall" to determine the file names with
the correct version numbers to be removed. (Because on "make uninstall"
libtool is invoked again, but only with the *.la file as argument, so it
uses that file to determine the other filenames.) This means if the *.la
is removed during normal "make install" (by an install-exec-hook), then
"make uninstall" will be broken, which among others breaks "make
distcheck". Okay. Seems the packagers have to live with this issue. If
they want to separate the *.la files from the base package, we can't
help here. Thanks for listening :-)

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRGRyjGXAi+BfhivFAQKxdAP/djwE7X+BTZivLaiwAHCqVDbppZrh2zqC
OTrqIc1ffzi7X3Myt8wSiy8yMdAHyFkTiHXUAL3m+bGPBxi/Nu8llLftfcrabhpR
MKGSU3iAwQtmxFs5IZMz6gRtmxOTc8Q9uNZi2+4eO0xSPnbyOh/wpubLR9loFW8R
0SGn2sLxEig=
=0enK
-----END PGP SIGNATURE-----


More information about the gnucash-devel mailing list