~ubuntu-branches/ubuntu/karmic/firebird2.1/karmic

« back to all changes in this revision

Viewing changes to src/misc/upgrade/recovering_build.txt

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2008-05-26 23:59:25 UTC
  • Revision ID: james.westby@ubuntu.com-20080526235925-2pnqj6nxpppoeaer
Tags: upstream-2.1.0.17798-0.ds2
ImportĀ upstreamĀ versionĀ 2.1.0.17798-0.ds2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Recovering the build process after adding fields to the engine.
 
2
 
 
3
The following steps were used in Win32, but the idea may apply to other platforms
 
4
as well. This solution implies manual intervention. Permanent changes were
 
5
suggested in fb-devel that allow an automated build to succeed.
 
6
 
 
7
- Start the current build's executable (let's assume the debug server).
 
8
- Modify preprocess.bat as instructed inside the file (look for "CVC -" comments).
 
9
The problem lies mainly with backup.epp and restore.epp, both part of gbak.
 
10
- Run make_boot for release and make_all for release. This step must catch
 
11
compilation errors. The idea is to avoid the build process getting rid of the
 
12
current debug server version. If only build_all has problems, keep running
 
13
preprocess.bat after your changes and then build_all until everything compiles.
 
14
- Run make_boot for debug.
 
15
- Shutdown the server.
 
16
- Run make_all for debug.
 
17
- Start the newly compiled server instance (debug or release, although
 
18
debug will catch more problems. We'll assume the debug server).
 
19
- Run prepare with the path pointing to the running server's root dir. Now you
 
20
have the build support databases (gen/dbs) with the new structure.
 
21
- Revert preprocess.bat to the normal state (undo the temporary changes).
 
22
- Run make_boot for release and make_all for release.
 
23
- Run make_boot for debug.
 
24
- Shutdown the server.
 
25
- Run make_all for debug.
 
26
 
 
27
You should have the server, the utilities and the support databases with the
 
28
changed structure. Now both the release and debug versions are upgraded.
 
29