Hi all. I'm trying to build gnucash from svn repository, following the guide on the Wiki, but it fails in two places.
I run ./configure without problems. But when I run checkinstall, something fails. ----------------------------------------- $ checkinstall --default --install=no checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran This software is released under the GNU GPL. ***************************************** **** Debian package creation selected *** ***************************************** This package will be built according to these values: 0 - Maintainer: [ [EMAIL PROTECTED] ] 1 - Summary: [ Package created with checkinstall 1.6.1 ] 2 - Name: [ gnucash ] 3 - Version: [ 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 2.2.0 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ i386 ] 8 - Source location: [ gnucash ] 9 - Alternate source location: [ ] 10 - Requires: [ ] ----------------------------------------- As you can see the "3 - Version"-section is wrong, it contains the gnucash version over and over again with newlines. The checkinstall will fail with this error: dpkg-deb: parse error, in file `/var/tmp/lYOpfkOrdjGJBSojPNrec/package/DEBIAN/control' near line 8 package `gnucash': newline in field name `2.2.0' However, this problem can be solved by running checkinstall with the --pkgversion flag set. Problem number two occurs when running: $ checkinstall --default --install=no --pkgversion=2.2.0 This will succeed and create a .deb file. The .deb file however seems to have some errors, first it is 6MB large: $ ls -alh gnucash_2.2.0-1_i386.deb -rw-r--r-- 1 patrik patrik 6.0M 2007-08-16 15:10 gnucash_2.2.0-1_i386.deb The default 2.0.2 Ubuntu built gnucash is about 2MB. $ ls -alh /var/cache/apt/archives/gnucash_2.0.2-3ubuntu1_i386.deb -rw-r--r-- 1 root root 2,1M 2007-01-29 00:03 /var/cache/apt/archives/gnucash_2.0.2-3ubuntu1_i386.deb When I try to install the image, I get the following error: $ sudo dpkg -i gnucash_2.2.0-1_i386.deb (Reading database ... 170254 files and directories currently installed.) Preparing to replace gnucash 2.0.2-3ubuntu1 (using gnucash_2.2.0-1_i386.deb) ... Unpacking replacement gnucash ... dpkg: error processing gnucash_2.2.0-1_i386.deb (--install): trying to overwrite `/usr/bin/ld', which is also in package binutils dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: gnucash_2.2.0-1_i386.deb It seems like way to much data was copied into the image, I guess ld doesn't belong there. Anyone got a solution to either or both of these problem may be? Best regards, Patrik Lermon _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel