Hi, On Thu, Jan 19, 2006 at 05:32:03PM +0100, Arnoud Vermeer wrote:
Hello,
first question: Which version of MonetDB are you using??
I'm trying to compile MonetDB on FreeBSD 5.4. The machine is a dell single xeon EMT64 3.0 ghz with 2 gb of memory.
is your FreeBSD 5.4 32-bit or 64-bit?
The ./configure works just fine. I've included the output in configure.txt
It does however put out the following text:
configure: WARNING: sys/file.h: present but cannot be compiled configure: WARNING: sys/file.h: check for missing prerequisite headers? configure: WARNING: sys/file.h: see the Autoconf documentation configure: WARNING: sys/file.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/file.h: proceeding with the preprocessor's result configure: WARNING: sys/file.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ##
are these the only error messages you get from configure? It might actually not be a big problem ... If there were more errors, and/or compilation of MonetDB (using GNU-make; see below) will fail, and your system is 64-bit; one problem could be that your compiler and or systemlibraried are not installed/configure to create 32-bit code --- the default of MonetDB's configure is (still) to compile 32-bit binaries; to enable/force the creation of 64-bit binaries you need to run configure with `--enable-bits=64`.
When I try to run make, it returns the following error:
"Makefile", line 981: Could not find ./*.mk "Makefile", line 982: Could not find ./*.mk make: fatal errors encountered -- cannot continue
It is these two lines in the Makefile:
include $(top_srcdir)/*.mk include $(top_builddir)/*.mk
when I ls src/*
I get no *.mk just:
$(top_srcdir) is "MonetDB" (with a CVS check-out or "MonetDB-4.8.2" with a source tarball); hence (as Fabian pointed out) the files are MonetDB/rules.mk & MonetDB/html.mk. Further, BSD-make apparently cannot handle includes with wildcards; you need GNU-make ("gmake") to compile MonetDB. ./bootstrap needs to be called before configure only for the CVS checkout; not for the source tarball. since you do have a configure script, bootstrap has been called --- either by you, if you checked out MonetDB from CVS, or by the process that created the source tarball (in case your downloaded that one). ;-)
Makefile Makefile.am http://makefile.am/ Makefile.msc gdk mel monet tools Makefile.ag http://makefile.ag/ Makefile.in http://makefile.in/ common mapi modules testing utils
Includes: http://www.freshway.biz/files/MonetDB-configure.txt
I should have read this on first ;-) - I see no further error message in the configure.txt (not even the one above; apparently, configure.txt contains on stdout, not stderr of your configure run...) - apparently, your compiler seems to generate 64-bit code: checking size of void *... 8 checking size of size_t... 8 did you run configure with --enable-bits=64, or does it work despite our (legacy) "efforts" to "enforce" 32-bit
http://www.freshway.biz/files/MonetDB-makefile.txt
Can anybody help me further along?
Kind regards,
Arnoud Vermeer FreshWay Innovations The Netherlands
Please let us know in case you have further problems and/or you manage to get MonetDB compiled. Stefan -- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |