Dear people,

While looking for a solution for a build problem I saw something on the mailing archive form dev from Pathani, Radhika (GE, Corporate, consultant) written on Tue, 27 Feb 2007 15:22:24 -0500. In this mail he writes the error :

Hi,
I am getting the following error message dhile doing 'Configure'.i'm
using MS Visual 2005 Express Edition .i've configured as per the
document. but still the problem coming.
....
Can't find MS Visual Studio / VC++  at ./oowintool line 181.
Can't find MS Visual Studio / VC++  at ./oowintool line 181.


This problem sounds me very familiar in the ears I had the same problem. But I 
think I have solved this I looked into the windows
registry and I saw Visual Studio 2005 has another registery key. Perhaps not the place to submit changes into source but I cann't check with anoncvs.. I donn't how this works out for Express edition if I found out you hear from me. Perhaps some checking is not a bad idea..

Greets,

Timo Hartong


So I changed oowintool in the following way:

my %msvc_net_2005 = (
   'ver' => '8.0',
   'key' => 'Microsoft/VisualStudio/8.0/Setup/VC/ProductDir',
   'instmsi_path' => '../Common7/Tools/Deployment/MsiRedist',
   'dll_path' => '../SDK/v2.0/Bin',
   'dll_suffix' => '80'
);
my %msvs_net_2005 = (
   'ver' => '8.0',
   'key' => 'Microsoft/VisualStudio/8.0/Setup/VS/ProductDir',
   'instmsi_path' => 'Common7/Tools/Deployment/MsiRedist',
   'dll_path' => 'Microsoft Visual Studio 2005 Professional Edition - ENU', # 
testme ...
   'dll_suffix' => '80'
);

sub find_msvs()
{
   my @ms_versions = ( \%msvs_net_2005, \%msvs_net_2003_ea, \%msvs_net_2003, 
\%msvs_net_2002, \%msvc6 );

   for $ver (@ms_versions)
   {
        my $install = reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/" . 
$ver->{'key'});
        if (defined $install && $install ne '') {
            $ver->{'product_dir'} = $install;
            return $ver;
        }
   }
   die "Can't find MS Visual Studio / VC++";
}

sub find_msvc()
{
   my @ms_versions = ( \%msvc_net_2005 ,\%msvc_net_2003, \%msvc_net_2002, 
\%msvc6 );

   for $ver (@ms_versions)
   {
        my $install = reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/" . 
$ver->{'key'});
        if (defined $install && $install ne '') {
            $ver->{'product_dir'} = $install;
            return $ver;
        }
   }
   die "Can't find MS Visual Studio / VC++";
}





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • [dev] Configure issues Pathani, Radhika \(GE, Corporate, consultant\)
    • [dev] Configure issues Openoffice Development

Reply via email to