Changeset: fde523ba0aaf for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fde523ba0aaf
Modified Files:
tools/mserver/mserver5.c
Branch: Apr2011
Log Message:
mserver: emit warning when get_bin_path failed
Found on FreeBSD. get_bin_path fails (or returns NULL), and hence
mserver5 will die with not being able to find mal_init. When no binpath
is found, warn the user that monet_mod_path needs to be set manually.
diffs (15 lines):
diff --git a/tools/mserver/mserver5.c b/tools/mserver/mserver5.c
--- a/tools/mserver/mserver5.c
+++ b/tools/mserver/mserver5.c
@@ -446,6 +446,11 @@
break;
}
}
+ } else {
+ printf("#warning: unable to determine binary location, "
+ "please use --set
monet_mod_path=/path/to/... to "
+ "allow finding modules\n");
+ fflush(NULL);
}
if (modpath != NULL)
GDKsetenv("monet_mod_path", modpath);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list