Gawk compilation fails, but gawk is not installed.

Source: Internet
Author: User

An error occurred during kernal compilation today: GNU awk is required for lib/memtype. h made by memtypes. awk .. After checking the information, it turns out that gawk is not installed.

If you use apt-Get install gawk, the installation is not successful. Then I went to the website and installed a gawk package. The compilation is successful. The following describes how to install gawk.

1. Download a gawkfile at http://ftp.gnu.org/gnu/gawk.

2. copy to the virtual machine, and then tar zxvf gawk-4.0.1.tar.gz.

3. After decompression, enter the directory. Then

./Configure -- prefix =/usr -- libexecdir =/usr/lib

Make

Make check

Make install

MV-V/usr/bin/find/bin

CP-v doc/{awkforai.txt, *. {EPS, PDF, JPG}/usr/share/doc/gawk-3.1.7

Then gawk is installed successfully. Then compiled.

 

Thank you very much for helping http://blog.chinaunix.net/uid-26552184-id-3634871.html. There are many solutions to the problem. Thank you!

 

Gawk compilation fails, but gawk is not installed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.