Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot open Perl script "Configure": no such file or directory

Tags:

openssl

How to install openSSL on Windows-32 bit?

This is what I have done so far:

  1. Downloaded openSSL source code from http://www.openssl.org/source/ and unzip it using 7-zip

  2. Download & install ActiveState Perl @ ActiveState Perl and added C:\perl\bin\.

  3. Run C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat to get Visual Studio environment setup.

  4. Run perl Configure VC-WIN32 no-asm – -prefix=C:\openssl-1.0.1b.

This command gives me the error cannot open perl script "Configure": no such file or directory.

Please help me to solve this problem.

like image 538
user3296352 Avatar asked Feb 11 '14 09:02

user3296352


2 Answers

Here is what I did to fix this error:

  • I executed the command in Visual Studio Command Prompt instead of a regular CMD.
  • To run to the Visual Studio Command Prompt click start -> All programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools -> Visual Studio Command Prompt (2010)
  • Also, Make sure you are in the directory where the file Configure is located.

The command got executed with no error

like image 118
Majda Avatar answered Oct 17 '22 01:10

Majda


1) You should run NASM as administrator. Its must have.

2) Switch folder to downloaded openSSL files (Folder with files like README, INSTALL, NOTES, etc.)

3) Run:

perl Configure {YOUR CONFIGURATION}

like image 35
Yaroslav Avatar answered Oct 16 '22 23:10

Yaroslav