linux安装yasm报错

进入yasm-1.2.0,

输入指令

./configure //编译yasm

make && make install   //安装yasm,安装完成即可。

报错信息

make[2]: Leaving directory '/home/star-net/srs/trunk/3rdparty/yasm-1.2.0/po'
Making install in .
make[2]: Entering directory '/home/star-net/srs/trunk/3rdparty/yasm-1.2.0'
make[3]: Entering directory '/home/star-net/srs/trunk/3rdparty/yasm-1.2.0'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c yasm ytasm vsyasm '/usr/local/bin'
/usr/bin/install: cannot create regular file '/usr/local/bin/yasm': Permission denied
/usr/bin/install: cannot create regular file '/usr/local/bin/ytasm': Permission denied
/usr/bin/install: cannot create regular file '/usr/local/bin/vsyasm': Permission denied
Makefile:1829: recipe for target 'install-binPROGRAMS' failed

解决:

切换到超级管理员,再执行命令。

sudo su

原文地址:https://www.cnblogs.com/Pan-xi-yi/p/11969862.html

时间: 2024-10-09 15:11:30

linux安装yasm报错的相关文章

linux安装软件报错: Can't locate ExtUtils/Embed.pm in @INC...

安装snmp服务, 中间报错: Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).BEGIN failed--compilation aborted. 到网上

Linux安装Apache报错:Cannot find a valid baseurl for repo: base/7/x86_64解决方案

最近使用CentOS7学习,安装安装Apache时候,使用yum安装Apache报错:本文适合CentOS7和RHEL7 # yum install httpd 出现:cannot find a valid baseurl for repo:base/7/x86_64. 针对这个问题,网上有大量的解决方案,说是网络不通的,比如: 修改: vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是"ifcfg-eth数字")

linux安装uwsgi,报错问题解决

uwsgi安装 uwsgi启动后出 -- unavailable modifier requested: 0 出现问题的的原因是找不到python的解释器(其他语言同理) 你使用的yum install uwsgi 或者 apt-get install uwsgi 安装了uwsgi(我就是这样遇到了这个问题) 解决办法 用 pip install uwsgi  或者 pip3 install uwsgi  安装uwsgi(uwsgi默认安装在/usr/local/python3/bin/) 实行

vritulbox中linux安装zookeeper报错:

[[email protected] apache-zookeeper]# bin/zkCli.sh /usr/bin/java Connecting to localhost:2181 2020-03-11 00:35:15,540 [myid:] - INFO [main:Enviro[email protected]] - Client environment:zookeeper.version=3.5.7-f0fdd52973d373ffd9c86b81d99842dc2c7f660e,

linux安装pip报错

解决方法:升级pip工具 1 sudo python -m pip install -U pip

linux安装redis报错

问题:You need tcl 8.5 or newer in order to run the Redis test 解决办法: wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gzsudo tar xzvf tcl8.6.1-src.tar.gz  -C /usr/local/cd  /usr/local/tcl8.6.1/unix/sudo ./configuresudo makesudo make install

linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.

linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql. 2013-03-04 15:34wdjhz | 分类:服务器软件 | 浏览5318次 configure: error: Cannot find MySQL header files under /usr/include/mysql.Note that the MySQL client library is not bun

linux使用python安装paramiko时安装pycrypto报错

在python2.7版本上安装pycrypto报错,如下 [[email protected] /var/tmp/paramiko/pycrypto-2.6]# python setup.py build && python setup.py install running build running build_py running build_ext running build_configure warning: GMP or MPIR library not found; Not

Linux 格式化分区 报错Could not stat --- No such file or directory 和 partprobe 命令

分区的过程正常: [[email protected] /]# fdisk -l Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot      Start         End      Blocks   Id  System /dev/sda1   *