Hello, you have to use "--openssldir=C:\OpenSSLInstallDir\CommonFiles\SSL" Regards, Tomas Mraz, OpenSSL On Thu, 2024-06-27 at 16:50 +0000, BENTLEY Thom via openssl-users wrote: > > > > Hi All, > > I get an error running `perl Configure --openssldir > "C:\OpenSSLInstallDir\CommonFiles\SSL" --prefix=C:\OpenSSLInstallDir > VC-WIN64A` > target already defined - C:\OpenSSLInstallDir\Common Files\SSL > (offending arg: VC-WIN64A) > > If I remove --openssldir "C:\OpenSSLInstallDir\CommonFiles\SSL", the > configure happens fine but the install fails. > Here are the steps after the reconfigure. > nmake clean > nmake > nmake test > nmake install. > > The install shows this error: > NMAKE : fatal error U1077: '"C:\Strawberry\perl\bin\perl.exe" > ".\util\mkdir-p.pl" "C:\Program Files\Common Files\SSL\certs"' : > return code '0x2' > Stop. > > What step did I miss or is this a bug? I thought I could override > the common files location with –openssldir but that doesn’t seem to > work. > > Thanks. > > > > > Thom Bentley| Senior Software Engineer | > Medidata, a Dassault Systèmes company > > This email and any attachments are intended solely for the use of the > individual or entity to whom it is addressed and may be confidential > and/or privileged. > If you are not one of the named recipients or have received this > email in error, > (i) you should not read, disclose, or copy it, > (ii) please notify sender of your receipt by reply email and delete > this email and all attachments, > (iii) Dassault Systèmes does not accept or assume any liability or > responsibility for any use of or reliance on this email. > > Please be informed that your personal data are processed according to > our data privacy policy as described on our website. Should you have > any questions related to personal data protection, please contact 3DS > Data Protection Officerhttps://www.3ds.com/privacy-policy/contact/ > > -- Tomáš Mráz, OpenSSL