Re: User compile of Hg version broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Qua, 2006-04-26 às 14:31 -0700, Trent Piepho escreveu:
> On Wed, 26 Apr 2006, Mauro Carvalho Chehab wrote:
> > Em Ter, 2006-04-25 s 16:54 -0700, Trent Piepho escreveu:
> > > On Tue, 25 Apr 2006, Mauro Carvalho Chehab wrote:
> >
> > > I didn't need write access to the kernel sources to use make *config before
> > > this change.
> > Before this change, the user should go first to kernel dir, do a make
> > *config, to generate the required files to build menu. While this is not
> > an issue to advanced users, it is not good to newbies.
> 
> So now you download a second copy of the kernel source, install that,
> and figure out how to get the Hg version to look at it instead of the
> system source it finds automatically?  
Huh??? NO! You don't need this!

> That seems like even more
> trouble than going to the system kernel and doing a make xxxconfig
> first.  I like Michael Krufky's suggestion, add a command to build the
> kernel conf system to the v4l-dvb makefile, but don't make it
> automatic.  Test for *conf and if it's not there print this:
It is checking if you had built it before. If not, *then* it will try to
build at kernel tree (check the latest hg version).
> 
> Kernel 2.6.12.  Even if I'm root, it tries to compile without needing
> to, and when it does, it doesn't work:
> 
> [root@t2 v4l-dvb]# make xconfig
> scripts/kconfig/mconf.c:1045: error: 'LC_ALL' undeclared (first use in this function)
> scripts/kconfig/mconf.c:1045: error: (Each undeclared identifier is reported only once
> scripts/kconfig/mconf.c:1045: error: for each function it appears in.)

LC_ALL is an environment var about your current language. All distros I
know have this defined (also an entire bunch of LC_foo stuff), like:
LC_ADDRESS=pt_BR
LC_COLLATE=pt_BR
LC_CTYPE=pt_BR
LC_IDENTIFICATION=pt_BR
LC_MEASUREMENT=pt_BR
LC_MESSAGES=pt_BR
LC_MONETARY=pt_BR
LC_NAME=pt_BR
LC_NUMERIC=pt_BR
LC_PAPER=pt_BR
LC_SOURCED=1
LC_TELEPHONE=pt_BR
LC_TIME=pt_BR

It seems to be something weird on your environment... Maybe kernel
Makefile do some trick for this one. probably, if we do LC_ALL=C at the
building line will make it work on 2.6.12.

Cheers, 
Mauro.


_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux