Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 2004 23:12:34 +0100
From:      Dejan Lesjak <dejan.lesjak@ijs.si>
To:        Anton Persson <pltxtra@733kru.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: ports/x11-fonts/XFree86-4-fontScalable, installation problem
Message-ID:  <200411272312.35229.dejan.lesjak@ijs.si>
In-Reply-To: <20041127003912.L9417@hellbox.campus.luth.se>
References:  <200411260856.iAQ8u5Qs007807@hellbox.campus.luth.se> <200411262101.38651.dejan.lesjak@ijs.si> <20041127003912.L9417@hellbox.campus.luth.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411272312.35229.dejan.lesjak>