Mario Doria wrote:
> Hello,
>
> I'm getting this error when doing "make install-bsd" on a FreeBSD
> 4.6-STABLE machine, cvsupped today @ 11:00 PM CST.
>
> (root@frankie)# make install-bsd
> (cd BSD/`uname -s|sed -e 's@/@@g'`-`uname -r`-`uname -m`; make install
> "TOP=../.." 'CFLAGS=-I$(TOP) -DIPFILTER_LOG' "IPFLOG=-DIPFILTER_LOG"
> "LOGFAC=-DLOGFAC=LOG_LOCAL0" "POLICY=-DIPF_DEFAULT_PASS=FR_PASS"
> "SOLARIS2=" "DEBUG=-g" "DCPU=`uname -m`" "CPUDIR=`uname -s|sed -e
> 's@/@@g'`-`uname -r`-`uname -m`" 'STATETOP_CFLAGS=-DSTATETOP'
> 'STATETOP_INC=' 'STATETOP_LIB=-lcurses' "BITS=" "OBJ="
> "IPFLKM=-DIPFILTER_LKM" ; cd ..)
> for i in ip_compat.h ip_fil.h ip_nat.h ip_state.h ip_proxy.h ip_frag.h
> ip_auth.h; do /bin/cp ../../$i /usr/include/netinet/; -/bin/chmod 444
> /usr/include/netinet/$i; done
> -/bin/chmod: not found
> *** Error code 127
>
> Stop in /usr/ipf/ip_fil3.4.29/BSD/FreeBSD-4.6-STABLE-i386.
> *** Error code 1
>
> Stop in /usr/ipf/ip_fil3.4.29.
>
>
> What should I do?
>
>
Forget it. Here's the fix:
--- ip_fil3.4.29/BSD/Makefile Mon Aug 19 05:07:16 2002
+++ Makefile Wed Aug 28 23:58:14 2002
@@ -246,7 +246,7 @@
for i in ip_compat.h ip_fil.h ip_nat.h ip_state.h ip_proxy.h \
ip_frag.h ip_auth.h; do \
/bin/cp $(TOP)/$$i /usr/include/netinet/; \
- -$(CHMOD) 444 /usr/include/netinet/$$i; \
+ $(CHMOD) 444 /usr/include/netinet/$$i; \
done
-if [ -d /lkm -a -f if_ipl.o ] ; then \
cp if_ipl.o /lkm; \
The BSD/Makefile has an extra -
> Thanks,
>
>
>
> Mario
>