找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 200|回复: 0

Kali中安装Pyenv报错 "Unable to locate package xxx "的解决方法

[复制链接]

2万

主题

162

回帖

18万

积分

管理员

积分
184954
发表于 2024-6-30 07:34:10 | 显示全部楼层 |阅读模式 IP:山东省青岛市 联通

登录后更精彩...O(∩_∩)O...

您需要 登录 才可以下载或查看,没有账号?立即注册

×
Kali中安装Pyenv报错 "Unable to locate package xxx "的解决方法
问题描述:
kali安装pyenv环境时,发现有三个包无法安装。
- python-openssl

- libgcc-9-dev
- gcc-9-base



[Bash shell] 纯文本查看 复制代码
sudo apt install -y make build-essential libssl-dev zliblg-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl g++ libgcc-9-dev gcc-9-base mitmproxy
Note, selecting 'libncurses-dev' instead of 'libncurses5-dev'
Note, selecting 'libncurses-dev' instead of 'libncursesw5-dev'
Package python-openssl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Error: Unable to locate package zliblg-dev
Error: Package 'python-openssl' has no installation candidate
Error: Unable to locate package libgcc-9-dev
Error: Unable to locate package gcc-9-base


问题解析:

第一个"zliblg-dev" 是包名写错了 "zlib1g-dev",是数字1不是l;
主要解决后面3个包的安装。

第一步:更新源
如果用默认官方源安装会报上面错误,解决方法:
1. 先安装正常的没报错的包,再用其他源安装剩下的包。

[Bash shell] 纯文本查看 复制代码
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev g++  mitmproxy



2. 正常未报错包安装完后,更新其他源试一下。

先看一下安装报错
[Bash shell] 纯文本查看 复制代码
$ sudo apt install -y python-openssl libgcc-9-dev gcc-9-base 
Package python-openssl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Error: Package 'python-openssl' has no installation candidate
Error: Unable to locate package libgcc-9-dev
Error: Unable to locate package gcc-9-base



更新源:

