Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2005 17:41:18 -0700
From:      perikillo <perikillo@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: make x LC_ALL=C: command not found.
Message-ID:  <51d7a516050618174146b814c0@mail.gmail.com>
In-Reply-To: <426EC127.1030707@adtu.org>
References:  <426EC127.1030707@adtu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/26/05, Aaron Sloan <security@adtu.org> wrote:
> Hello,
>=20
> step 1.   I cvsup, rebuilt and installed world and generic kernel.
> Mergemastered just like I always do.
> I followed the handbook to the letter and this certainly isn't my first
> time.
> 5.4 stable.
>=20
> I customized my kernel and went to build it.
>=20
> make buildkernel KERNCONF=3DXX
>=20
> I get the following error.
>=20
> LC_ALL=3DC: command not found.
> "Makefile", line 155 warning: "LC_ALL=3DC date" returned non-zero status
> MAKEFLAGS=3D: Command not found.
> "Makefile.inc1" line 116: warning "MAKEFLAGS=3D CPUTYPE=3Ddummy make -f
> /dev/null -m
> /usr/src/share/mk -V CPUTPE" returned non-zero status
> "Makefile.inc1", line 118: CPUTYPE globaal should be set with ?=3D.
>    error code 1.
>=20
> I did monkey with make.conf before step 1.
> I added...
>=20
> CPUTYPE?=3Di686
> CFLAGS=3D -O -pipe
>=20
> Make now fails to the above error on every thing.
> I'm not certain what I did to break it but I'm sure it has my name all
> over it.
>=20
> Thanks,
> Aaron
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>=20

  I have the same problem after i update my system to 5.4-p2, look
this is my information:

FreeBSD 5.4 Release

#uname -a
FreeBSD devhora 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #2: Thu Jun 16
18:58:06 UTC 2005     root@devhora:/usr/src/sys/i386/compile/DEVHORA=20
i386

devhora# ee /etc/make.conf
#$FreeBSD: src/share/examples/etc/make.conf,v 1.229.2.12 2005/03/07 20:39:3=
4 ph
CPUTYPE?=3Di686 <<---Here i have try with i686 and p2

devhora#cd /usr/src

devhora# make buildworld
LC_ALL=3DC: Command not found.
"Makefile", line 155: warning: "LC_ALL=3DC date" returned non-zero status
MAKEFLAGS=3D: Command not found.
"Makefile.inc1", line 116: warning: "MAKEFLAGS=3D CPUTYPE=3Di686 make  -f /=
dev/null
-m /usr/src/share/mk -V CPUTYPE" returned non-zero status
"Makefile.inc1", line 118: CPUTYPE global should be set with ?=3D.
*** Error code 1

Stop in /usr/src.

#dmesg output first rows

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p2 #2: Thu Jun 16 18:58:06 UTC 2005
    root@devhora:/usr/src/sys/i386/compile/DEVHORA
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x634  Stepping =3D 4
Features=3D0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC=
A,CMO
V,MMX>

#/usr/src/Makefile.inc1
#$FreeBSD: src/Makefile.inc1,v 1.438.2.20.2.2 2005/04/09 13:26:35 ru Exp $
_CPUTYPE!=3D      MAKEFLAGS=3D CPUTYPE=3D${_TARGET_CPUTYPE} ${MAKE} \
                -f /dev/null -m ${.CURDIR}/share/mk -V CPUTYPE
.if ${_CPUTYPE} !=3D ${_TARGET_CPUTYPE}
.error CPUTYPE global should be set with ?=3D.
.endif

#/usr/src/share/mk/bsd.cpu.mk
# Handle aliases (not documented in make.conf to avoid user confusion
# between e.g. i586 and pentium)

