Index: /trunk/FACT++/src/scheduler.cc
===================================================================
--- /trunk/FACT++/src/scheduler.cc	(revision 10764)
+++ /trunk/FACT++/src/scheduler.cc	(revision 10765)
@@ -762,6 +762,9 @@
         ("no-dim,d",          po_switch(),    "Disable dim services")
         ("console,c",         var<int>(),     "Use console (0=shell, 1=simple buffered, X=simple unbuffered)")
-        ("schedule-database", var<string>()->required(),
-                                              "Database link as in\n\t[user:[password]@][server][:port][/database]\nOverwrites options from the default configuration file.")
+        ("schedule-database", var<string>()
+#if BOOST_VERSION >= 104200
+         ->required()
+#endif
+                                           ,  "Database link as in\n\t[user:[password]@][server][:port][/database]\nOverwrites options from the default configuration file.")
         ("mintime",           var<int>(),     "minimum observation time")
         ;
Index: /trunk/FACT++/src/triggerschedule.cc
===================================================================
--- /trunk/FACT++/src/triggerschedule.cc	(revision 10764)
+++ /trunk/FACT++/src/triggerschedule.cc	(revision 10765)
@@ -13,5 +13,9 @@
     config.add_options()
         ("dns",               var<string>("localhost"),  "Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)")
-        ("schedule-database", var<string>()->required(), "Database name for scheduling preview")
+        ("schedule-database", var<string>()
+#if BOOST_VERSION >= 104200
+         ->required()
+#endif
+                                                      , "Database name for scheduling preview")
         ;
 
