From owner-freebsd-questions Fri Dec 11 17:38:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA27265 for freebsd-questions-outgoing; Fri, 11 Dec 1998 17:38:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from d132-h017.rh.rit.edu (d132-h017.rh.rit.edu [129.21.132.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA27256 for ; Fri, 11 Dec 1998 17:38:12 -0800 (PST) (envelope-from vega@d132-h017.rh.rit.edu) Received: from localhost (vega@localhost) by d132-h017.rh.rit.edu (8.9.1/8.8.8) with ESMTP id UAA28093; Fri, 11 Dec 1998 20:32:44 -0500 (EST) (envelope-from vega@d132-h017.rh.rit.edu) Date: Fri, 11 Dec 1998 20:32:44 -0500 (EST) From: VEGA To: saad cc: freebsd-questions@FreeBSD.ORG Subject: Re: Makefile / bsd.port.pre.mk not found in /usr/ports In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 11 Dec 1998, saad wrote: > > 1. whenever i 'make' anything inside the /usr/ports hierarchy, i something > like get this error: > > "Makefile", line 118: Could not find bsd.port.pre.mk > "Makefile", line 120: Malformed conditional (${PORTOBJFORMAT} == "elf") > "Makefile", line 120: Need an operator > "Makefile", line 122: if-less else > "Makefile", line 122: Need an operator > "Makefile", line 124: if-less endif > "Makefile", line 124: Need an operator > "Makefile", line 146: Could not find bsd.port.post.mk > make: fatal errors encountered -- cannot continue > "Makefile", line 118: Could not find bsd.port.pre.mk > "Makefile", line 120: Malformed conditional (${PORTOBJFORMAT} == "elf") > "Makefile", line 120: Need an operator > "Makefile", line 122: if-less else > "Makefile", line 122: Need an operator > "Makefile", line 124: if-less endif > "Makefile", line 124: Need an operator > "Makefile", line 146: Could not find bsd.port.post.mk > make: fatal errors encountered -- cannot continue you need bsd.port.pre.mk and bsd.port.post.mk, they can be found at ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/mk/ get them and put them in your /usr/share/mk directory (at least that's what i did when i had that problem) i think you could also put them into /usr/src/share/mk then do a 'make all install' as root while in that directory. > > 2. whenever i use certain commands (`whereis` is just one of them), i get > this: > > # whereis ls > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LC_ALL = (unset), > LANG = "us" > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > ls: /bin/ls /usr/share/man/man1/ls.1.gz /usr/src/bin/ls > > > > ... are these related in any way? how can i fix these? thanks :) > > -saad > > i'd bet that you installed staroffice...if so, that would be the cause of it...ive never seen anything else cause that problem. that environment variable is set in ~/.sd.sh and ~/sd.csh, which one you would fix depends on what shell you use ;) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message