Closed SivanChan closed 1 month ago
I also encountered the same problem,but my operating system is Winodws11.
Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/mkinstallvars.pl": Permission denied
@Wrl233 Thanks for posting this issue, you can try to run the command with administrator rights.
On Mac Os, I did solve this by installing pkg-config
using homebrew
brew install pkg-config
then I rerun the install command using admin privileges.
I can't install openssl under WSL too, the build-x64-linux-dbg-err.log
is:
ln: ./apps: cannot overwrite directory
make[1]: *** [Makefile:4197: apps/openssl.cnf] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:2297: build_sw] Error 2
Three other issues thrown on one original issue. Not helpful.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/mkinstallvars.pl": Permission denied
@Wrl233 Thanks for posting this issue, you can try to run the command with administrator rights. I ran into the same problem on ubuntu. Using
sudo ./vcpkg install openssl:x64-linux
does not work,dofile.pl
andmkinstallvars.pl
permissions are 644, please help me
Using
sudo ./vcpkg install openssl:x64-linux
does not work
Don't run sudo vcpkg
. Don't run sudo vcpkg
. Don't run sudo vcpkg
.
dofile.pl
andmkinstallvars.pl
permissions are 644, please help me
Is this also on WSL?
Using
sudo ./vcpkg install openssl:x64-linux
does not workDon't run
sudo vcpkg
. Don't runsudo vcpkg
. Don't runsudo vcpkg
.
dofile.pl
andmkinstallvars.pl
permissions are 644, please help meIs this also on WSL?
No, it's based on ubuntu
WSL is just a virtual environment for running linux in windows. It can be used with Ubuntu.
WSL is just a virtual environment for running linux in windows. It can be used with Ubuntu.
I use kylin system, which is based on ubuntu, and I ran into this problem on this system
This issue hasn’t been updated for a long time; if it is still an issue, please ping me and I will reopen this issue.
This issue hasn’t been updated for a long time; if it is still an issue, please ping me and I will reopen this issue.
问题都没解决,关闭它干嘛。 问题如果已经解决,提issue的人会自己来关闭的。
Embarrassing!
Package: openssl:x64-linux@3.3.0#1
Host Environment
To Reproduce
vcpkg install openssl:x64-linux
Failure logs
/home/cym/workspace/code/vcpkg/buildtrees/openssl/build-x64-linux-dbg-err.log
``` Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl": Permission denied make: *** [Makefile:4400:include/openssl/asn1t.h] 错误 25 make: *** 正在等待未完成的任务.... Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl": Permission denied make: *** [Makefile:4398:include/openssl/asn1.h] 错误 25 Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl": Permission denied make: *** [Makefile:4402:include/openssl/bio.h] 错误 25 Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/mkinstallvars.pl": Permission denied make: *** [Makefile:4376:builddata.pm] 错误 25 Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/mkinstallvars.pl": Permission denied make: *** [Makefile:4384:installdata.pm] 错误 25 Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl": Permission denied make: *** [Makefile:4394:include/crypto/dso_conf.h] 错误 25 Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl": Permission denied make: *** [Makefile:4392:include/crypto/bn_conf.h] 错误 25 Can't execute perl script "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl": Permission denied make: *** [Makefile:4378:crypto/params_idx.c] 错误 25 ```/home/cym/workspace/code/vcpkg/buildtrees/openssl/build-x64-linux-dbg-out.log
``` /usr/bin/perl ../src/nssl-3.3.0-961d78b8a1.clean/util/mkinstallvars.pl PREFIX=. BINDIR=apps LIBDIR= INCLUDEDIR=include APPLINKDIR=ms ENGINESDIR=engines MODULESDIR=providers "VERSION=3.3.0" "LDLIBS=-ldl -pthread " > builddata.pm /usr/bin/perl "-I." "-I../src/nssl-3.3.0-961d78b8a1.clean/util/perl" "-Mconfigdata" "-MOpenSSL::paramnames" "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.3.0-961d78b8a1.clean/crypto/params_idx.c.in > crypto/params_idx.c /usr/bin/perl ../src/nssl-3.3.0-961d78b8a1.clean/util/mkinstallvars.pl "PREFIX=/home/cym/workspace/code/vcpkg/installed/x64-linux/debug" BINDIR=bin "LIBDIR=lib" INCLUDEDIR=include APPLINKDIR=include/openssl "ENGINESDIR=/home/cym/workspace/code/vcpkg/installed/x64-linux/debug/lib/engines-3" "MODULESDIR=/home/cym/workspace/code/vcpkg/installed/x64-linux/debug/lib/ossl-modules" "PKGCONFIGDIR=/home/cym/workspace/code/vcpkg/installed/x64-linux/debug/lib/pkgconfig" "CMAKECONFIGDIR=/home/cym/workspace/code/vcpkg/installed/x64-linux/debug/share/openssl" "LDLIBS=-ldl -pthread " "VERSION=3.3.0" > installdata.pm /usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.3.0-961d78b8a1.clean/include/crypto/bn_conf.h.in > include/crypto/bn_conf.h /usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.3.0-961d78b8a1.clean/include/crypto/dso_conf.h.in > include/crypto/dso_conf.h /usr/bin/perl "-I." "-I../src/nssl-3.3.0-961d78b8a1.clean/util/perl" "-Mconfigdata" "-MOpenSSL::paramnames" "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.3.0-961d78b8a1.clean/include/internal/param_names.h.in > include/internal/param_names.h /usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.3.0-961d78b8a1.clean/include/openssl/asn1.h.in > include/openssl/asn1.h /usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.3.0-961d78b8a1.clean/include/openssl/asn1t.h.in > include/openssl/asn1t.h /usr/bin/perl "-I." "-Mconfigdata" "../src/nssl-3.3.0-961d78b8a1.clean/util/dofile.pl" "-oMakefile" ../src/nssl-3.3.0-961d78b8a1.clean/include/openssl/bio.h.in > include/openssl/bio.h ```