Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 1998 20:32:44 -0500 (EST)
From:      VEGA <vega@d132-h017.rh.rit.edu>
To:        saad <bonga@doxx.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Makefile / bsd.port.pre.mk not found in /usr/ports
Message-ID:  <Pine.BSF.4.05.9812112026010.28068-100000@d132-h017.rh.rit.edu>
In-Reply-To: <Pine.BSF.4.05.9812112021040.267-100000@localhost.webbernet.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812112026010.28068-100000>