> From: owner-openssl-us...@openssl.org On Behalf Of Kyle Hamilton > Sent: Wednesday, 13 May, 2009 14:59
> If you have installed ActivePerl in c:\perl, why is it trying > to use a version of perl from your c:\oracle directory? > It's not, see below. > Check your PATH environment variable. > > -Kyle H > > On Tue, May 12, 2009 at 8:44 AM, Girish R Gupte > <ggu...@csc.com> wrote: > > > > Hi, > > > > I am trying to compile the OpenSSL DLLs using VC++ on > Windows XP - I > > am using Microsoft Visual C++ 2008 Express Edition > > > > I downloaded and installed the ActivePerl in C:\Perl. > > > > While runing the nmake command, I get following error - > > > > Building OpenSSL > > perl util/copy.pl ".\.\e_os.h" "tmp32dll\e_os.h" > > Can't load > > > 'C:\oracle\perl\5.8.3\lib/MSWin32-x86-multi-thread/auto/Fcntl/Fcntl.dl > > l' for module Fcntl: load_file:The specified modu le could not be > > found at > C:\oracle\perl\5.8.3\lib/MSWin32-x86-multi-thread/XSLoader.pm > > line 68. > > at C:\oracle\perl\5.8.3\lib/MSWin32-x86-multi-thread/Fcntl.pm line > > 234 Compilation failed in require at util/copy.pl line 3. > > BEGIN failed--compilation aborted at util/copy.pl line 3. > > NMAKE : fatal error U1077: 'C:\Perl\bin\perl.EXE' : return > code '0xff' > > Stop. > > Notice nmake identifies the correct perl.exe ... <snip> > > C:\openssl\openssl-0.9.8k>echo %PATH% > > C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program > > Files\Microsoft Visual Studio 9.0\VC\BIN;C:\Program > Files\Micr osoft > > Visual Studio > > > 9.0\Common7\Tools;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WINDOWS\M > > icrosoft.NET\Framework\v2.0.50727;C:\Pro > > gram Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program > > Files\Microsoft SDKs\Windows\v6.0A\bin;C:\Perl\site\bin;C:\Perl\bi > > n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem; > > ... and this PATH looks reasonable. <snip> The error is coming from perl trying to use a MODULE in \oracle\perl, which is either incompatible or not installed correctly. Some versions back the envvar for modules was PERL5LIB; I haven't rechecked recently. I don't use the ActiveState packaging, so I don't know if its installer should have handled this automatically. I suggest checking their documentation. Alternatively, I think giving -Icorrectlib should work, which could easily be done by changing var PERL in the .mak file(s) to include it, but I haven't tested. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org