TUFAO installation error, prompting make: * * * [Cmake_check_build_system] Segment error (core dumped)

Source: Internet
Author: User
Tags create directory
1. Because of the needs of a recent project, the need to use TUFAO as a server on the service side, so go to the official website to download the TUFAO.TAR.GZ installation package and extract (TAR-ZXVF tufao.tar.gz); Enter the TUFAO directory; Configure (if there is no configure under the current directory, proceed to step 2 (1)); Then execute make, and this time the following error message appears:

2. On-line information about TUFAO is too little, looked for a long period of information has not been found, finally based on their long-standing experience, finally solve the problem; steps: Step (1)

CMake. -DCMAKE_INSTALL_PREFIX=/USR/
* Pay attention to cmake, to see where you are currently located, for example, in the extracted TUFAO directory, such as lxg@ubuntu~/tufao$, the execution of the above command In the previous level directory, execute:
        cmake.-dcmake_install_prefix=/usr
*/
3. Then execute the make command, and the following error message appears:
lxg@ubuntu:~/tufao$ make
[  3%] Automatic MOC for target tufao1
[  3%] Built target Tufao1_autogen
[ 100%] Built target tufao1
lxg@ubuntu:~/tufao$ make install
[  3%] Automatic MOC for target tufao1
[  3 %] Built target Tufao1_autogen
[100%] Built target TUFAO1
Install the project ...
--Install configuration: ""
CMake Error at cmake_install.cmake:36 (file):
  file Cannot create directory:/usr/l Ib/cmake/tufao1.  Maybe need
  administrative privileges.


/* Make error *
/Make: * * [Install] Error 1
Step (2) Use the sudo command to execute:
sudo make

Step (3) Use the sudo command to execute:
sudo make install
4. By this time, the problem has been successfully solved, now the lxg@ubuntu:/usr/include$ directory has tufao-1, as shown below:

5. Enter the directory below to see a lot of TUFFAO related header files, as shown below:

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.