Rob Browning wrote:
> Alan Orndorff <[EMAIL PROTECTED]> writes:
>
> > /usr/local/lib/libiberty.a contains asprintf, so vi
> > /src/motif/Makefile and added -liberty to it, and got past that. I
> > can't remeber which gnu package compiles up libiberty but I think it
> > was fileutils?
>
> Hmm. Maybe we can steal liberty. Sounds like exactly what we need.
>
> > In gnucash.c changed stpcpy to strcpy and got past that.
>
> This won't work. stpcpy returns a pointer to the end of the string.
> strcpy returns a pointer to the front. You need a compatibility
> function like this:
>
> char *
> stpcpy(char *dest, const char *src) {
> strcpy(dest, src);
> return(dest + strlen(src));
> }
>
> A bit slower than a real stpcpy, bit it should work.
Ok, I didn't know that I wasn't supposed to do it, but it got me past that
sticking point. Is it feasable to convert gnucash to use strcpy instead
of
stpcpy? Seems like you could do it. :-)
> > Now for the real hack job, still can't get setenv to work, so
> > changed it to putenv and changed the parms from (variable,
> > variable,1) to (variable) on both lines, and got past that.
>
> OK. I have the manpage for putenv. We should probably just switch
> wholesale to that. According to my manpages, setenv is only BSD 4.3,
> but putenv is SVID 3, POSIX, and BSD 4.3.
>
> > ./gnucash, can't find sort, fine, touch sort, can't find, pp,
> > fine, touch pp, then can't open display.
>
> Can't find sort? You mean the program? That's very odd. Also, I'm
> wondering what pp is?
I just found out what these are. I was looking at slibcat, for scheme,
and
noticed entries for both these *files*. So I guess touch is good enough
for both of these.
> > Hit cancel, and the rest of the display comes up. Not sure how much
> > damage I've done to the program, but I can finally get a display.
> > If I get time this weekend, I'll try to assess the damage.
>
> Glad you're making progress.
Now I can really bug you! <g>. Ok, Transfering funds between accounts
causes a core dump, but this could be because of my hacks and not your
code. Haven't tried much, creating accounts, reconcile, adding entries,
just the basics, but seems pretty solid. The Help pages seem to need a
lot
of work, as I can only view the "about" page.
Now I have the whole thing packaged up for Solaris. This is equivalent to
a .rpm for Linux. What I would like to do is find a site to stick the
file on,
and then link to it from my web page. This may get some real Solaris
developers involved, or at least give some people hope that they may be
able
to get off of Windows for Checking/Credit Card/etc needs. Anyone
want to volunteer about 12 MB's of disk space?
thanks
alan
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body