Solution not found for makefile during ubuntu Compilation

Source: Internet
Author: User
# If you need to compile the environment, we recommend that you install the "buildessential" package # sudoapt-getinstall "build-essential. /configure, make, makeinstall, the method for installing software is: Various Errors often occur, and thus the makefile cannot be claimed. Now I write down the problems and solutions I encountered during the installation process, I hope it will be helpful for you to install pidgin-2.0.0 # If you need to compile the environment, we recommend that you install the "build essential" package.
# Sudo apt-get install "build-essential"
When using./configure, make, makeinstall, the method for installing the software is yes, and various errors often occur,
The makefile cannot be claimed.
Now I want to write down the problems and solutions I encountered during the installation process.
Take pidgin-2.0.0 installation as an Example

./Configure error:

Configure: error: C compiler cannot create executables
Follow the error message to install the missing package
Sudo apt-get install libc6-dev
Again
./Configure
Error
Checking for GLIB... no
No
Configure: error:

You must have the GLib 2.0 development headers installed to build.
Search for GLib 2.0 with the new certificate or use the apt-cache search GLib 2.0 command according to the error message.
There is a package libglib2.0-dev-Development files for the GLib library
Install
Sudo apt-get install libglib2.0-dev # The original version is libglib2.0-0-dev, which seems to be incorrect -- azalea note

./Configure
An error occurs again.
Checking for X... no
Checking for GTK... no
No
Configure: error:

You must have the GTK + 2.0 development headers installed to compile Pidgin.
If you only want to build Finch then specify -- disable-gtkui when running configure.

Use the same method as above to find the missing package and install
Sudo apt-get install libgtkmm2.0-dev

./Configure Error

Checking for LIBXML... no
No
Configure: error:

You must have libxml2> = 2.6.0 development headers installed to build.

So install
Sudo apt-get install libxml2-dev

After being installed on the bread, no error occurs at the time./configure. This time, makefile is successfully claimed.
Then
Make
Make install
The software is successfully installed.
If problems still occur in./configure, find the problem and install the missing package.
In the configuration process, the config. log file is very helpful. We can find the root cause of the error here to find the countermeasures.
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.