Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2002 14:53:02 +0200
From:      Andreas Ntaflos <ant@overclockers.at>
To:        "Al.Chechet" <alx@koncom-utc.ukrtel.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: freetype2 install problem
Message-ID:  <20020718125302.GB1961@Deadcell.ant>
In-Reply-To: <200207180816.g6I8GB4k060849@koncom-utc.ukrtel.net>
References:  <200207180816.g6I8GB4k060849@koncom-utc.ukrtel.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 18, 2002 at 11:16:11AM +0300, Al.Chechet wrote:
> I've just built 4.6-STABLE. When attempting to install
> freetype2 from ports I've got some repeating messages
> on the stage "make install". It looks like uncompatible
> Makefile syntax:
> 
> "/usr/ports/print/freetype2/work/freetype-2.1.2/./builds/toplevel.mk", line 46: Need an operator
> "/usr/ports/print/freetype2/work/freetype-2.1.2/./builds/toplevel.mk", line 48: Need an operator
> "/usr/ports/print/freetype2/work/freetype-2.1.2/./builds/toplevel.mk", line 59: Missing dependency operator
> "/usr/ports/print/freetype2/work/freetype-2.1.2/./builds/toplevel.mk", line 61: Need an operator
> Error expanding embedded variable.
> gmake: [install] Error 2 (ignored)
> install -c -o root -g wheel -m 444 /usr/ports/print/freetype2/work/freetype-2.1.2/builds/unix/ft2unix.h /usr/local/include/ft2build.h
> "/usr/ports/print/freetype2/work/freetype-2.1.2/Makefile", line 26: Need an operator
> "/usr/ports/print/freetype2/work/freetype-2.1.2/Makefile", line 28: Need an operator
> "/usr/ports/print/freetype2/work/freetype-2.1.2/./builds/toplevel.mk", line 46: Need an operator
> "/usr/ports/print/freetype2/work/freetype-2.1.2/./builds/toplevel.mk", line 48: Need an operator
> "/usr/ports/print/freetype2/work/freetype-2.1.2/./builds/toplevel.mk", line 59: Missing dependency operator
> "/usr/ports/print/freetype2/work/freetype-2.1.2/./builds/toplevel.mk", line 61: Need an operator
> Error expanding embedded variable.
> gmake: *** [install] Error 2
> *** Error code 2
> 

You seem to have "." in your $PATH. I've had that problem too 2 weeks
ago; remove "." from your path and the build should work just fine. As
I understand, there is a script in work/freetype-2.1.2 called install,
which gets executed when you have the current directory "." in your
path, which calls GNU make and GNU install, instead of the correct BSD
make and install. This leads to the incompatible Makefile syntax.

Search through the archives from ~2 weeks ago, you'll find it explained
there.

HTH
regards
-- 
	Andreas "ant" Ntaflos	
	ant@overclockers.at
	Vienna, AUSTRIA


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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