|

楼主 |
发表于 2023-9-11 19:45
|
显示全部楼层
复制到非中文路径安装报错
- perl Makefile.PL
- make
- make test
- make install
- Where is your OpenSSL? [/usr] /usr
- Found include directory ............ /usr/include
- Found OpenSSL version .............. 3.0.8
- Found crypto library ............... /usr/lib/x86_64-linux-gnu/libcrypto.a
- Found binary executable ............ /usr/bin/openssl
- Cipher algorithms available:
- [ 1] DES block cipher
- [ 2] Two key triple DES block cipher
- [ 3] Three key triple DES block cipher
- [ 4] DESX block cipher
- [ 5] RC4 stream cipher
- [ 6] IDEA block cipher
- [ 7] RC2 block cipher
- [ 8] Blowfish block cipher
- [ 9] Null cipher
- [10] RC5 block cipher
- [11] CAST5 block cipher
- [12] AES block cipher
- Which cipher algorithm do you want to use? [12] 9
- Using fixed key length ............. 0
- Your cipher configuration has been written to the file 'CipherConfig.h'.
- You may want to keep this file in a safe place if you ever need to rebuild
- these modules using the same configuration, especially if your key was
- randomly generated.
- Build options:
- [1] Build both components
- [2] Build CryptFile component only
- [3] Build Decrypt component only
- Which component(s) do you want to build? [1] 1
- Do you want to install 'crypt_file'? [y] y
- Writing MYMETA.yml and MYMETA.json
- Writing MYMETA.yml and MYMETA.json
- Generating a Unix-style Makefile
- Writing Makefile for Filter::Crypto
- Writing MYMETA.yml and MYMETA.json
- Skip blib/lib/PAR/Filter/Crypto.pm (unchanged)
- Skip blib/lib/Filter/Crypto.pm (unchanged)
- make[1]: 进入目录“/opt/Filter-Crypto-2.10/CryptFile”
- Skip ../blib/lib/Filter/Crypto/CryptFile.pm (unchanged)
- Running Mkbootstrap for CryptFile ()
- chmod 644 "CryptFile.bs"
- "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CryptFile.bs ../blib/arch/auto/Filter/Crypto/CryptFile/CryptFile.bs 644
- "/usr/bin/perl" "/usr/share/perl/5.36.0/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.36/ExtUtils/typemap' -typemap '/opt/Filter-Crypto-2.10/CryptFile/typemap' CryptFile.xs > CryptFile.xsc
- mv CryptFile.xsc CryptFile.c
- x86_64-linux-gnu-gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION="2.10" -DXS_VERSION="2.10" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.36/CORE" -DFILTER_CRYPTO_OPENSSL_VERSION=3000008 CryptFile.c
- In file included from CryptFile.xs:27:
- /usr/include/unistd.h:226:10: fatal error: stddef.h: 没有那个文件或目录
- 226 | #include <stddef.h>
- | ^~~~~~~~~~
- compilation terminated.
- make[1]: *** [Makefile:325:CryptFile.o] 错误 1
- make[1]: 离开目录“/opt/Filter-Crypto-2.10/CryptFile”
- make: *** [Makefile:521:subdirs] 错误 2
- make[1]: 进入目录“/opt/Filter-Crypto-2.10/CryptFile”
- "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CryptFile.bs ../blib/arch/auto/Filter/Crypto/CryptFile/CryptFile.bs 644
- x86_64-linux-gnu-gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION="2.10" -DXS_VERSION="2.10" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.36/CORE" -DFILTER_CRYPTO_OPENSSL_VERSION=3000008 CryptFile.c
- In file included from CryptFile.xs:27:
- /usr/include/unistd.h:226:10: fatal error: stddef.h: 没有那个文件或目录
- 226 | #include <stddef.h>
- | ^~~~~~~~~~
- compilation terminated.
- make[1]: *** [Makefile:325:CryptFile.o] 错误 1
- make[1]: 离开目录“/opt/Filter-Crypto-2.10/CryptFile”
- make: *** [Makefile:521:subdirs] 错误 2
- make[1]: 进入目录“/opt/Filter-Crypto-2.10/CryptFile”
- "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CryptFile.bs ../blib/arch/auto/Filter/Crypto/CryptFile/CryptFile.bs 644
- x86_64-linux-gnu-gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION="2.10" -DXS_VERSION="2.10" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.36/CORE" -DFILTER_CRYPTO_OPENSSL_VERSION=3000008 CryptFile.c
- In file included from CryptFile.xs:27:
- /usr/include/unistd.h:226:10: fatal error: stddef.h: 没有那个文件或目录
- 226 | #include <stddef.h>
- | ^~~~~~~~~~
- compilation terminated.
- make[1]: *** [Makefile:325:CryptFile.o] 错误 1
- make[1]: 离开目录“/opt/Filter-Crypto-2.10/CryptFile”
- make: *** [Makefile:521:subdirs] 错误 2
复制代码
主要是提示
- /usr/include/unistd.h:226:10: fatal error: stddef.h: 没有那个文件或目录
- 226 | #include <stddef.h>
- | ^~~~~~~~~~
- compilation terminated.
复制代码 |
|