Prev: `Open terminal here' functionality in GNOME? Exists in KDE, but where in GNOME?
Next: aptitude lists linux-image-2.6.32-trunk-686 under Obsolete and Locally Created Packages?
From: John A. Sullivan III on 15 Mar 2010 18:20 On Mon, 2010-03-15 at 12:00 -0700, Andrew Sackville-West wrote: > On Mon, Mar 15, 2010 at 02:06:28PM -0400, John A. Sullivan III wrote: > > On Mon, 2010-03-15 at 10:39 -0700, Andrew Sackville-West wrote: > > > On Mon, Mar 15, 2010 at 01:34:09PM -0400, John A. Sullivan III wrote: > > > > Hello, all. We are in the process of switching from Ubuntu 8.0.4 to > > > > Debian Lenny plus selected backports (e.g., OpenOffice, IceWeasel). > > > > Since donig so, GnuCash (2.2.6-2) seg faults every time we try to open > > > > an account. Since these are our production financials, you can imagine > > > > this is quite a problem! > > > > > > > > The end of the gnucash trace file in debug mode shows: > > > > > > Can you please provide output generated by the crash when launching > > > gnucash from a terminal. > > Alas, there is nothing particularly helpful: > > jasiii(a)jasiii:~$ gnucash --debug > > gnc.bin-Message: main: binreloc relocation support was disabled at configure time. > > > > Found Finance::Quote version 1.13 > > Segmentation fault > > hmmm... okay, a couple of options. > > 1) run gnucash from the command line: gnucash --nofile > which will open an empty gnucash instance. If that doesn't crash, then > try opening your file from the file menu at that point. I suspect this > won't work though, that it will crash. Indeed - had tried that early on and it crashes as soon as I try to open an account. > > 2) install version 2.2.9 from squeeze. this may be problematic as it > may bring in lots of gnome stuff you may not want. I haven't hacked on > gnucash in a while, so I can't say what the state of 2.2.6 was, but I > know there were a couple of problem releases for a bit there. It may > be one of them. I was hoping I could simply sneak in gnucash and gnucash-common but you are exactly right - lots of dependencies from testing that I don't want to bring into this image which needs to be stable for hundreds if not thousands of virtual desktops. > > 3) get on #gnucash on irc.gnome.org and ask there. The channel can be > pretty slow, so you'll have to lurk around for a while. Those guys can > probably figure it out, but be prepared to defend your reasons for not > moving up to 2.2.9, the current release. > > 4) build gnucash from source. This isn't as hard as you might > think. do apt-get build-dep gnucash and start there. you'll probably > want to use the --enable-opt-style-install to put it in a different > path to keep from mixing up with dpkg. Given the need to maintain this in some sane way I think this will be our only real option until 2.2.9 hits stable. Off to review how to build debs! Thanks very much - John > > A -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/1268691074.5897.30.camel(a)Family.pacifera.com
From: John A. Sullivan III on 15 Mar 2010 20:20 On Mon, 2010-03-15 at 18:11 -0400, John A. Sullivan III wrote: > On Mon, 2010-03-15 at 12:00 -0700, Andrew Sackville-West wrote: > > On Mon, Mar 15, 2010 at 02:06:28PM -0400, John A. Sullivan III wrote: > > > On Mon, 2010-03-15 at 10:39 -0700, Andrew Sackville-West wrote: > > > > On Mon, Mar 15, 2010 at 01:34:09PM -0400, John A. Sullivan III wrote: > > > > > Hello, all. We are in the process of switching from Ubuntu 8.0.4 to > > > > > Debian Lenny plus selected backports (e.g., OpenOffice, IceWeasel). > > > > > Since donig so, GnuCash (2.2.6-2) seg faults every time we try to open > > > > > an account. Since these are our production financials, you can imagine > > > > > this is quite a problem! > > > > > > > > > > The end of the gnucash trace file in debug mode shows: > > > > > > > > Can you please provide output generated by the crash when launching > > > > gnucash from a terminal. > > > Alas, there is nothing particularly helpful: > > > jasiii(a)jasiii:~$ gnucash --debug > > > gnc.bin-Message: main: binreloc relocation support was disabled at configure time. > > > > > > Found Finance::Quote version 1.13 > > > Segmentation fault > > > > hmmm... okay, a couple of options. > > > > 1) run gnucash from the command line: gnucash --nofile > > which will open an empty gnucash instance. If that doesn't crash, then > > try opening your file from the file menu at that point. I suspect this > > won't work though, that it will crash. > Indeed - had tried that early on and it crashes as soon as I try to open > an account. > > > > 2) install version 2.2.9 from squeeze. this may be problematic as it > > may bring in lots of gnome stuff you may not want. I haven't hacked on > > gnucash in a while, so I can't say what the state of 2.2.6 was, but I > > know there were a couple of problem releases for a bit there. It may > > be one of them. > I was hoping I could simply sneak in gnucash and gnucash-common but you > are exactly right - lots of dependencies from testing that I don't want > to bring into this image which needs to be stable for hundreds if not > thousands of virtual desktops. > > > > 3) get on #gnucash on irc.gnome.org and ask there. The channel can be > > pretty slow, so you'll have to lurk around for a while. Those guys can > > probably figure it out, but be prepared to defend your reasons for not > > moving up to 2.2.9, the current release. > > > > 4) build gnucash from source. This isn't as hard as you might > > think. do apt-get build-dep gnucash and start there. you'll probably > > want to use the --enable-opt-style-install to put it in a different > > path to keep from mixing up with dpkg. > Given the need to maintain this in some sane way I think this will be > our only real option until 2.2.9 hits stable. Off to review how to > build debs! Thanks very much - John <snip> Argh!!! This is getting very frustrating - probably all my ignorance. I rebuilt the debs and still get the same segfaults. Here's what I did (from our internal docs): Some of the steps need to be done as root so we will need to create a root console. Install the needed packages for building apt-get -t lenny-backports install devscripts build-essential Edit /etc/apt/sources.list by adding a Lenny Backports source repository such as the following: deb-src http://www.backports.org/debian/ lenny-backports main contrib non-free Make apt aware of the repository: apt-get update Other steps MUST not be done by root so we need another user console to do the following steps. We next need to download the source and rebuild it mkdir /data/Tech/download/gnucash cd /data/Tech/download/gnucash apt-get -t lenny-backports source gnucash gnucash-common We need to install dependencies and this must be done as root so return to the root console and do: cd /data/Tech/download/gnucash apt-get -t lenny-backports build-dep gnucash gnucash-common Return to the user console cd gnucash-2.2.6 debuild -us -uc cd .. The two .deb files should be in this directory and can be installed where needed I then installed them with dpkg -i. It clearly stated it was replacing gnucash and gnucash common: jasiii:/data/download/gnucash# ls gnucash-2.2.6 gnucash_2.2.6-2_amd64.changes gnucash_2.2.6-2.diff.gz gnucash_2.2.6.orig.tar.gz gnucash_2.2.6-2_amd64.build gnucash_2.2.6-2_amd64.deb gnucash_2.2.6-2.dsc gnucash-common_2.2.6-2_all.deb jasiii:/data/download/gnucash# dpkg -i *.deb (Reading database ... 191519 files and directories currently installed.) Preparing to replace gnucash 2.2.6-2 (using gnucash_2.2.6-2_amd64.deb) ... Unpacking replacement gnucash ... Preparing to replace gnucash-common 2.2.6-2 (using gnucash-common_2.2.6-2_all.deb) ... Unpacking replacement gnucash-common ... Setting up gnucash-common (2.2.6-2) ... What have I done wrong? Thanks - John -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/1268698592.5897.45.camel(a)Family.pacifera.com
From: Andrew Sackville-West on 15 Mar 2010 21:20 On Mon, Mar 15, 2010 at 08:16:32PM -0400, John A. Sullivan III wrote: > On Mon, 2010-03-15 at 18:11 -0400, John A. Sullivan III wrote: > > On Mon, 2010-03-15 at 12:00 -0700, Andrew Sackville-West wrote: > > > On Mon, Mar 15, 2010 at 02:06:28PM -0400, John A. Sullivan III wrote: > > > > On Mon, 2010-03-15 at 10:39 -0700, Andrew Sackville-West wrote: > > > > > On Mon, Mar 15, 2010 at 01:34:09PM -0400, John A. Sullivan III wrote: > > > > > > Hello, all. We are in the process of switching from Ubuntu 8.0.4 to > > > > > > Debian Lenny plus selected backports (e.g., OpenOffice, IceWeasel). > > > > > > Since donig so, GnuCash (2.2.6-2) seg faults every time we try to open > > > > > > an account. Since these are our production financials, you can imagine > > > > > > this is quite a problem! > > > > > > > > > > > > The end of the gnucash trace file in debug mode shows: > > > > > > > > > > Can you please provide output generated by the crash when launching > > > > > gnucash from a terminal. > > > > Alas, there is nothing particularly helpful: > > > > jasiii(a)jasiii:~$ gnucash --debug > > > > gnc.bin-Message: main: binreloc relocation support was disabled at configure time. > > > > > > > > Found Finance::Quote version 1.13 > > > > Segmentation fault > > > > > > hmmm... okay, a couple of options. > > > > > > 1) run gnucash from the command line: gnucash --nofile > > > which will open an empty gnucash instance. If that doesn't crash, then > > > try opening your file from the file menu at that point. I suspect this > > > won't work though, that it will crash. > > Indeed - had tried that early on and it crashes as soon as I try to open > > an account. hmmm... try this: launch gnucash with the --nofile flag. Then head into preferences and make sure the automatic running of scheduled transactions is turned off. Edit -> Preferences -> Scheduled transactions -> "Run when data file opened". Make sure that's unchecked. Then open your data file and see what happens. One of the problems in the past was a crash from sched txns running automatically. Again, it's been a while for me, so I'm just guessing... [...] > Argh!!! This is getting very frustrating - probably all my ignorance. I > rebuilt the debs and still get the same segfaults. Here's what I did > (from our internal docs): > > Some of the steps need to be done as root so we will need to create a > root console. Install the needed packages for building > apt-get -t lenny-backports install devscripts build-essential > Edit /etc/apt/sources.list by adding a Lenny Backports source repository > such as the following: > deb-src http://www.backports.org/debian/ lenny-backports main contrib > non-free > Make apt aware of the repository: > apt-get update > Other steps MUST not be done by root so we need another user console to > do the following steps. > We next need to download the source and rebuild it > mkdir /data/Tech/download/gnucash > cd /data/Tech/download/gnucash > apt-get -t lenny-backports source gnucash gnucash-common what output did the above command produce? > We need to install dependencies and this must be done as root so return > to the root console and do: > cd /data/Tech/download/gnucash > apt-get -t lenny-backports build-dep gnucash gnucash-common > Return to the user console > cd gnucash-2.2.6 > debuild -us -uc > cd .. > The two .deb files should be in this directory and can be installed > where needed > > > I then installed them with dpkg -i. It clearly stated it was replacing > gnucash and gnucash common: > > jasiii:/data/download/gnucash# ls > gnucash-2.2.6 gnucash_2.2.6-2_amd64.changes > gnucash_2.2.6-2.diff.gz gnucash_2.2.6.orig.tar.gz > gnucash_2.2.6-2_amd64.build gnucash_2.2.6-2_amd64.deb > gnucash_2.2.6-2.dsc gnucash-common_2.2.6-2_all.deb these are all version 2.2.6, the same one that was giving you trouble. You need the source for 2.2.9... A
From: John A. Sullivan III on 15 Mar 2010 22:10 On Mon, 2010-03-15 at 18:09 -0700, Andrew Sackville-West wrote: > On Mon, Mar 15, 2010 at 08:16:32PM -0400, John A. Sullivan III wrote: > > On Mon, 2010-03-15 at 18:11 -0400, John A. Sullivan III wrote: > > > On Mon, 2010-03-15 at 12:00 -0700, Andrew Sackville-West wrote: > > > > On Mon, Mar 15, 2010 at 02:06:28PM -0400, John A. Sullivan III wrote: > > > > > On Mon, 2010-03-15 at 10:39 -0700, Andrew Sackville-West wrote: > > > > > > On Mon, Mar 15, 2010 at 01:34:09PM -0400, John A. Sullivan III wrote: > > > > > > > Hello, all. We are in the process of switching from Ubuntu 8.0.4 to > > > > > > > Debian Lenny plus selected backports (e.g., OpenOffice, IceWeasel). > > > > > > > Since donig so, GnuCash (2.2.6-2) seg faults every time we try to open > > > > > > > an account. Since these are our production financials, you can imagine > > > > > > > this is quite a problem! > > > > > > > > > > > > > > The end of the gnucash trace file in debug mode shows: > > > > > > > > > > > > Can you please provide output generated by the crash when launching > > > > > > gnucash from a terminal. > > > > > Alas, there is nothing particularly helpful: > > > > > jasiii(a)jasiii:~$ gnucash --debug > > > > > gnc.bin-Message: main: binreloc relocation support was disabled at configure time. > > > > > > > > > > Found Finance::Quote version 1.13 > > > > > Segmentation fault > > > > > > > > hmmm... okay, a couple of options. > > > > > > > > 1) run gnucash from the command line: gnucash --nofile > > > > which will open an empty gnucash instance. If that doesn't crash, then > > > > try opening your file from the file menu at that point. I suspect this > > > > won't work though, that it will crash. > > > Indeed - had tried that early on and it crashes as soon as I try to open > > > an account. > > hmmm... try this: > > launch gnucash with the --nofile flag. Then head into preferences and > make sure the automatic running of scheduled transactions is turned > off. Edit -> Preferences -> Scheduled transactions -> "Run when data > file opened". Make sure that's unchecked. Then open your data file and > see what happens. One of the problems in the past was a crash from > sched txns running automatically. Again, it's been a while for me, so > I'm just guessing... > Thanks very much; I really do appreciate the help. My problem is no opening the data file; that opens fine. It is opening an account. Nonetheless, I tried this and had the same problem. > [...] > > > Argh!!! This is getting very frustrating - probably all my ignorance. I > > rebuilt the debs and still get the same segfaults. Here's what I did > > (from our internal docs): > > > > Some of the steps need to be done as root so we will need to create a > > root console. Install the needed packages for building > > apt-get -t lenny-backports install devscripts build-essential > > Edit /etc/apt/sources.list by adding a Lenny Backports source repository > > such as the following: > > deb-src http://www.backports.org/debian/ lenny-backports main contrib > > non-free > > Make apt aware of the repository: > > apt-get update > > Other steps MUST not be done by root so we need another user console to > > do the following steps. > > We next need to download the source and rebuild it > > mkdir /data/Tech/download/gnucash > > cd /data/Tech/download/gnucash > > apt-get -t lenny-backports source gnucash gnucash-common > > what output did the above command produce? > > > We need to install dependencies and this must be done as root so return > > to the root console and do: > > cd /data/Tech/download/gnucash > > apt-get -t lenny-backports build-dep gnucash gnucash-common > > Return to the user console > > cd gnucash-2.2.6 > > debuild -us -uc > > cd .. > > The two .deb files should be in this directory and can be installed > > where needed > > > > > > I then installed them with dpkg -i. It clearly stated it was replacing > > gnucash and gnucash common: > > > > jasiii:/data/download/gnucash# ls > > gnucash-2.2.6 gnucash_2.2.6-2_amd64.changes > > gnucash_2.2.6-2.diff.gz gnucash_2.2.6.orig.tar.gz > > gnucash_2.2.6-2_amd64.build gnucash_2.2.6-2_amd64.deb > > gnucash_2.2.6-2.dsc gnucash-common_2.2.6-2_all.deb > > these are all version 2.2.6, the same one that was giving you > trouble. You need the source for 2.2.9... > > A Well, perhaps I have a misunderstanding here. If I try to build 2.2.9 (what I first tried), running apt-get build-dep wants to bring in all the libraries from testing that I'm trying to avoid; I might as well install from the testing repository. On the other hand, I thought that by compiling 2.2.6 with the newer libglib2 libraries, it would call them properly and no longer seg fault. Am I going about this the wrong way? Thanks again - John -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/1268705187.5897.51.camel(a)Family.pacifera.com
From: John A. Sullivan III on 16 Mar 2010 13:10
On Mon, 2010-03-15 at 22:06 -0400, John A. Sullivan III wrote: > On Mon, 2010-03-15 at 18:09 -0700, Andrew Sackville-West wrote: > > On Mon, Mar 15, 2010 at 08:16:32PM -0400, John A. Sullivan III wrote: > > > On Mon, 2010-03-15 at 18:11 -0400, John A. Sullivan III wrote: > > > > On Mon, 2010-03-15 at 12:00 -0700, Andrew Sackville-West wrote: > > > > > On Mon, Mar 15, 2010 at 02:06:28PM -0400, John A. Sullivan III wrote: > > > > > > On Mon, 2010-03-15 at 10:39 -0700, Andrew Sackville-West wrote: > > > > > > > On Mon, Mar 15, 2010 at 01:34:09PM -0400, John A. Sullivan III wrote: > > > > > > > > Hello, all. We are in the process of switching from Ubuntu 8.0.4 to > > > > > > > > Debian Lenny plus selected backports (e.g., OpenOffice, IceWeasel). > > > > > > > > Since donig so, GnuCash (2.2.6-2) seg faults every time we try to open > > > > > > > > an account. Since these are our production financials, you can imagine > > > > > > > > this is quite a problem! > > > > > > > > > > > > > > > > The end of the gnucash trace file in debug mode shows: > > > > > > > > > > > > > > Can you please provide output generated by the crash when launching > > > > > > > gnucash from a terminal. > > > > > > Alas, there is nothing particularly helpful: > > > > > > jasiii(a)jasiii:~$ gnucash --debug > > > > > > gnc.bin-Message: main: binreloc relocation support was disabled at configure time. > > > > > > > > > > > > Found Finance::Quote version 1.13 > > > > > > Segmentation fault > > > > > > > > > > hmmm... okay, a couple of options. > > > > > > > > > > 1) run gnucash from the command line: gnucash --nofile > > > > > which will open an empty gnucash instance. If that doesn't crash, then > > > > > try opening your file from the file menu at that point. I suspect this > > > > > won't work though, that it will crash. > > > > Indeed - had tried that early on and it crashes as soon as I try to open > > > > an account. > > > > hmmm... try this: > > > > launch gnucash with the --nofile flag. Then head into preferences and > > make sure the automatic running of scheduled transactions is turned > > off. Edit -> Preferences -> Scheduled transactions -> "Run when data > > file opened". Make sure that's unchecked. Then open your data file and > > see what happens. One of the problems in the past was a crash from > > sched txns running automatically. Again, it's been a while for me, so > > I'm just guessing... > > > Thanks very much; I really do appreciate the help. My problem is no > opening the data file; that opens fine. It is opening an account. > Nonetheless, I tried this and had the same problem. > > [...] > > > > > Argh!!! This is getting very frustrating - probably all my ignorance. I > > > rebuilt the debs and still get the same segfaults. Here's what I did > > > (from our internal docs): > > > > > > Some of the steps need to be done as root so we will need to create a > > > root console. Install the needed packages for building > > > apt-get -t lenny-backports install devscripts build-essential > > > Edit /etc/apt/sources.list by adding a Lenny Backports source repository > > > such as the following: > > > deb-src http://www.backports.org/debian/ lenny-backports main contrib > > > non-free > > > Make apt aware of the repository: > > > apt-get update > > > Other steps MUST not be done by root so we need another user console to > > > do the following steps. > > > We next need to download the source and rebuild it > > > mkdir /data/Tech/download/gnucash > > > cd /data/Tech/download/gnucash > > > apt-get -t lenny-backports source gnucash gnucash-common > > > > what output did the above command produce? > > > > > We need to install dependencies and this must be done as root so return > > > to the root console and do: > > > cd /data/Tech/download/gnucash > > > apt-get -t lenny-backports build-dep gnucash gnucash-common > > > Return to the user console > > > cd gnucash-2.2.6 > > > debuild -us -uc > > > cd .. > > > The two .deb files should be in this directory and can be installed > > > where needed > > > > > > > > > I then installed them with dpkg -i. It clearly stated it was replacing > > > gnucash and gnucash common: > > > > > > jasiii:/data/download/gnucash# ls > > > gnucash-2.2.6 gnucash_2.2.6-2_amd64.changes > > > gnucash_2.2.6-2.diff.gz gnucash_2.2.6.orig.tar.gz > > > gnucash_2.2.6-2_amd64.build gnucash_2.2.6-2_amd64.deb > > > gnucash_2.2.6-2.dsc gnucash-common_2.2.6-2_all.deb > > > > these are all version 2.2.6, the same one that was giving you > > trouble. You need the source for 2.2.9... > > > > A > Well, perhaps I have a misunderstanding here. If I try to build 2.2.9 > (what I first tried), running apt-get build-dep wants to bring in all > the libraries from testing that I'm trying to avoid; I might as well > install from the testing repository. > > On the other hand, I thought that by compiling 2.2.6 with the newer > libglib2 libraries, it would call them properly and no longer seg fault. > Am I going about this the wrong way? Thanks again - John > > Compiling 2.2.9 from source works without installing the libraries from Squeeze. Is this something that should be passed along to backports? How is that done? Thanks - John -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/1268759343.4025.8.camel(a)Family.pacifera.com |