doa41d2009 installed but we get required package 'doa41d2006' not found

bmayfield

Member²
We have tried codegear support but we are not getting very far. We are trying to migrate a Delphi 2007 application to Delphi 2009. We installed (we think we installed correctly) doa41d2009 and replaced all references of doa412006 with doa412009. When we compile we get a Fatal error E2202 Required packagae doa41d2006 not found. We did source code searches within the IDE and made sure all references were changed but we can see doa41d2006 in the binary exe but not doa41d2009. So something is not getting replaced.

One thing we can not do is confirm we have doa41d2009 installed correctly in the Delphi 2009 IDE. If we do Oracle - Info it does not tell us which version of doa it is pointing to.

Additionally, we have Delphi 2007 installed on the same OS with Delphi 2009 installed on it. CodeGear says we can run both IDEs at the same time as they are installed in different directories.

Update: If we do a project - default options - Delphi for Win 32 - packages, in Delphi 2007 IDE, it is pointing to C:\Program Files\CodeGear\RAD Studio\5.0\DOA\doa41d2006.bpl. If we do a project - default options - Delphi - packages, in Delphi 2009 IDE, it is pointing to C:\Documents and Settings\All Users\Documents\RAD Studio\6.0\Bpl\doa41d2009.bpl, so we think we have DOA installed correctly in the Delphi 2009 IDE.

Is it possible that even though all requires references say doa41d2009 it is still pointing to the doa41d2006 package somehow?

Thanks.

Bruce
 
Last edited:
I assume that you have one or more packages that require doa41d2006. Perhaps you have ported some packages from Delphi 2007 that use the Direct Oracle Access components? If so, update its "Requires" section accordingly.
 
All requires have been updated. We have 4 packages in this exe. We do a view source on each BPL and the exe to verify that doa41d2009 is present in every requires. CodeGear changed the way you set the output paths from Delphi 2007 in the IDE. Using project - options - Delphi complier, we set base, debug and release output paths pointing to the right directory but when we do the compile it gets the E2202 error and the exe and bpl files date/time stamp are not updated. It is like it is reading the bpl and seeing it contains doa41d2006 and not looking at the dpk which has been updated.

We are stumped?

Updated: OK, we figured it out. The path of the bpl was pointing to a different directory. It seems you can set output directory paths from many different places and it is really confusing. We have not tested yet because vcljpg is missing and we have to figure out where that is used.

By the way vcljpg was replaced by vclimg going from 2007 to 2009!

Regards,

Bruce
 
Last edited:
Back
Top