Solution to snavigator compilation error in centos 4.8

Source: Internet
Author: User

Snavigator is installed on centos 4.8 in VMware today. An error occurred while compiling. Specific performance:

/home/sourcenav-6.0/tk/generic/tk3d.h/home/sourcenav-6.0/tk/generic/tk3d.c

Syntax error. Google found that the package should be incomplete. Therefore, install the following installation package:

[root@localhost sourcenav-6.0]# yum -y install tk-devel*Setting up Install ProcessSetting up repositoriesReading repository metadata in from local filesParsing package install argumentsResolving Dependencies--> Populating transaction set with selected packages. Please wait.---> Downloading header for tk-devel to pack into transaction set.http://mirrors.jiangnan.edu.cn/centos/4.9/os/i386/CentOS/RPMS/tk-devel-8.4.7-3.el4_6.1.i386.rpm: [Errno 14] HTTP Error 400: Bad RequestTrying other mirror.http://mirror.khlug.org/centos/4.9/os/i386/CentOS/RPMS/tk-devel-8.4.7-3.el4_6.1.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>Trying other mirror.tk-devel-8.4.7-3.el4_6.1. 100% |=========================|  59 kB    00:03     ---> Package tk-devel.i386 0:8.4.7-3.el4_6.1 set to be updated--> Running transaction check--> Processing Dependency: XFree86-devel for package: tk-devel--> Restarting Dependency Resolution with new changes.--> Populating transaction set with selected packages. Please wait.---> Downloading header for xorg-x11-devel to pack into transaction set.http://mirror.khlug.org/centos/4.9/updates/i386/RPMS/xorg-x11-devel-6.8.2-1.EL.69.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>Trying other mirror.xorg-x11-devel-6.8.2-1.EL 100% |=========================| 512 kB    00:02     ---> Package xorg-x11-devel.i386 0:6.8.2-1.EL.69 set to be updated--> Running transaction check--> Processing Dependency: xorg-x11-libs = 6.8.2-1.EL.69 for package: xorg-x11-devel--> Processing Dependency: fontconfig-devel >= 2.1 for package: xorg-x11-devel--> Restarting Dependency Resolution with new changes.--> Populating transaction set with selected packages. Please wait.---> Downloading header for xorg-x11-libs to pack into transaction set.xorg-x11-libs-6.8.2-1.EL. 100% |=========================| 298 kB    00:00     ---> Package xorg-x11-libs.i386 0:6.8.2-1.EL.69 set to be updated---> Downloading header for fontconfig-devel to pack into transaction set.fontconfig-devel-2.2.3-13 100% |=========================|  36 kB    00:05     ---> Package fontconfig-devel.i386 0:2.2.3-13.el4 set to be updated--> Running transaction check--> Processing Dependency: xorg-x11-libs = 6.8.2-1.EL.63 for package: xorg-x11-xfs--> Processing Dependency: freetype-devel >= 2.1.4 for package: fontconfig-devel--> Restarting Dependency Resolution with new changes.--> Populating transaction set with selected packages. Please wait.---> Downloading header for freetype-devel to pack into transaction set.freetype-devel-2.1.9-19.e 100% |=========================|  26 kB    00:00     ---> Package freetype-devel.i386 0:2.1.9-19.el4 set to be updated---> Downloading header for xorg-x11-xfs to pack into transaction set.xorg-x11-xfs-6.8.2-1.EL.6 100% |=========================| 271 kB    00:00     ---> Package xorg-x11-xfs.i386 0:6.8.2-1.EL.69 set to be updated--> Running transaction check--> Processing Dependency: freetype = 2.1.9-19.el4 for package: freetype-devel--> Restarting Dependency Resolution with new changes.--> Populating transaction set with selected packages. Please wait.---> Downloading header for freetype to pack into transaction set.freetype-2.1.9-19.el4.i38 100% |=========================|  31 kB    00:00     ---> Package freetype.i386 0:2.1.9-19.el4 set to be updated--> Running transaction checkDependencies Resolved============================================================================= Package                 Arch       Version          Repository        Size =============================================================================Installing: tk-devel                i386       8.4.7-3.el4_6.1  base              800 kInstalling for dependencies: fontconfig-devel        i386       2.2.3-13.el4     base              233 k freetype-devel          i386       2.1.9-19.el4     update            537 k xorg-x11-devel          i386       6.8.2-1.EL.69    update            5.2 MUpdating for dependencies: freetype                i386       2.1.9-19.el4     update            767 k xorg-x11-libs           i386       6.8.2-1.EL.69    update            2.7 M xorg-x11-xfs            i386       6.8.2-1.EL.69    update            327 kTransaction Summary=============================================================================Install      4 Package(s)         Update       3 Package(s)         Remove       0 Package(s)         Total download size: 10 MDownloading Packages:(1/7): fontconfig-devel-2 100% |=========================| 233 kB    00:17     (2/7): freetype-2.1.9-19. 100% |=========================| 767 kB    00:03     (3/7): freetype-devel-2.1 100% |=========================| 537 kB    00:02     (4/7): xorg-x11-xfs-6.8.2 100% |=========================| 327 kB    00:01     (5/7): tk-devel-8.4.7-3.e 100% |=========================| 800 kB    00:52     (6/7): xorg-x11-devel-6.8 100% |=========================| 5.2 MB    00:23     (7/7): xorg-x11-libs-6.8. 100% |=========================| 2.7 MB    00:11     Running Transaction TestFinished Transaction TestTransaction Test SucceededRunning Transaction  Updating  : freetype                     ####################### [ 1/10]   Updating  : xorg-x11-libs                ####################### [ 2/10]   Installing: freetype-devel               ####################### [ 3/10]   Installing: fontconfig-devel             ####################### [ 4/10]   Installing: xorg-x11-devel               ####################### [ 5/10]   Updating  : xorg-x11-xfs                 ####################### [ 6/10]   Installing: tk-devel                     ####################### [ 7/10]   Cleanup   : freetype                     ####################### [ 8/10]  Cleanup   : xorg-x11-xfs                 ####################### [ 9/10]  Cleanup   : xorg-x11-libs                ####################### [10/10]Installed: tk-devel.i386 0:8.4.7-3.el4_6.1Dependency Installed: fontconfig-devel.i386 0:2.2.3-13.el4 freetype-devel.i386 0:2.1.9-19.el4 xorg-x11-devel.i386 0:6.8.2-1.EL.69Dependency Updated: freetype.i386 0:2.1.9-19.el4 xorg-x11-libs.i386 0:6.8.2-1.EL.69 xorg-x11-xfs.i386 0:6.8.2-1.EL.69Complete!

After installation is complete, use the install document's Unix installation steps:

% ./configure --prefix=/opt/sourcenav% make(become root)% make install

The installation is successful.

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.