From owner-freebsd-questions Wed Dec 11 10:12:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2E8F37B401 for ; Wed, 11 Dec 2002 10:12:57 -0800 (PST) Received: from claire.namodn.com (namodn.com [209.0.100.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9991243EA9 for ; Wed, 11 Dec 2002 10:12:57 -0800 (PST) (envelope-from nkj@namodn.com) Received: from nkj by claire.namodn.com with local (Exim 3.12 #1 (Debian)) id 1821qY-000491-00; Wed, 16 Oct 2002 21:01:18 -0700 Date: Wed, 16 Oct 2002 21:01:18 -0700 From: Nick Jennings To: freebsd-questions@freebsd.org Subject: problems 'make'ing ports Message-ID: <20021016210118.D12841@namodn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, I have been having several problems build ports. I just installed 4.7, and used cvsupit to update to the latest ports tree (nightly) and track the -STABLE branch (/usr/src). When I build ports I often get really lame errors like 'Unknown character /' in some source file. What it turns out to be is a comment, like: // This is a comment. Changing it to: /* This is a comment */ Fixes the problem. I get other errors too, but I am starting to question whether something else is wrong here. Is my make.conf too strict or something? I copied it from the examples, (/usr/share/examples/etc/defaults/make.conf) and did *very* little in customization... My CFLAGS looks like this: CFLAGS= -O -pipe -Wall -ansi What could be the problem here? Or is the compiler I'm using just not like '//' used as comments? I also can't successfully 'make buildworld'... And about 50% of the time I try to install a port that just won't build, so I have to use 'pkg_add'. Any tips greatly appreciated. -- Nick Jennings nkj@namodn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message