最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Ubuntu常見(jiàn)錯(cuò)誤問(wèn)題的解決方法小結(jié)

 更新時(shí)間:2016年11月16日 10:43:01   作者:bladestone  
最近經(jīng)常使用ubuntu,難免會(huì)遇到各種各樣的問(wèn)題。所以想著記錄下來(lái),方便自己和大家以后需要的時(shí)候查看參考,文中介紹的很詳細(xì),相信對(duì)大家學(xué)習(xí)或者使用Ubuntu能有一定的參考借鑒價(jià)值,感興趣的朋友們下面來(lái)一起看看吧。

一、下載 http://www.tcpdump.org/#latest-release,下載libcap-1.8.1.tar.gz, 解壓縮之后

錯(cuò)誤1: ./configure

checking for getifaddrs... yes 
checking ifaddrs.h usability... yes 
checking ifaddrs.h presence... yes 
checking for ifaddrs.h... yes 
checking for socklen_t... yes 
checking for getaddrinfo... yes 
checking whether to build optimizer debugging code... no 
checking whether to build parser debugging code... no 
checking whether we have DAG API headers... no 
checking whether we have Septel API headers... no 
checking whether we have Myricom Sniffer API... no 
checking whether TurboCap is supported... no 
checking for flex... no 
checking for lex... no 
configure: error: Neither flex nor lex was found.

核心錯(cuò)誤信息為: 

error: Neither flex nor lex was found. 

解決辦法: sudo apt-get install flex bison

Reading package lists... Done 
Building dependency tree     
Reading state information... Done 
The following package was automatically installed and is no longer required: 
 linux-image-extra-4.4.0-34-generic 
Use 'sudo apt autoremove' to remove it. 
The following additional packages will be installed: 
 libbison-dev libfl-dev 
Suggested packages: 
 bison-doc 
The following NEW packages will be installed: 
 bison flex libbison-dev libfl-dev 
0 upgraded, 4 newly installed, 0 to remove and 7 not upgraded. 
Need to get 900 kB of archives. 
After this operation, 2,692 kB of additional disk space will be used. 
Do you want to continue? [Y/n] y 
Get:1 http://mirrors.aliyun.com/ubuntu xenial/main amd64 libfl-dev amd64 2.6.0-11 [12.5 kB] 
Get:2 http://mirrors.aliyun.com/ubuntu xenial/main amd64 flex amd64 2.6.0-11 [290 kB] 
Get:3 http://mirrors.aliyun.com/ubuntu xenial/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1 [338 kB] 
Get:4 http://mirrors.aliyun.com/ubuntu xenial/main amd64 bison amd64 2:3.0.4.dfsg-1 [259 kB] 
Fetched 900 kB in 1s (518 kB/s) 
Selecting previously unselected package libfl-dev:amd64. 

然后輸入==>   sudo make install , 進(jìn)行安裝

錯(cuò)誤2:

checking for gcc... gcc 
checking whether the C compiler works... yes 
checking for C compiler default output file name... a.out 
checking for suffix of executables...  
checking whether we are cross compiling... no 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ISO C89... none needed 
checking for pcap_open_live in -lpcap... no 
error: pcap library not found! 

問(wèn)題解決:

sudo apt-get install libsqlite3-dev libpcap-dev 

然后重新嘗試新的命令,即可解決上述錯(cuò)誤

二、中文模式下切換回英文模式?

修改/etc/default/locale文件的語(yǔ)言值。

將LANG zh_CN.UTF-8修改為en_US.UTF-8  , LANGUAGE zh_CN:zh修改為en_US:en

三、英文模式下開(kāi)機(jī)自動(dòng)啟動(dòng)IBUS中文輸入法。

英文模式下,ibus不能自動(dòng)啟動(dòng)。每次輸入中文都得手動(dòng)啟動(dòng)。這個(gè)讓人不能接受。google一下,兩種方法。

方法1:system settings->Languange-support->keyboard input method system ->ibus 

這種方法我沒(méi)試驗(yàn)成功。如圖所示,選擇了沒(méi)有保存按鈕。我以為是默認(rèn)保存的。但是關(guān)了在打開(kāi)發(fā)現(xiàn)還是沒(méi)有選擇上。有可能語(yǔ)言包沒(méi)有按完整的語(yǔ)言,每次進(jìn)入語(yǔ)言設(shè)置,都會(huì)提示語(yǔ)言包沒(méi)有安裝完整。

方法2:添加ibus設(shè)置為開(kāi)機(jī)啟動(dòng)的應(yīng)用               

system->preferences->startup application

    

-d 的意思是讓ibus在后臺(tái)運(yùn)行

總結(jié)

以上就是這篇文章的全部?jī)?nèi)容了,希望本文的內(nèi)容對(duì)大家的學(xué)習(xí)或者工作能帶來(lái)一定的幫助,如果有疑問(wèn)大家可以留言交流。

