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.
> 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?
> 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.
--
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body