r18994 - gnucash/trunk - Have the gnucash binary setup its required environment by itself
Phil Longstaff
plongstaff at rogers.com
Sat Apr 10 20:42:24 EDT 2010
On Mon, 2010-04-05 at 10:48 -0400, Geert Janssens wrote:
> Author: gjanssens
> Date: 2010-04-05 10:48:22 -0400 (Mon, 05 Apr 2010)
> New Revision: 18994
> Trac: http://svn.gnucash.org/trac/changeset/18994
>
> Added:
> gnucash/trunk/src/bin/environment-osx.in
> gnucash/trunk/src/bin/environment-win32.in
> gnucash/trunk/src/bin/environment.in
> Removed:
> gnucash/trunk/src/bin/gnucash-ddd.in
> gnucash/trunk/src/bin/gnucash-setup-env-osx.in
> gnucash/trunk/src/bin/gnucash-setup-env.in
> Modified:
> gnucash/trunk/configure.in
> gnucash/trunk/src/bin/Makefile.am
> gnucash/trunk/src/bin/gnucash-bin.c
> gnucash/trunk/src/bin/gnucash-gdb.in
> gnucash/trunk/src/bin/gnucash-valgrind.in
> gnucash/trunk/src/bin/gnucash.in
> Log:
> Have the gnucash binary setup its required environment by itself
>
> - New "environment" config file that holds the environment modifications to make
> - Added a parser for this file that does the actual modification
> of the environment (in gnucash-bin.c)
> - Eliminate the old gnucash-setup-env script
The change in gnucash-gdb.in is no good. My gnucash-gdb (on linux) is
now:
> #!/bin/sh
>
>
> exec $(dirname $0)/gdb gnucash-bin "$@"
so when I try to run:
phil at phil-laptop:~/gnucash2/trunk$ /opt/gnucash/trunk/bin/gnucash-gdb
I get:
exec: 4: /opt/gnucash/trunk/bin/gdb: not found
which is right, because gdb is in /usr/bin/gdb.
Phil
More information about the gnucash-devel
mailing list