
I'm not sure the warnings about sys/sysctl.h are indeed a problem. The real test is, is HAVE_SYS_SYSCTL_H defined in the produced monetdb_config.h file? If so, sys/sysctl.h will be used. Also, is HAVE_SYS_PARAM_H defined? If that is also defined, then they're both included, and in the correct order. On 2011-05-04 17:29, Michael Sioutis wrote:
It seems that in OpenBSD sys/sysctl.h requires sys/param.h (http://lists.gnu.org/archive/html/bug-autoconf/2005-08/msg00015.html). I've found this workaround, but I won't test it until tomorrow probably: http://lists.gnu.org/archive/html/bug-autoconf/2005-08/msg00015.html
I also don't know exactly how to apply the above workaround (or any other) in the MonetDB Makefile(s ?).
On Wed, May 4, 2011 at 6:27 PM, Michael Sioutis
wrote: It seems that in OpenBSD sys/sysctl.h requires sys/param.h (http://lists.gnu.org/archive/html/bug-autoconf/2005-08/msg00015.html). I've found this workaround, but I won't test it until tomorrow probably: http://lists.gnu.org/archive/html/bug-autoconf/2005-08/msg00015.html
I also don't know exactly how to apply the above workaround (or any other) in the MonetDB Makefile(s ?).
On Wed, May 4, 2011 at 6:20 PM, Michael Sioutis
wrote: I can't find any of HAVE_SYS_SYSCTL_H and KERN_PROC_PATHNAME defined in my config.log. Also, I have a warning about sysctl.h, which is in the configuration.log I posted earlier (my first post).
The important part is this: configure: WARNING: sys/sysctl.h: present but cannot be compiled configure: WARNING: sys/sysctl.h: check for missing prerequisite headers? configure: WARNING: sys/sysctl.h: see the Autoconf documentation configure: WARNING: sys/sysctl.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/sysctl.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------- ## configure: WARNING: ## Report this to info@monetdb.org ## configure: WARNING: ## ------------------------------- ##
On Wed, May 4, 2011 at 6:06 PM, Fabian Groffen
wrote: Thanks for the summarisation!
On 04-05-2011 17:56:54 +0300, Michael Sioutis wrote:
To sum it up..
add #include
#include hmm, do you really need pthread_np.h? That seems like a non-standard header to me.
and... 2011-05-04 17:44:29 MSG mydb[19795]: !MALException:malInclude:could not open file: mal_init
This indicates some bigger problem...
2011-05-04 17:44:29 MSG mydb[19795]: #warning: unable to determine binary location, please use --set monet_mod_path=/path/to/... to allow finding modules
... and this causes it.
Can you tell me if HAVE_SYS_SYSCTL_H and KERN_PROC_PATHNAME are defined for you? common/utils/mutils.c is apparently unable to find the executable path on OpenBSD. Perhaps KERN_PROC_PATHNAME is not in sys/sysctl.h on OpenBSD?
------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Sjoerd Mullender