官方默认源
[Bash shell] 纯文本查看 复制代码
$ cat /etc/apt/sources.list
# See [url=https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/]https://www.kali.org/docs/genera ... -list-repositories/[/url]
deb [url=http://http.kali.org/kali]http://http.kali.org/kali[/url] kali-rolling main contrib non-free non-free-firmware

# Additional line for source packages
# deb-src [url=http://http.kali.org/kali]http://http.kali.org/kali[/url] kali-rolling main contrib non-free non-free-firmware



修改其他源:
[Bash shell] 纯文本查看 复制代码
$ cat /etc/apt/sources.list
# See [url=https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/]https://www.kali.org/docs/genera ... -list-repositories/[/url]
# deb [url=http://http.kali.org/kali]http://http.kali.org/kali[/url] kali-rolling main contrib non-free non-free-firmware

# Additional line for source packages
# deb-src [url=http://http.kali.org/kali]http://http.kali.org/kali[/url] kali-rolling main contrib non-free non-free-firmware
deb [url=http://archive.ubuntu.com/ubuntu/]http://archive.ubuntu.com/ubuntu/[/url] trusty main restricted universe multiverse
deb [url=http://archive.ubuntu.com/ubuntu/]http://archive.ubuntu.com/ubuntu/[/url] trusty-security main restricted universe multiverse
deb [url=http://archive.ubuntu.com/ubuntu/]http://archive.ubuntu.com/ubuntu/[/url] trusty-updates main restricted universe multiverse
deb [url=http://archive.ubuntu.com/ubuntu/]http://archive.ubuntu.com/ubuntu/[/url] trusty-proposed main restricted universe multiverse
deb [url=http://archive.ubuntu.com/ubuntu/]http://archive.ubuntu.com/ubuntu/[/url] trusty-backports main restricted universe multiverse



update一下:
[Bash shell] 纯文本查看 复制代码
$ sudo apt update                                           
Ign:1 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty InRelease
Get:2 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security InRelease [56.4 kB]
Get:3 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates InRelease [56.5 kB]                                                                  
Err:2 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security InRelease                                                                           
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Get:4 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed InRelease [56.5 kB]                                                                 
Err:3 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates InRelease                                                                            
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Get:5 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports InRelease [65.9 kB]                                                                
Err:4 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed InRelease                                                                           
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Get:6 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty Release [58.5 kB]                                                                            
Err:5 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports InRelease                                                                          
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Get:7 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty Release.gpg [933 B]                                                                          
Ign:7 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty Release.gpg                                                                                  
Warning: GPG error: [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Error: The repository 'http://archive.ubuntu.com/ubuntu trusty-security InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Warning: GPG error: [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Error: The repository 'http://archive.ubuntu.com/ubuntu trusty-updates InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Warning: GPG error: [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Error: The repository 'http://archive.ubuntu.com/ubuntu trusty-proposed InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Warning: GPG error: [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Error: The repository 'http://archive.ubuntu.com/ubuntu trusty-backports InRelease' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Warning: GPG error: [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Error: The repository 'http://archive.ubuntu.com/ubuntu trusty Release' is not signed.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Notice: Repository 'Kali Linux' changed its 'firmware component' value from 'non-free' to 'non-free-firmware'
Notice: More information about this can be found online at: [url=https://www.kali.org/blog/non-free-firmware-transition/]https://www.kali.org/blog/non-free-firmware-transition/[/url]


第二步:解决源无公钥无法下载问题
解决上面的报错信息,参考《仓库 “http://archive.ubuntu.com/ubuntu trusty Release” 没有数字签名,无法安全地用该源进行更新,所以默认禁用该源。》

[AppleScript] 纯文本查看 复制代码
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32

sudo apt-get update
sudo apt-get upgrade 



各条命令详情

[Bash shell] 纯文本查看 复制代码
                                                                                                                                            
┌──(kali㉿kali)-[~]
└─$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.k6I0DNKvlm/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg: key 40976EAF437D05B5: public key "Ubuntu Archive Automatic Signing Key <[url=mailto:ftpmaster@ubuntu.com]ftpmaster@ubuntu.com[/url]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
                                                                                                                                            
┌──(kali㉿kali)-[~]
└─$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.PuSyu1HAcK/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
gpg: key 3B4FE6ACC0B21F32: public key "Ubuntu Archive Automatic Signing Key (2012) <[url=mailto:ftpmaster@ubuntu.com]ftpmaster@ubuntu.com[/url]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
                                                                                                                                            



再update一下

[Bash shell] 纯文本查看 复制代码
                                                                                                                                            
┌──(kali㉿kali)-[~]
└─$ sudo apt-get update                                                           
Ign:1 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty InRelease
Get:2 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty Release [58.5 kB]
Get:3 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security InRelease [56.4 kB]
Get:4 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates InRelease [56.5 kB]
Get:5 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed InRelease [56.5 kB]
Get:6 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports InRelease [65.9 kB]
Get:7 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty Release.gpg [933 B]
Get:8 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security/main amd64 Packages [702 kB]
Get:9 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security/main Translation-en [225 kB]
Get:10 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security amd64 Contents (deb) [6,308 kB]
Get:11 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security/restricted amd64 Packages [19.7 kB]
Get:12 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security/restricted Translation-en [3,556 B]
Get:13 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security/universe amd64 Packages [387 kB]
Get:14 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security/universe Translation-en [156 kB]
Get:15 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security/multiverse amd64 Packages [6,007 B]
Get:16 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-security/multiverse Translation-en [2,564 B]
Get:17 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates/main amd64 Packages [1,172 kB]
Get:18 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates/main Translation-en [348 kB]                                                        
Get:19 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates amd64 Contents (deb) [8,455 kB]                                                     
Get:20 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates/restricted amd64 Packages [23.5 kB]                                                 
Get:21 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates/restricted Translation-en [4,028 B]                                                 
Get:22 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates/universe amd64 Packages [699 kB]                                                    
Get:23 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates/universe Translation-en [275 kB]                                                    
Get:24 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates/multiverse amd64 Packages [19.1 kB]                                                 
Get:25 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-updates/multiverse Translation-en [7,616 B]                                                 
Get:26 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed/main amd64 Packages [5,579 B]                                                      
Get:27 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed/main Translation-en [2,755 B]                                                      
Get:28 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed amd64 Contents (deb) [501 kB]                                                      
Get:29 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed/restricted amd64 Packages [864 B]                                                  
Get:30 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed/restricted Translation-en [281 B]                                                  
Get:31 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed/universe amd64 Packages [12.3 kB]                                                  
Get:32 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-proposed/universe Translation-en [8,992 B]                                                  
Get:33 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports/main amd64 Packages [13.3 kB]                                                     
Get:34 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports/main Translation-en [7,503 B]                                                     
Get:35 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports amd64 Contents (deb) [314 kB]                                                     
Get:36 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports/universe amd64 Packages [43.1 kB]                                                 
Get:37 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports/universe Translation-en [36.8 kB]                                                 
Get:38 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports/multiverse amd64 Packages [1,567 B]                                               
Get:39 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty-backports/multiverse Translation-en [1,215 B]                                               
Get:40 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty/main amd64 Packages [1,350 kB]                                                              
Get:41 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty/restricted amd64 Packages [13.0 kB]                                                         
Get:42 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty/universe amd64 Packages [5,859 kB]                                                          
Get:43 [url=http://archive.ubuntu.com/ubuntu]http://archive.ubuntu.com/ubuntu[/url] trusty/multiverse amd64 Packages [132 kB]                                                          
Fetched 27.4 MB in 21s (1,337 kB/s)                                                                                                        
Reading package lists... Done
W: [url=http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease:]http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease:[/url] Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: [url=http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease:]http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease:[/url] Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: [url=http://archive.ubuntu.com/ubuntu/dists/trusty-proposed/InRelease:]http://archive.ubuntu.com/ubuntu/dists/trusty-proposed/InRelease:[/url] Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: [url=http://archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease:]http://archive.ubuntu.com/ubuntu ... ackports/InRelease:[/url] Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: [url=http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg:]http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg:[/url] Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
N: Repository 'Kali Linux' changed its 'firmware component' value from 'non-free' to 'non-free-firmware'
N: More information about this can be found online at: [url=https://www.kali.org/blog/non-free-firmware-transition/]https://www.kali.org/blog/non-free-firmware-transition/[/url]
                                                                                                                                            





upgrade一下:

[AppleScript] 纯文本查看 复制代码
┌──(kali㉿kali)-[~]
└─$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libgudev-1.0-0 libpulse-mainloop-glib0 libpulse0 libpulsedsp pulseaudio pulseaudio-utils xfce4-systemload-plugin
  xserver-xorg-input-wacom
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
                                                                                                                                            
┌──(kali㉿kali)-[~]
└─$ sudo apt install -y python-openssl libgcc-9-dev gcc-9-base                    
Error: Unable to locate package libgcc-9-dev
Error: Unable to locate package gcc-9-base
                                                                                                                                            


还是有俩包未成功,后面再解决吧

狗腚...

运行一下gcc看看系统是不是默认已经安装了更高版本了,发现确实如此,这俩包不用安装了,狗腚!!!!

[Bash shell] 纯文本查看 复制代码
                                                                                                                                            
┌──(kali㉿kali)-[~]
└─$ gcc                                                  
gcc: fatal error: no input files
compilation terminated.
                                                                                                                                            
┌──(kali㉿kali)-[~]
└─$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 13.2.0-24' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/reproducible-path/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Debian 13.2.0-24) 
                                                                                                                                            




from:https://blog.csdn.net/ayunnuo/article/details/119138489

refer: https://www.cnblogs.com/zlfProgrammer/p/10142875.html










回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|哩布大模型|Civitai大模型|IP定位|图反推|站长素材|deepseek|即梦视频|阿狗工具|花瓣网|pinterest|php手册|宝塔文档|CyberChef|猫捉鱼铃|手机版|小黑屋|下载狗|IPS|在线工具|分享屋 ( 鲁ICP备2021028754号 )

GMT+8, 2025-5-10 02:30

Powered by 分享屋 X3.5 Licensed

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表