Delphi 6: 'Never-build package '(whatever)' must be recompiled'

I'm sorry guys this is a bit off-topic being primarily a Delphi question rather than a FinalBuilder one, but I have also posted it in Experts Exchange Delphi section, and I know a lot of you FinalBuilder users are also Delphi buffs, so here goes ...

We use Delphi 6 with Update pack 2; until now our build machine was Win2K, but I am in the process of creating a new build machine on WinXP SP2.

I have spent a full day installing Delphi together with a lot of additional packages which we use; I have replicated all the library paths from one machine together, and as far as I am able to determine, the Delphi environment is identical on both machines.

I have a generic automated build process (based on FinalBuilder 4), and all my source files are maintained in a StarTeam repository; the build process uses dcc32.exe rather than delphi32.exe.

I attempted a automated test build of a single module within a system containing perhaps 50 bpl's. On the Win2K machine it works perfectly, but an identical build on the WinXP machine falls over with a 'Never-build package '(whatever)' must be recompiled', where (whatever) is indeed another module within the suite.

I am in the process of recompiling (whatever) and I am expecting this to resolve the immediate problem, but this does not explain why it is happening in the first place, and I don't really want to have to rebuild everything on the new machine before continuing .

Are there any known issues with Delphi 6 in WinXP? Are there any compiler settings that I may have overlooked?

I'm clutching at straws here guys - give me some inspiration.

Hi Ken

I don’t think this is a WinXP issue, more than likely a library path issue or missing dcp files. If you didn’t copy the dcp files from the other machine then you will have to rebuild all.

When one package references another, it is the dcp files that it is actually referencing.

HTH


Vincent

I think you just about hit the nail on the head.

I had a whole bunch of stuff in $(DELPHI)\Projects\Bpl including some in-house packages which I rebuilt in the course of installing Delphi 6. When I copied across all the old DCP and BPL files from the same directory on the old build machine, the problem was resolved.

Thanks for your help.

Ken