It's not a stupid question ;)

 make buildstamp
./builddate.pl
Updating build.h
helio@linux-techno:~/gretl> more build.h
#define BUILD_DATE "build date 2011-07-13\n"

---
So it just misses to call that in every build.
(does it do that in ubunto?)

Thanks Jack, I guess my date was bugging gretl :).

Hélio

On Wed, Jul 13, 2011 at 11:25 PM, Riccardo (Jack) Lucchetti <r.lucchetti@univpm.it> wrote:
On Wed, 13 Jul 2011, Hélio Guilherme wrote:

Hi Allin,
I complained before, but you probably missed ;)

After a make clean and configure, make fails because build.h does not exist. Looking to win32 make, this file only contains the date of the build. Before I did created and
edited by hand, but why is the automagic date failing here? This is OpenSUSE 11.3 x64.

Can you please adapt Makefile, so it creates the file and adds the build date?

Thanks,
Hélio

final lines of ouput:
libtool: compile:  gcc -c -g -O2 -I.. -I../gui2 -DHAVE_CONFIG_H -I../lib/src -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/libxml2 -I../plugin -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../plugin/zipunzip -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.
excel_import.c  -fPIC -DPIC -o .libs/excel_import.o
excel_import.c:36:19: fatal error: build.h: No such file or directory
compilation terminated.
make[1]: *** [excel_import.lo] Error 1
make[1]: Leaving directory `/home/helio/gretl/plugin'
make: *** [plugin] Error 2

Maybe this is a stupid question, but what do you see when you run 'make buildstamp'?


Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche

r.lucchetti@univpm.it
http://www.econ.univpm.it/lucchetti
_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel