You are not logged in.

#1 2007-05-22 23:37:27

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Kmymoney2 woes : [SOLVED]

Hi all,
Not quite sure what happened but I just installed Arch 64 bit on a new hard drive and now I can't get Kmymoney to compile.  I had it working on my old installation and it compiled fine as long as I installed libofx.  Now it errors out with "g++: Internal error: Killed (program cc1plus)".  It might have something to do with the upgrade to Duke but I'm not sure what's wrong.  Any help would be appreciated.  Thanks

Last edited by bgc1954 (2007-05-26 14:08:34)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#2 2007-05-23 01:58:44

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Kmymoney2 woes : [SOLVED]

I'm not running a new install, but my 64 bit system is fully up to date. I wanted to try to compile KMyMoney2 0.8.6-1 on my box to see if I could reproduce your results. With both of my kernels (2.6.21.1-8 & 2.6.20.7.ck1-2), gcc 4.1.2-4, and libofx 0.8.3-1, the compiling went fine. You may want to post a good chunk of the output before your build failed.

Last edited by skottish (2007-05-23 01:59:43)

Offline

#3 2007-05-25 15:29:25

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Kmymoney2 woes : [SOLVED]

Hi again,
I just took a crack at this again from scratch and it still does the same thing.  I must be missing something.  This is the tail end of the make statement:

../dialogs/../views/kledgerview.h:315: warning: unused parameter 'match'
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [kmymoneyview.o] Error 1
make[4]: Leaving directory `/home/brian/downloads/kmymoney2-0.8.6/kmymoney2/views'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/brian/downloads/kmymoney2-0.8.6/kmymoney2/views'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/brian/downloads/kmymoney2-0.8.6/kmymoney2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brian/downloads/kmymoney2-0.8.6'
make: *** [all] Error 2

It worked before so I don't know what could have changed with my new install???  Thanks again for any help.

LATER:  For the heck of it, I just tried doing a makepkg with a modified PKGBUILD from a previous Scottish posting (http://bbs.archlinux.org/viewtopic.php? … t=kmymoney):

# Maintainer: Joshua Rubin <joshua@cybertron.cc>

pkgname=kmymoney2
pkgver=0.8.6
pkgrel=1
pkgdesc="KMyMoney - Personal Finance Software for KDE"
arch=('x86_64')
url="http://kmymoney2.sourceforge.net/"
license="GPL"
depends=('kdebase' 'kdelibs' 'libofx')
source=(http://sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=()

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Now I get this:

../dialogs/../views/kledgerview.h:315: warning: unused parameter 'match'

cc1plus: out of memory allocating 19020648 bytes after a total of 55545856 bytes
make[4]: *** [kmymoneyview.o] Error 1
make[4]: Leaving directory `/home/brian/archpkg/kmymoney2/src/kmymoney2-0.8.6/kmymoney2/views'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/brian/archpkg/kmymoney2/src/kmymoney2-0.8.6/kmymoney2/views'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/brian/archpkg/kmymoney2/src/kmymoney2-0.8.6/kmymoney2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brian/archpkg/kmymoney2/src/kmymoney2-0.8.6'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

I'm really confused!!

Last edited by bgc1954 (2007-05-26 02:35:27)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#4 2007-05-26 14:07:41

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Kmymoney2 woes : [SOLVED]

Sometimes the oddest things happen and it just takes awhile to figure it out.  My last post made me start thinking about the whole memory issue when I tried to build a package.  Then, this morning, when I started up my computer, I happened to notice that the swap partition was not mounting.  I checked out my /etc/fstab and sure enough I had the wrong partition mounted on my hda drive.  When I installed Arch 64 bit on my new hard drive, I left my swap partition on my old first drive and changed some partitions around to give Windoze more room for some old games I was goofing around with.  When I repartitioned the old drive in Windoze it changed the name of my swap partition from /dev/hda4 to /dev/hda3.  I guess if you play around with fire (Windoze) long enough you eventually get burned.  So for anyone that's interested my PKGBUILD that actually worked is listed below.

# Maintainer: Joshua Rubin <joshua@cybertron.cc>

pkgname=kmymoney2
pkgver=0.8.6
pkgrel=1
pkgdesc="KMyMoney - Personal Finance Software for KDE"
arch=('x86_64')
url="http://kmymoney2.sourceforge.net/"
license="GPL"
depends=('kdebase' 'kdelibs' 'libofx')
source=(http://sourceforge.net/projects/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('4a1f1ff16c1f02d4e6ce3263c44daf74')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Last edited by bgc1954 (2007-05-26 14:16:48)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

Board footer

Powered by FluxBB