pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42409: imake fails on Linux (RHEL-5.4)



>Number:         42409
>Category:       pkg
>Synopsis:       imake fails on Linux (RHEL-5.4)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 04 16:50:00 +0000 2009
>Originator:     Mikhail T.
>Release:        
>Organization:
Virtual Estates, Inc.
>Environment:
Linux myhost 2.6.18-164.el5PAE #1 SMP Tue Aug 18 15:59:11 EDT 2009 i686 i686 
i386 GNU/Linux
>Description:
Trying to build anything, that uses imake:

root@ws-mteterin:~mteterin/pkgsrc/graphics/xpm (1484) bmake
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/local/sbin/pkg_admin -K /var/db/pkg 
fetch-pkg-vulnerabilities'.
===> Configuring for xpm-3.4knb7
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/local/lib/X11/config -I/usr/lib/X11/config
Imakefile.c:34: error: Imake.tmpl: No such file or directory
/usr/bin/imake: Exit code 1.
  Stop.
*** Error code 1

Stop.

>How-To-Repeat:
See Description
>Fix:
At least on this RedHat Enterprise 5.4 system, the sought-after Imake.tmpl is 
located in /usr/share/X11/config.

The /usr/lib/X11/config, that imake is invoked with, DOES NOT EXIST.

A simple work-around is to sym-link:

       ln -s /usr/share/X11/config /usr/lib/X11/

The right fix would involve invoking imake with the correct path for each 
system...



Home | Main Index | Thread Index | Old Index