Clamav-0.92.1 compilation in fc4

Source: Internet
Author: User
Clamav-0.92.1 compilation under fc4-Linux general technology-Linux programming and kernel information, the following is a detailed reading. Gcc 4.0.0 has a bug PR28045 and cannot be compiled. solution:

Install gcc3.2

Rpm-Uvh compat-gcc-32-3.2.3-47.fc4.i386.rpm compat-gcc-32-c + +-3.2.3-47. fc4.i386. rpm

Gcc3.2 conflicts with rpmrc parameters. solution:

Modify/usr/lib/rpm/redhat/rpmrc and delete-mtune = pentium4

Compilation Method:

Export CC = gcc32

Rpm-ivh clamav-0.92.1-1.fc7.src.rpm

Cd/usr/src/redhat/SPECS

Rpmbuild-bb clamav. spec

Rpm-ivh -- nodeps fedora-usermgmt-0.10-1.fc7.noarch.rpm fedora-usermgmt-core-0.10-1.fc7.noarch.rpm

Rpm-Uvh clamav-0.92.1-1.i386.rpm clamav-data-0.92.1-1.i386.rpm clamav-lib-0.92.1-1.i386.rpm clamav-filesystem-0.92.1-1.i386.rpm clamav-server-0.92.1-1.i386.rpm
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.