Compile tushell causes compilation problems

Source: Internet
Author: User
UbuntuShell causes compilation problems. when compiling the realsource package provided by Realtek under Ubuntu13.04, [plain] make_release: 344: make_release: Syntaxerror: & quot; do & quot; unexpected (expecting & quot; [plain] make_release: 344: make_release: Syntax error: "do" unexpected (expecting "fi") mv: unable to get "drivers/net/wireless/realtek/pci/rtl8192ce /.. /.. /combo/rtl8192c_8192d/rtl8192_8188CE_linux_d File status (stat) of rv/": no file or directory is changed to Fedora16 and the compilation succeeds. Refer to the online materials and find that the problem is caused by Ubuntu's default Shell. Unbuntu defaults to sh -->/bin/dash, which is inconsistent with the bash standard of Fedora. When echo $ SHELL returns/bin/bashls/bin/sh, it directs to/bin/dashmake, although the makefile already contains #! /Bin/bash, but sh is actually called. (This makefile is in the sub-directory) bash-GNU Bourne-Again SHelldash-Debian almqualified Shell solution: the solution to invalid file limitation mentioned on the Internet: # used in the first line of the file #! /Bin/bash does not actually work. The first line of the file uses SHELL =/bin/bash and is not tested, but it should not work. Echo $ SHELL has pointed to the bash online document to provide the final solution: [plain] sudo dpkg-reconfigure dash select NO in the menu that appears (do not use dash)
Related Article

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.