gnucash-devel Digest, Vol 2, Issue 19

Rodney Page unicorn_bond at yahoo.com
Fri May 23 16:23:17 CDT 2003


Thanks for the update!

gnucash-devel-request at lists.gnucash.org wrote:Send gnucash-devel mailing list submissions to
gnucash-devel at lists.gnucash.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
or, via email, send a message with subject or body 'help' to
gnucash-devel-request at lists.gnucash.org

You can reach the person managing the list at
gnucash-devel-owner at lists.gnucash.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gnucash-devel digest..."


Today's Topics:

1. Re: .gmo files built twice (Derek Atkins)
2. Re: Compiling 1.8.3 on Solaris 8 (Derek Atkins)
3. Re: .gmo files built twice (Jon Lapham)
4. Re: .gmo files built twice (Derek Atkins)
5. Re: automagic web importing and filtering (BenoitGr?goire)
6. Re: Compiling 1.8.3 on Solaris 8 (Derek Atkins)


----------------------------------------------------------------------

Message: 1
Date: 22 May 2003 10:10:12 -0400
From: Derek Atkins 
Subject: Re: .gmo files built twice
To: Jon Lapham 
Cc: stimming at tuhh.de
Message-ID: 
Content-Type: text/plain; charset=us-ascii

Jon Lapham writes:

> But, I think the situation is no worse with my changes... and is much
> better in that the .pot file is only built at most once in a build,
> and neither the .pot or .gmo files are rebuilt when there have been no
> changes to the .c files.

Well, I never see it rebuilt -- ever.. It gets built the first
time through and then never again. But that's just me, I think.
Personally, I kind of like it this way.

-derek

-- 
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available

------------------------------

Message: 2
Date: 22 May 2003 10:14:43 -0400
From: Derek Atkins 
Subject: Re: Compiling 1.8.3 on Solaris 8
To: Charles Gagnon 
Cc: gnucash-devel at gnucash.org
Message-ID: 
Content-Type: text/plain; charset=us-ascii

Charles Gagnon writes:

> Hey everyone,
> 
> In the 1.8.3 distribution, the configure script uses /bin/sh but has
> some $(...) in it (not supported in /bin/sh). Probably works anyway
> on Linux since /bin/sh is a link to bash. To run configure on
> Solaris, I have to force bash:
> 
> % bash ./configure
>
> Otherwise it doesn't work.

Yep. This is unfortunately a problem in the intltool autoconf script.
It's nothing we can change -- we include it by reference. :(

> Second, I probably have something outdated somewhere but I can't
> shake off this errors. Any ideas?

I noticed this, too. getc_unlocked does exist in libc, but is not
referenced in any header I could find. OTOH, I had a local copy of
libintl already installed, but I noticed that the configure script
didn't find it. What I had to do was:

env CPPFLAGS=-D_nl_domain_bindings=_nl_domain_bindings__ LD=gcc bash ./configure

This would get it to find the locally installed libintl and then it wouldn't
try to build its own version and fail.

> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -g -O2 -Wall -Wunused -Werror localcharset.c -fPIC -o .libs/localcharset.o
> cc1: warnings being treated as errors
> localcharset.c: In function `get_charset_aliases':
> localcharset.c:144: warning: implicit declaration of function `getc_unlocked'
> make[2]: *** [localcharset.lo] Error 1
> make[2]: Leaving directory `/usr/local/src/gnucash-1.8.3/intl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/gnucash-1.8.3'
> make: *** [all-recursive-am] Error 2

-derek

-- 
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available

------------------------------

Message: 3
Date: Thu, 22 May 2003 11:35:15 -0300
From: Jon Lapham 
Subject: Re: .gmo files built twice
To: Derek Atkins 
Cc: stimming at tuhh.de
Message-ID: <3ECCE023.4010002 at extracta.com.br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Derek-

Firstly, I now understand what you mean about modifying intltool 
generated Makefiles... it kind of seems impossible since intltoolize 
generates everything. Bummer.

Derek Atkins wrote:
> Jon Lapham writes:
>>But, I think the situation is no worse with my changes... and is much
>>better in that the .pot file is only built at most once in a build,
>>and neither the .pot or .gmo files are rebuilt when there have been no
>>changes to the .c files.
> 
> Well, I never see it rebuilt -- ever.. It gets built the first
> time through and then never again. But that's just me, I think.
> Personally, I kind of like it this way.

I would *love* this behavior. But, what I see is that the .gmo files 
are rebuild EVERYTIME I do anything with make. I wonder why we see 
different bahavior.

If you do a simple "make" followed by "make install" on the stable 1.8 
branch, do you see the .gmo files compiled during the make install step?

-Jon

-- 
-**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*---
Jon Lapham Rio de Janeiro, Brasil
Work: Extracta Moléculas Naturais SA http://www.extracta.com.br/
Web: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------



------------------------------

Message: 4
Date: 22 May 2003 10:54:07 -0400
From: Derek Atkins 
Subject: Re: .gmo files built twice
To: Jon Lapham 
Cc: stimming at tuhh.de
Message-ID: 
Content-Type: text/plain; charset=us-ascii

Jon Lapham writes:

> Derek-
> 
> Firstly, I now understand what you mean about modifying intltool
> generated Makefiles... it kind of seems impossible since intltoolize
> generates everything. Bummer.

Yea.

> If you do a simple "make" followed by "make install" on the stable 1.8
> branch, do you see the .gmo files compiled during the make install
> step?

Nope. But it's most likely due to different versions of intltool.

> -Jon

-derek

-- 
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available

------------------------------

Message: 5
Date: Thu, 22 May 2003 11:52:24 -0400
From: BenoitGr?goire
Subject: Re: automagic web importing and filtering
To: nmarshall ,
gnucash-devel at lists.gnucash.org
Message-ID: <200305221152.24944.bock at step.polymtl.ca>
Content-Type: text/plain; charset="iso-8859-1"

On May 12, 2003 01:11 pm, nmarshall wrote:
> hi all,
>
> really like gnucash, but i got an itch an really need to fix it.
>
> as an good perl programer, im lazy. so i want my online bankstatments to
> automagicly be downloaded and entered into gnucash.
> i tryed messing with quicken files but as left with a feeling that it
> could be done better. that is, i know what entrys are me buying gas and
> food, why should i have to filter this every time i inport this data..
>
> really want a automagic fix.
>
> so i looked for a websluping solution, as i love perl im using
> WWW::Mechanize.
> now i need to know where to put this data?
> im guessing in the Import module. but would like some clues.

Indeed, you'll need to use the import module, which will offer you transaction 
matching services (It should be able to automagically learn when it is you 
buying food and you buying gas).

I am not clear however as to the format of the data you are pulling down. QIF 
files? Anyhow, I'll be happy to help you, but I need more information on 
what exactly you are trying to do. Are you trying to feed data directly into 
GnuCash, or only to download a file?

-- 
Benoit Grégoire
http://step.polymtl.ca/~bock/

------------------------------

Message: 6
Date: 22 May 2003 12:52:39 -0400
From: Derek Atkins 
Subject: Re: Compiling 1.8.3 on Solaris 8
To: Charles Gagnon 
Cc: gnucash-devel at gnucash.org
Message-ID: 
Content-Type: text/plain; charset=us-ascii

ok, we're back to the point where this should be on the lists...

Charles Gagnon writes:

> That got me further but now I get:

Yea, that's what I got, too. Do you actually have a libintl installed
on your system? The problem is that the configure script it not
finding it. That's what that CPPFLAGS=... was all about -- to try to
get the configure script to actually find the libintl.

What's going on here is that the configure script is building an
inconsistent picture, and you get into a state you shouldn't (or at
least a state that isn't covered by all the tests).

> (charlesg at renoir): /usr/local/src/gnucash-1.8.3$ make
> [...]
> ../.libs/libgncmod-app-utils.so: undefined reference to `_'
> collect2: ld returned 1 exit status
> make[4]: *** [test-link-module] Error 1

Right. This is why you need to get the configure script to find
libintl. What I did (to create that CPPFLAGS=... command) was read
through the config.log to see what was failing and then trying to get
it not to fail. You should take a look at config.log and see what
errors you get when it's looking for libintl.

-derek

-- 
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available

------------------------------

_______________________________________________
gnucash-devel mailing list
gnucash-devel at lists.gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


End of gnucash-devel Digest, Vol 2, Issue 19
********************************************


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20030523/84089c7f/attachment.htm


More information about the gnucash-devel mailing list