dealmaker - 2008-06-07

I tried both 0.39 and 0.40a, and I am using Ubuntu.  I can't even get it to compile...Both versions show follosing errors:

../goo/libGoo.a(gfile.o): In function `openTempFile(GString**, _IO_FILE**, char*, char*)': warning: the use of `tmpnam' is dangerous, better use `mkstemp'

so I change the HAVE_MKSTEMPS to 1 in the header file, I got the following error:

g++  -O2 -DHAVE_CONFIG_H -I.. -I.  -c In function ‘GBool openTempFile(GString**, FILE**, char*, char*)’: error: ‘mkstemps’ was not declared in this scope
make[1]: *** [gfile.o] Error 1

How can the author even compile this?   Please help....