FAQs about Ubuntu package dependency

Source: Internet
Author: User
Although apt-get of Ubuntu is very convenient, many people prefer to compile software by using the source code and use specific parameters to meet their software requirements. However, there are often minor issues during compilation, such as the package dependency issue .... The following is a summary of a package dependency problem and its solution error: Ccompilercannotcreateexecutables cause: resolved: sudoapt-getinstallgcclibc6-dev error: chec

Although apt-get of Ubuntu is very convenient, many people prefer to compile software by using the source code and use specific parameters to meet their software requirements. However, there are often minor issues during compilation, such as the package dependency issue .... The following is a summary of the package dependency problem and its solution.

Error: C compiler cannot create executables cause: resolved: sudo apt-get install gcc libc6-dev

Error: checking for C compiler default output... configure: error: C compiler cannot create executables cause: resolved: sudo apt-get install libc6-dev

Error: configure: error: C ++ preprocessor "/lib/cpp" fails sanity check cause: gcc components are 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: There is no file contained in X. Solution: Install xlibs-dev.

Error: Qt (> = Qt 3.0) (headers and libraries) not found. Please check your installation! Cause: Find the lib & headers software package that provides qt and install the 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 the *** 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: In eclipse, encoding does not support Chinese. Solution: Edit/var/lib/locales/supported. d/local, add a line of zh_CN.GBK GBK, and execute sudo locale-gen.

Error: gnome. h: No such file or directory

Error: No package 'libpanelapplet-2.0 'found cause: sudo apt-get install gnome-panel

Problem: eva does not pop up the Input Method Solution: sudo apt-get install scim-qtimm

Question: no package 'gtk +-100' found No package 'gtksourceview-100' found No package 'libgnomeui-100' found No package 'libglade-100' found No package 'libgnomeprintui-100' 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 solved: sudo apt-get install libpanelappletmm-2.6-dev

Question: 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: search, msgfmt, and install.

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.