tail problem (Was: hostap-driver-dev build problem on a 2.6.8.1 machine AND j2sdk)

Florin Braescu florin at lunar-linux.org
Mon Aug 23 14:38:56 GMT 2004


Pe data de Lun 23 Aug 2004 17:29, Jerry Lundström a scris:
> Jerry Lundström wrote:
> > vertigo at wi.rr.com wrote:
> >>> Building hostap-driver-dev
> >>> tail: `-1' option is obsolete; use `-n 1'
> >>> Try `tail --help' for more information.
> >
> > Dennis Veatch wrote:
> >  > tail: cannot open `+7` for reading: No such file or directory.
> >  > Error in check sum 1640625506 1987377779
> >  > Problem with either License Agreement or j2sdk bianry.
> >
> > The tail problem has been located, tail will not work with +/-<number>
> > if its compiled with NLS and linked to glibc 2.3.3 (it checks posix
> > version to invalidate old style options).
> >
> > A global fix for this is in the works... no need to go sedit on
> > makefiles.
>
> After many tests and diffrent fixes this might be the one:
>
> tail (and all coreutils programs) check for env variable _POSIX2_VERSION
> to determen their behaviour when dealing with parameters syntax etc.
>
> _POSIX2_VERSION in glibc 2.3.2 is 199209
> and in glibc 2.3.3 it is 200112
>
> Solution to enable tail to use +/-<number> is to export
> _POSIX2_VERSION=199209 (or rather any value lower then 200112).
>
> Ive already tested this with j2sdk and it seems to work, someone that
> use hostap-driver can test the attached patch.
>
> We will have to take it one problem at a time now with the new glibc as
> standard.


  Jerry, i have added "export _POSIX2_VERSION=199209" to the /etc/profile file 
and now i have succeeded to install j2sdk. I guess that's the easiest 
solution.

  Florin


More information about the Lunar-dev mailing list