Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2001 22:06:36 -0600
From:      "Justin Head" <root@sublogic.net>
To:        <stable@freebsd.org>
Subject:   Make Installworld PATH Not Setup Correctly
Message-ID:  <000e01c08f29$09247830$0200000a@thematrix>

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

[-- Attachment #1 --]
Hello,

I've been having problems with a new box trying to compile the first make buildworld/installworld.  This is a fresh system begining with an install of 4.2 and a quick cvsup of src-all and ports-all.  Buildworld completes successfully but when i get to run installworld i keep getting errors of missing programs...  I modified the shell script giving me the first error to find the below PATH seems to be wrong...  I dont know where this path is coming from because the system path is much different and the src binaries arent in the locations of the installworld PATH.  I am also having problems with other parts of the installworld which i believe are all centered around the PATH being wrong.  Any help would be appreciated.


EDITED /usr/src/contrib/ncurses/include/edit_cfg.sh TO SHOW PATH

sh /usr/src/lib/libncurses/../../contrib/ncurses/include/edit_cfg.sh /usr/src/lib/libncurses/ncurses_cfg.h term.h.new^M
#### edit_cfg.sh mod by Justin^M
#### PATH = /usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.80875^M
which: not found^M   
#### WHICH CMP = ^M
cmp: not found^M
** edit: HAVE_TCGETATTR^M
cmp: not found^M
** edit: HAVE_TERMIOS_H^M
cmp: not found^M
** edit: HAVE_TERMIO_H^M
cmp: not found^M
** edit: BROKEN_LINKER^M


SYSTEM PATH

broken# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin


LOCATION OF cmp PROGRAMS
broken# find / -name "cmp"
/usr/bin/cmp
/usr/src/usr.bin/cmp
/usr/obj/usr/src/usr.bin/cmp
/usr/obj/usr/src/usr.bin/cmp/cmp

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've been having problems with a new box trying to 
compile the first make buildworld/installworld.&nbsp; This is a fresh system 
begining with an install of 4.2 and a quick cvsup of src-all and 
ports-all.&nbsp; Buildworld completes successfully but when i get to run 
installworld i keep getting errors of missing programs...&nbsp; I modified the 
shell script giving me the first error to find the below&nbsp;PATH&nbsp;seems to 
be wrong...&nbsp; I dont know where this path is coming from because the 
system&nbsp;path is much different and the src binaries arent in the locations 
of the&nbsp;installworld PATH.&nbsp; I am also having problems with other parts 
of the installworld which i believe are all centered around the PATH being 
wrong.&nbsp; Any help would be appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>EDITED 
/usr/src/contrib/ncurses/include/edit_cfg.sh&nbsp;TO SHOW&nbsp;PATH</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sh 
/usr/src/lib/libncurses/../../contrib/ncurses/include/edit_cfg.sh 
/usr/src/lib/libncurses/ncurses_cfg.h term.h.new^M<BR>#### edit_cfg.sh mod by 
Justin^M<BR>#### PATH = 
/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.80875^M<BR>which: 
not found^M&nbsp;&nbsp; <BR>#### WHICH CMP = ^M<BR>cmp: not found^M<BR>** edit: 
HAVE_TCGETATTR^M<BR>cmp: not found^M<BR>** edit: HAVE_TERMIOS_H^M<BR>cmp: not 
found^M<BR>** edit: HAVE_TERMIO_H^M<BR>cmp: not found^M<BR>** edit: 
BROKEN_LINKER^M</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>SYSTEM PATH</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>broken# echo 
$PATH<BR>/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>LOCATION OF cmp PROGRAMS</FONT></DIV>
<DIV><FONT face=Arial size=2>broken# find / -name 
"cmp"<BR>/usr/bin/cmp<BR>/usr/src/usr.bin/cmp<BR>/usr/obj/usr/src/usr.bin/cmp<BR>/usr/obj/usr/src/usr.bin/cmp/cmp</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c08f29$09247830$0200000a>