]> git.sur5r.net Git - bacula/bacula/blob - regress/README.mingw32
Add README.mingw32 and fix Win32 sqlite install
[bacula/bacula] / regress / README.mingw32
1   Re: [Bacula-devel] Win32 Regression Scripts
2 From: "Michael Short" <michael@securenets.us>  (Securenets.us)
3   To: bacula-devel@lists.sourceforge.net
4 Date: 30 August 2007 04:09:00
5    
6
7 Hey guys, I've made a bit of progress on the win32 regression scripts.
8
9 In order to use the win32 bacula regression scripts, it is important to have
10 some unix tools (mainly sed). To make things simple, I downloaded UnxUtils
11 from http://sourceforge.net/projects/unxutils
12
13 Extract this somewhere on your hdd ( I extracted to C:\unxutils ) and add
14 the usr\local\wbin path from wherever you extracted the utils ( for me it
15 was C:\unxutils\usr\local\wbin ) to your {$PATH} on your windows box. If you
16 also want to make use of the shell (from unxutils) you may want to add the
17 ./bin directory as well (or just copy the sh.exe file to usr\local\wbin).
18
19 Now that you have a working toolset (with sed) we can continue setting up
20 regression tools. Compile the Ming32 version of bacula (from linux) and then
21 copy the entire source directory of bacula (with binaries) to somewhere on
22 your windows hdd (say... C:\bacula :P).
23
24 Copy a version of the regression scripts ( from regress/win32 ) to your
25 windows hdd (hmm... C:\regress ). Edit the prototype.conf file and set your
26 bacula source directory ( C:/bacula ) and your e-mail address (!!). Run
27 "config prototype.conf" from within the regression directory to configure
28 the regression scripts.
29
30 Edit regress\scripts\install_bacula.cmd and replace "COPY bin\sqlite.dll
31 bin\bacula_cats.dll > nul" and replace "cats_sqlite.dll" with
32 "cats_sqlite3.dll". ( FixMe )
33
34 >From the regress directory, run "make setup" and the script should copy the
35 binaries from the bacula sources and create a local bacula testing platform.
36 -----------
37
38 At this point all three of the bacula daemons fail miserably mentioning
39 something about bacula.dll. I will try figuring out what else is wrong
40 because when I installed the same build of bacula with the installer the
41 system ran fine. I'm guessing there are some outdated test configurations
42 and filenames causing bacula to go on the fritz.