Errors Caused by software compilation and installation in Linux/Unix

Source: Internet
Author: User

1. When you use the "Python setup. py" command to install the Python driver of PostgreSQL:

Running build_ext error: No such file or directory solution: In the file "setup. cfg "sets" pg_config "to an incorrect full path, for example," pg_config =/usr/bin/pg_config ". If "pg_config" does not exist in the current system, install the "postgresql-devel-*. *. rpm" Package first.
2. the following error is reported when connecting to the PostgreSQL database:

Psql: Fatal error: User "***" Ident authentication failed or

Psql: FATAL: Ident authentication failed for user "username", mais pourquoi donc? Solution: Modify the authentication METHOD in the "pg_mirror.conf" file to "md5" or "trust". For details, refer to the instructions in the file.
3. When you use make to compile the software, the following message is displayed:

"Makefile", line 88: Missing dependency operator "Makefile", line 89: Missing dependency operator "Makefile", line 91: Need an operator "Makefile", line 92: need an operator "Makefile", line 93: Missing dependency operator "Makefile", line 94: Missing dependency operator Error expanding embedded variable. solution: compile with "gmake" and then click OK.

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.