Solution to Ubuntu configure

Source: Internet
Author: User
Tags gtk

Sudo apt-Get install package this is to update the package you specified
Sudo apt-Get update
Sudo apt-Get dist-upgrade start update
./Configure Problems

Error: C compiler cannot create executables
Cause:
Solution: sudo apt-Get GCC libc6-dev

Error: checking for C compiler default output... configure: Error: C compiler cannot create executables
Cause:
Solution: sudo apt-Get install libc6-dev

Error: Configure: Error: C ++ Preprocessor "/lib/CPP" fails sanity check
Cause: the GCC component is not fully installed.
Solution: APT-Get install build-essential

Error: Can't Find x except des. Please check your installation and add the correct paths!
Cause: no x contained files
Solution: Install xlibs-Dev.

Error: QT (> = QT 3.0) (headers and libraries) Not found. Please check your installation!
Cause: Find and install the Lib & headers software package that provides QT.
Solution: APT-Get install libqt3-headers libqt3-mt-dev

Error: In the prefix, you 've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
Cause: Install a KDE application in a gnome environment.
Solution: Which basically means its going to want to install a lot of KDE specific packages to work. This 'configure: error'
Is due to it expecting you to be running KDE and again refers to some 'headers '.
Sudo apt-Get update
Sudo apt-Get install kdelibs4-dev kdelibs4c2a

Error:./admin/CVS. sh: 585: Autoconf: not found
Cause:
Solution: APT-Get install Autoconf

Error: *** GTK> = 2.4.0 not installed! ***
Cause: GTK is not installed.
Solution: APT-Get build-dep gedit

Error: heching for GTK-config... no
Checking for GTK-version = 1.2.0... no
* ** The GTK-config script installed by GTK cocould not be found
* ** If GTK was installed in prefix, make sure prefix/bin is in
* ** Your path, or set the gtk_config enviroment variable to
* ** Full path to GTK-config.
Configure: Error: cannot find GTK: Is GTK-config in path?
Cause:
Solution: sudo apt-Get install libgtk1.2-Dev

Problem: encoding in eclipse does not support Chinese Characters
Solution: Edit/var/lib/locales/supported. d/local, add a line of zh_cn.gbk GBK, and run sudo locale-Gen.

Error: gnome. h: no such file or directory

Error: no package 'libpanelapplet-2.0 'Found
Cause:
Solution: sudo apt-Get install gnome-panel

Problem: EVA does not display the Input Method
Solution: sudo apt-Get install scim-qtimm

Problem: no package 'gtk +-2.0 'Found
No package 'gtksourceview-1.0 'Found
No package 'libgnomeui-2.0 'Found
No package 'libglade-2.0 'Found
No package 'libgnomeprintui-2.2 'Found
Solution: sudo apt-Get install libgtk2.0-dev libgtksourceview-dev libgnomeui-dev libglade2-dev libgnomeprint2.2-Dev

Problem: no package 'libpanelapplet-2.0 'Found
Solution: sudo apt-Get install libpanelappletmm-2.6-dev

Compile and install pidgin

1. Download The PidginSource codePack pidgin-2.1.1.tar.bz2 (the latest official version ).
Wget [url] URLs

2. Install the dependencies required for pidgin Compilation:
Sudo apt-Get install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-Dev

3. Extract the sourceCodePackage
Tar jxvf pidgin-2.1.1.tar.bz2
D pidgin-2.1.1

4. Compile
./Configure (it is recommended that you use-help to query required parameters)
Make
Sudo make install
If an error occurs in the./configure step

Error 1:
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.
Solution:
Sudo apt-Get install libgtk2.0-Dev

Error 2:
Configure: Error:

You must have libxml2> = 2.6.0 development headers installed to build.
Solution:
Sudo apt-Get install libxml2-dev

Error 3:
Configure: Error:

The msgfmt command is required to build libpurple. If it is installed on your system, ensure that it is in your path. If it is not, install GNU gettext to continue.
Solution:
Sudo apt-Get install gettext
If an error occurs when using Gtalk or MSN

Error:
SSL library/libraries ......... : None (MSN and Google Talk will not work
Without SSL !)
Solution:
Sudo apt-Get install libnss-dev libnspr-Dev

Solution to makefile not found during Ubuntu compilation zdnet software channel updated by: Author: Korn Source: saide.com
Keyword: Ubuntu ProFTP
To compile the environment, we recommend that you install the "build essential" package,

# Sudo apt-Get install "Build-essential"

If you install software using the./configure, make, and makeinstall methods, various errors may often occur, leading to the failure to generate makefile files. 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 glib 2.0 with the new token or use the command according to the error message.

# Sudo apt-cache search glib 2.0

Libglib2.0-Dev-development files for the glib library is found.

Select installation;

# Sudo apt-Get install libglib2.0-Dev

The original version is libglib2.0-0-dev, which seems to be incorrect.

#./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 in the./configure operation. The MAKEFILE file is successfully generated this time.

Then execute:

# 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.

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.