. if ${MACHINE_ARCH} =3D=3D "i386"
.  if ${CPUTYPE} =3D=3D "nocona"
CPUTYPE =3D prescott
.  elif ${CPUTYPE} =3D=3D "p4"
CPUTYPE =3D pentium4
.  elif ${CPUTYPE} =3D=3D "p4m"
CPUTYPE =3D pentium4m
.  elif ${CPUTYPE} =3D=3D "p3"
CPUTYPE =3D pentium3
.  elif ${CPUTYPE} =3D=3D "p3m"
CPUTYPE =3D pentium3m
.  elif ${CPUTYPE} =3D=3D "p-m"
CPUTYPE =3D pentium-m
.  elif ${CPUTYPE} =3D=3D "p2"
CPUTYPE =3D pentium2
.  elif ${CPUTYPE} =3D=3D "i686"
CPUTYPE =3D pentiumpro
.  elif ${CPUTYPE} =3D=3D "i586/mmx"
CPUTYPE =3D pentium-mmx
.  elif ${CPUTYPE} =3D=3D "i586"
CPUTYPE =3D pentium
.  elif ${CPUTYPE} =3D=3D "opteron" || ${CPUTYPE} =3D=3D "athlon64" || \
     ${CPUTYPE} =3D=3D "k8"
CPUTYPE =3D athlon-mp
.  elif ${CPUTYPE} =3D=3D "k7"
CPUTYPE =3D athlon
.  endif
. elif ${MACHINE_ARCH} =3D=3D "amd64"
.  if ${CPUTYPE} =3D=3D "prescott"
CPUTYPE =3D nocona
.  endif
. endif


# Set up the list of CPU features based on the CPU type.  This is an
# unordered list to make it easy for client makefiles to test for the
# presence of a CPU feature.

. if ${MACHINE_ARCH} =3D=3D "i386"
.  if ${CPUTYPE} =3D=3D "opteron" || ${CPUTYPE} =3D=3D "athlon64"
MACHINE_CPU =3D athlon-xp athlon k7 3dnow sse2 sse mmx k6 k5 i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "athlon-mp" || ${CPUTYPE} =3D=3D "athlon-xp" || \
    ${CPUTYPE} =3D=3D "athlon-4"
MACHINE_CPU =3D athlon-xp athlon k7 3dnow sse mmx k6 k5 i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "athlon" || ${CPUTYPE} =3D=3D "athlon-tbird"
MACHINE_CPU =3D athlon k7 3dnow mmx k6 k5 i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "k6-3" || ${CPUTYPE} =3D=3D "k6-2"
MACHINE_CPU =3D 3dnow mmx k6 k5 i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "k6"
MACHINE_CPU =3D mmx k6 k5 i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "k5"
MACHINE_CPU =3D k5 i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "pentium4" || ${CPUTYPE} =3D=3D "pentium4m" || ${=
CPUTYPE} =3D=3D "
MACHINE_CPU =3D sse2 sse i686 mmx i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "pentium3" || ${CPUTYPE} =3D=3D "pentium3m"
MACHINE_CPU =3D sse i686 mmx i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "pentium2"
MACHINE_CPU =3D i686 mmx i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "pentiumpro"
MACHINE_CPU =3D i686 i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "pentium-mmx"
MACHINE_CPU =3D mmx i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "pentium"
MACHINE_CPU =3D i586 i486 i386
.  elif ${CPUTYPE} =3D=3D "i486"
MACHINE_CPU =3D i486 i386
.  elif ${CPUTYPE} =3D=3D "i386"
MACHINE_CPU =3D i386
.  endif

   There is a bug or i did something wrong, i add my sound card to the
config file, disable some features on etc/make.conf like IP_FILTER,
PF_FILTER, install Xorg from ports(this one still have problems with
my keyboard, but that is another history P-/ ), my cvsup file has the
tag=3DRELENG_5_4, i read the /usr/src/UPDATING file but no answer about
this, i have been using freebsd since 4.4, this is not my first time i
make buildworld.

    Any information about how to resolved this error? Thansk to all.



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