diff --git a/RTCP/Storage/src/Storage_main.cc b/RTCP/Storage/src/Storage_main.cc
index ec063f65f8c35f2c1f59060e6412b258f250ebad..ac80dc82cf886d65e047961563b02aebd9ef8df5 100644
--- a/RTCP/Storage/src/Storage_main.cc
+++ b/RTCP/Storage/src/Storage_main.cc
@@ -15,8 +15,9 @@
 #include <Interface/Parset.h>
 #include <Interface/Exceptions.h>
 #include <Storage/SubbandWriter.h>
+#if !defined HAVE_PKVERSION
 #include <Storage/Package__Version.h>
-
+#endif
 #if defined HAVE_MPI
 #include <mpi.h>
 #endif
@@ -39,10 +40,10 @@ static void child(int argc, char *argv[], int rank)
       std::cerr << "WARNING: specifying nrRuns is deprecated --- ignored" << std::endl;
     else if (argc != 2)
       THROW(StorageException, std::string("usage: ") << argv[0] << " parset");
-
+#if !defined HAVE_PKVERSION
     std::string type = "brief";
     Version::show<StorageVersion> (std::cout, "Storage", type);  
-    
+#endif    
     ConfigLocator aCL;
     string        progName = basename(argv[0]);
     string        logPropFile(progName + ".log_prop");