Re: Adding version option to ofxdump

Benoit Grégoire <[email protected]>
Newsgroups gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
On January 9, 2003 12:35 am, Thomas Frayne wrote:
> I downloaded libofx-0.6.2-1.src.rpm, installed it, and extracted the tar
> files.  I read the README and the files referenced there.  I found and
> read ofx_preproc.cpp, which I think will be the first file I will have
> to modify, since it parses the command arguments.  Is that right?

No, actually, you have to modify the ofxdump.cpp.  The library should not have 
to parse all the arguments, oly those needed for OpenSP's interface.

> The good news is:  I can still read C and C++ code.
>
> The bad news is:  I have no idea how to make the binary.  The few times
> I have done a make since I started using Linux I was following a
> written procedure by rote, and I saw no such procedure for libofx.  I
> want to build the binary for 6.2 from scratch, so I'll know what to do
> to build my modifications.
>
> What should I do to figure out how to do the make?

Instructions were in the INSTALL file, which was out of date.  I am updating 
them now.  To compile, you have to type:
./autogen.sh (For libofx CVS)
./configure (For a distributed tarball)
make
And as root type:
make install

Obviously you should use the CVS version to develop.  If you have to add a 
file or otherwise modify the build system, you must modify the Makefile.am 
files.

By the way, I am on IRC (server: irc.gnome.org, channel: #gnucash) about 24h a 
day (Well, I do sleep and occasionaly go out, but I work from home so...), if 
you have any questions.  My nick is benoitg.
-- 
Benoit Grégoire
http://step.polymtl.ca/~bock/


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.