Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2002 21:01:18 -0700
From:      Nick Jennings <nkj@namodn.com>
To:        freebsd-questions@freebsd.org
Subject:   problems 'make'ing ports
Message-ID:  <20021016210118.D12841@namodn.com>

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




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