The condition for compiling the source code package-general Linux technology-Linux technology and application information. The following is a detailed description. First, we must install at least the development tools in Linux, such as gcc, perl, python, glibc, gtk, make, automake, and other development tools or basic packages. You also need to install some corresponding development packages, which are generally named dev, such as kernel-devel, and some development libraries, such as those starting with lib. If you compile the software, sometimes there are prompts about something missing, such as these development tools and libraries. Find the installation from the disc. Sometimes the disc is not provided. Search for the corresponding software package, and sometimes use the source code package to compile and install the dependent package.
Sometimes the dependent package has already been installed in the system, but the system prompts that it cannot be found. What should I do? In this case, set the environment variable PKG_CONFIG_PATH.
Then let's run the compiled. /configure; make install. Try it. For programs developed using java tools, use jre or jdk. jdk already includes jre, therefore, if we only require an environment where the java program runs, we only need to install jre. After jre is installed, configure the java environment variables. If it is a graphic interface program, click the mouse to OK.
Programs developed using perl require the perl environment. Therefore, you must install the perl package. The same applies to python.
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