Christoph Reichenbach wrote:
> On Thu, 25 Nov 1999, Claudio Matsuoka wrote:
> > In native mode, the configure script
> > fails to set the appropriate -I directories and headers are not
> > found.
> Which of them?
All the relative paths to the package's local include directories. Here
are the actual parameters it uses:
gcc -g -O2 -I/usr/local/lib/glib/include -I/usr/local/include -c
savegame.c
savegame.c:33: engine.h: No such file or directory
savegame.c:35: heap.h: No such file or directory
savegame.c:38: graphics_png.h: No such file or directory
*** Error code 1
> Be warned, though- the AC/AM stuff wasn't written with
> cross-compiling in mind.
AC seems to be cross-compiling aware, but AM is not that smart. For
instance, it tries to locate libpng testing for $lib_dir/libpng.so
instead of using AC_TRY_COMPILE or whatever ($lib_dir is specified by
--with-png-dir). NetBSD's PNG lib is /usr/pkg/lib/libpng.so.$version,
requiring --with-png-dir=/usr/pkg and a link from libpng.so to be
created manually.
> BTW, did you test the build afterwards?
I didn't complete the build -- I was trying to figure out why the
autoconfiguration was not working. Does it work out of the box in
FreeBSD systems?
> > And it seems that something is wrong with the timestamps of the
> > files checked out from the repository.
> Strange. Which files were affected?
Apparently the files recently checked in were set to "more than one hour
in the future" (can ls(1) be set to show the time instead of year in
such situation?). It seems to be a time zone problem (I'm in GMT-2).
Shouldn't CVS take care of time zone conversion?
claudio