相關(guān)文章

  • linux系統(tǒng)安裝git及git常用命令

    linux系統(tǒng)安裝git及git常用命令

    這篇文章主要介紹了linux系統(tǒng)安裝git及git常用命令,大家參考使用吧
    2014-01-01
  • Linux進(jìn)程和計(jì)劃任務(wù)管理方式

    Linux進(jìn)程和計(jì)劃任務(wù)管理方式

    程序是存儲(chǔ)在存儲(chǔ)設(shè)備上的靜態(tài)代碼,而進(jìn)程是程序在CPU和內(nèi)存中動(dòng)態(tài)執(zhí)行的實(shí)體,進(jìn)程可以有父子關(guān)系,查看進(jìn)程信息的命令包括ps,top,pgrep,jobs,pstree等,用于監(jiān)控和管理進(jìn)程狀態(tài),ps命令可以顯示終端的所有進(jìn)程
    2024-09-09
  • Cpanel下Cron Jobs定時(shí)執(zhí)行PHP的方法

    Cpanel下Cron Jobs定時(shí)執(zhí)行PHP的方法

    PHP代碼需要定時(shí)執(zhí)行,如果你有Linux或unix系統(tǒng)權(quán)限或網(wǎng)站使用的是Cpanel后臺(tái),那么可以使用Cron JOBS來(lái)完成PHP的定時(shí)執(zhí)行功能。飄易簡(jiǎn)單介紹一下cpanel下的使用方法
    2021-07-07
  • centos6利用yum安裝php mysql gd的步驟

    centos6利用yum安裝php mysql gd的步驟

    我在84vps中利用yum順利安裝mysql php 及gd庫(kù),因?yàn)関ps本身自帶了apahce2.2所以沒(méi)有apache安裝過(guò)程
    2012-09-09
  • Linux設(shè)置文件和目錄權(quán)限方式

    Linux設(shè)置文件和目錄權(quán)限方式

    在Linux系統(tǒng)中,文件和目錄的權(quán)限分為訪問(wèn)權(quán)限和歸屬權(quán)限,訪問(wèn)權(quán)限包括讀(r)、寫(xiě)(w)、執(zhí)行(x),可用字符或數(shù)字方式設(shè)置,歸屬權(quán)限涉及文件的所有者和用戶組,特殊權(quán)限包括suid、sgid和Sticky位,分別用于提高程序的安全性和管理共享目錄
    2024-11-11
  • centos8安裝zabbix提示All mirrors were tried的解決方案

    centos8安裝zabbix提示All mirrors were tried的解決方案

    這篇文章主要介紹了centos8安裝zabbix提示All mirrors were tried的解決方案,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2024-01-01
  • 使用Apache ab工具對(duì)Apache服務(wù)器進(jìn)行簡(jiǎn)單的壓力測(cè)試

    使用Apache ab工具對(duì)Apache服務(wù)器進(jìn)行簡(jiǎn)單的壓力測(cè)試

    這篇文章主要介紹了使用Apache ab工具對(duì)Apache服務(wù)器進(jìn)行簡(jiǎn)單的壓力測(cè)試的方法,文中還對(duì)如何查看當(dāng)前Apache的連接數(shù)的方法作了介紹,需要的朋友可以參考下
    2016-03-03
  • 基于Xshell使用密鑰方式連接遠(yuǎn)程主機(jī)

    基于Xshell使用密鑰方式連接遠(yuǎn)程主機(jī)

    這篇文章主要為大家詳細(xì)介紹了基于Xshell使用密鑰方式連接遠(yuǎn)程主機(jī)的相關(guān)資料,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2017-06-06
  • centos7下mysql5.6的主從復(fù)制詳解

    centos7下mysql5.6的主從復(fù)制詳解

    本篇文章主要介紹了centos7下mysql5.6的主從復(fù)制詳解,小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧
    2017-02-02
  • linux文件目錄管理命令整理總結(jié)

    linux文件目錄管理命令整理總結(jié)

    在本篇文章里小編給大家整理的是關(guān)于linux文件目錄管理命令整理總結(jié),需要的朋友們參考下。
    2019-11-11

最新評(píng)論

乌拉特后旗| 柯坪县| 左贡县| 石狮市| 郎溪县| 南涧| 荔波县| 马鞍山市| 宜都市| 新安县| 吉首市| 永年县| 三都| 卢龙县| 南昌县| 樟树市| 淮南市| 唐海县| 靖安县| 察哈| 英德市| 武宁县| 丹巴县| 西华县| 陇西县| 鄄城县| 仁寿县| 廊坊市| 天峨县| 西盟| 彭水| 阿合奇县| 闵行区| 南安市| 云阳县| 客服| 陵水| 永寿县| 广南县| 昌平区| 阿拉尔市|