Linux system prompts a lack of File Analysis and Solution reference

Source: Internet
Author: User
Tags gtk rpmbuild
Linux system prompts a lack of File Analysis and Solution reference-general Linux technology-Linux technology and application information, the following is a detailed reading. When installing software in linux, files are often missing, as shown in the absence of header files during compilation, and dependency occurs when RPM packages are used, I want to describe my lack of files that often appear in use. I hope that my friends can post what they have encountered so that new users can find a solution to the problem as soon as possible, remember to describe the release version of your system.

1. About rpmbuild
When using ***. src. rpm, you need to use the rpmbuild command to convert it to the ***. rpm format. To use rpmbuild, you must first install rpm-build .... Rpm package.

2. Compilation failure prompt: C ++ preprocessor "/lib/cpp" fails sanitg
This error indicates that C ++ compiler is missing. You only need to install gcc-c ++-***. rpm.
Note: gcc = c compiler g ++ = c ++ compiler

3. No X11 toolkit is prompted when xine is installed.
Install xfree86-devel (RHA3)/xaw3d-devel (RHA4)

4. jpeg library not found
Install the libjpeg... devel... rpm package

5. curses. h missing
Install ncurses... devel... rpm

6. I am prompted to require a GUI when installing rp-pppoe.
Install setools-gui... rpm

7. After realplayer 10 is installed, it cannot be started. The prompt is: error while loading shared libraries: libstdc ++. so.5 ......
Install compat-libstdc ++... rpm

8. x11/xlib. h: no such file or diretory
Install xFree86 Development Kit (xfree86-devel)

9. the GUI requires GTK devel packages (with were not found)
Install gtk +-devel-... rpm

10. error: You must install XFree86 or xorg first!
Install xorg-x11-devel... rpm

11. When the kernel is compiled using make menuconfig, the following error occurs: curses. h: No such file or directory.
Install the glibc-devel, ncurses, and ncurses-devel packages.

Applicable release: Red Hat Enterprise Linux AS 3/4
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.