[Monetdb-developers] MonetDB on FreeBSD?
Hello, 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. 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: ## ------------------------------------------ ## 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: 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 http://www.freshway.biz/files/MonetDB-makefile.txt Can anybody help me further along? Kind regards, Arnoud Vermeer FreshWay Innovations The Netherlands
Hi Arnoud, Thanks for your interest in MonetDB. First some stupid questions. Do you use GNU-make? (gmake) or bsd-make (pmake, whatever)? Did you run a bootstrap or not? (If you don't know, the answer is no :) ) On 19-01-2006 17:32:03 +0100, Arnoud Vermeer wrote:
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
This is nasty and usually points to some misconfiguration, for instance when gcc doesn't have the includes in the include path, but configure can just find it.
when I ls src/*
I get no *.mk just:
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
I assume you or your MUA did insert the links here, because if they are there is something horribly wrong. The .mk files are in the toplevel dir: % find MonetDB -name "*.mk" MonetDB/html.mk MonetDB/rules.mk
Hi Fabian,
I did a bsd-make (just standard "make" in bsd, so I guess bsd-make)
I did not run a bootstrap, since the documentation states that it is not
needed with the stable package.
On 1/19/06, Fabian Groffen
Hi Arnoud,
Thanks for your interest in MonetDB.
First some stupid questions. Do you use GNU-make? (gmake) or bsd-make (pmake, whatever)? Did you run a bootstrap or not? (If you don't know, the answer is no :) )
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
On 19-01-2006 17:32:03 +0100, Arnoud Vermeer wrote: 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
This is nasty and usually points to some misconfiguration, for instance when gcc doesn't have the includes in the include path, but configure can just find it.
I agree it's nasty, but i've seen it before and it still seems to work in most cases I've seen it.
when I ls src/*
I get no *.mk just:
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
I assume you or your MUA did insert the links here, because if they are there is something horribly wrong.
It wasn't me. Maybe it was gmail or the mailinglist program, but not me ;) The .mk files are in the toplevel dir:
% find MonetDB -name "*.mk" MonetDB/html.mk MonetDB/rules.mk
nope, didn't find html.mk: web02# find MonetDB-4.8.2 -name "*.mk" MonetDB-4.8.2/rules.mk MonetDB-4.8.2/rpm.mk
On Thu, Jan 19, 2006 at 09:56:20PM +0100, Arnoud Vermeer wrote:
Hi Fabian,
I did a bsd-make (just standard "make" in bsd, so I guess bsd-make)
since it's FreeBSD, I suppose so ;-) try "gmake" to check whether FreeBSD comes also with this "alien" variant of make ;-)
I did not run a bootstrap, since the documentation states that it is not needed with the stable package.
right.
The .mk files are in the toplevel dir:
% find MonetDB -name "*.mk" MonetDB/html.mk MonetDB/rules.mk
nope, didn't find html.mk:
web02# find MonetDB-4.8.2 -name "*.mk" MonetDB-4.8.2/rules.mk MonetDB-4.8.2/rpm.mk
that's ok. html.mk was/is (apparently) not in the source distribution. you don't need it. 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 |
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 |
participants (3)
-
Arnoud Vermeer
-
Fabian Groffen
-
Stefan Manegold