ports/x11-fonts/XFree86-4-fontScalable, installation problem

Dejan Lesjak dejan.lesjak at ijs.si
Sat Nov 27 14:12:40 PST 2004


On Saturday 27 of November 2004 01:12, Anton Persson wrote:
> Well, here is the complete output: (i attach the resulting Makefile
> also..)
>
> hellbox# make
> ===>  Vulnerability check disabled
> ===>  Extracting for XFree86-fontScalable-4.4.0_1
>
> >> Checksum OK for xc/XFree86-4.4.0-src-4.tgz.
> >> Checksum OK for xc/XFree86-4.4.0-src-5.tgz.
>
> ===>  Patching for XFree86-fontScalable-4.4.0_1
> ===>  Applying FreeBSD patches for XFree86-fontScalable-4.4.0_1
> ===>   XFree86-fontScalable-4.4.0_1 depends on executable: ucs2any - found
> ===>   XFree86-fontScalable-4.4.0_1 depends on executable: imake - found
> ===>   XFree86-fontScalable-4.4.0_1 depends on shared library: X11.6 -
> found
> ===>  Configuring for XFree86-fontScalable-4.4.0_1
> (cd /usr/ports/x11-fonts/XFree86-4-fontScalable/work/xc/fonts/encodings &&
> imake -DUseInstalled -DProjectRoot=/usr/X11R6 -I/usr/X11R6/lib/X11/config
> -DTOPDIR=../../.. -DCURDIR=.;  make Makefiles ;  make includes ;  make
> depend)
> "Makefile", line 664: Missing dependency operator
> "Makefile", line 666: Missing dependency operator
> "Makefile", line 667: Missing dependency operator
> "Makefile", line 668: Missing dependency operator
> "Makefile", line 669: Missing dependency operator
> "Makefile", line 671: Missing dependency operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
>
> Stop in /usr/ports/x11-fonts/XFree86-4-fontScalable.
>
> And, as I said, I have the version of imake shipped with FreeBSD
> 5.2.1-RELEASE, which I suspect is rather new...

In packages for 5.2.1 imake-4.3.0_1 was included. The current port has 4.4.0.

> On the whole, it seems quite strange.. However, I never did learn
> imake anyway.. :)

It's basically a kind of a c preprocessor. It has a bunch of #define macros in 
files under /usr/X11R6/lib/X11/config/ then it takes an Imakefile, replaces 
macros and generates a Makefile :) In this case it's missing definition for 
MakeEncodings for example and so it just copies that line to Makefile.
But I digress..

Probably the easiest thing to do would be to reinstall devel/imake-4 port. 
However, the problem is not in old imake. You should have something like this 
in /usr/X11R6/lib/X11/config/X11.tmpl:

#ifndef MakeEncodings
#define MakeEncodings(deplist,inst,dirlist)                             @@\
                                                                        @@\
MakeEncDir(deplist $(OBJS),inst,dirlist)                                @@\
                                                                        @@\
clean::                                                                 @@\
        RemoveFiles(*.enc.Z *.enc.gz)
#endif /* MakeEncodings */

This should be there in imake 4.3 also, so you could check if something is 
wrong with this file.

Dejan


More information about the freebsd-x11 mailing list