From owner-freebsd-stable@FreeBSD.ORG Sun Jul 6 19:26:44 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3401106567B for ; Sun, 6 Jul 2008 19:26:44 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0404E8FC0A; Sun, 6 Jul 2008 19:26:43 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48711C74.6050901@FreeBSD.org> Date: Sun, 06 Jul 2008 21:26:44 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: norwoh@comcast.net References: <070620081904.17867.487117540007643A000045CB22165662760801999D0102@comcast.net> In-Reply-To: <070620081904.17867.487117540007643A000045CB22165662760801999D0102@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Makefile in FreeBSD 7.0 Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2008 19:26:44 -0000 norwoh@comcast.net wrote: > -------------- Original message ---------------------- > From: Kris Kennaway >> norwoh@comcast.net wrote: >>> I have a fresh install of FreeBSD 7.0 but it it seems several system related >> modules are broken. One I would like to have a solution on urgently is the >> "Makefile". I am not able to compile or install any program with it. The errors >> are too many no matter which application I try to install from ports collection. >> I have not built a custom kernel yet. The behavior of Makefile worries me more >> than anything at the moment. >>> pkg_ add is minimally working itself. I am also noticing that quite many >> apllications in the port collection are bad. Any idea for me to get started? >> >> You'll have to start by showing us exactly what you are doing, and what >> is going wrong. >> > > Thanks ... say you have a package: > cd /usr/ports/sysutils/usermin > In this folder you have Makefile, distinfo, files, pkg-descr, pkg-message, and pkg-plist > The issue the command while in this folder: > perl Makefile > voila,, you get: > > Semicolon seems to be missing at Makefile line 9 > Bareword found where operator expected at Makefile line 11 .near "/www" [Missing operator before www?] > syntax erro at Makefile line 10 > Execution of Makefile aborted due to Compilation errors. > > And many more of these errors for each and every file/application I try to install. Why are you running that command? It's not how you build ports. Take a look at the handbook for directions. Kris