]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/README.mingw32
Set keyword replacement on files
[bacula/bacula] / bacula / src / win32 / README.mingw32
index 8ad7d12a27270c1234abf7ad1cd9f22a5e10916a..394997dcbcdc8d61ece4838fe57ff25f9df7f8ca 100644 (file)
@@ -38,6 +38,26 @@ Download and build the cross compiler tools
 Download and build the 3rd party dependencies
         ./build-depkgs-mingw32
 
+Note, that during the build process you will see a moderate amount of
+output. If something fails, it is probably because you don't have one
+of the build dependencies (hopefully all mentioned above) loaded on your  
+system. To find out what is going wrong, do the following:
+
+  cd .../depkgs-mingw32/src/<package-name>
+   
+where <package-name> is where the package is unpacked and built. Normally
+it is relatively obvious when looking at the src directory.             
+
+In that directory, you should find a make.log, which has the full details
+of the compiles, links, and installs done for that package.
+
+Note, if you are building on a 64 bit machine, please know that
+the build for the depkgs-mingw32/scons puts the python scons libraries
+in depkgs-mingw32/scons/lib64 but when running scons it looks for the
+libs in depkgs-mingw32/scons/lib. So adding symlink from
+depkgs-mingw32/scons/lib64 to depkgs-mingw32/scons/lib will fix the
+problem.
+
 You need the header files from the Microsoft VSS SDK.  Unfortunately the SDK
 can only be downloaded and installed on a Windows system.  You can find it on
 Microsoft's web-site at:
@@ -48,12 +68,16 @@ If that link doesn't work then go to http://www.microsoft.com and search for
 
         "download volume shadow copy service sdk"
 
+we are currently using version 7.2 released 8/3/2005.
+
 Normally the files will be installed in:
 
         c:\Program Files\Microsoft\VSSSDK72
 
 You only need to copy everything under the c:\Program Files\Microsoft\VSSSDK72\inc
-directory into .../depkgs-mingw32/vss/inc.
+directory into .../depkgs-mingw32/vss/inc.  In doing so, please ensure that
+the case in maintained on the directory and filenames -- some contain uppercase 
+characters !!!
 
 The above only needs to be done once unless we change the cross-tools
 or the dependencies versions.  In general, you can run the script multiple
@@ -188,8 +212,9 @@ New data variables are exported by placing their name in the file
 As with the bacula.def file above, this is now more or less automated.
 When the link dies, simply do the following:
 
-   cd .../bacula/src/win32/cats
+   cd .../bacula/src/win32
    make                  (to build the .o files, note the link will fail)
+   cd cats
    ./make_def >bacula_cats.def
 
 This should rebuild the bacula_cats.def file. Note, if you have