On 02/02/2012 06:42 PM, Bruce Dubbs wrote:
> Baho Utot wrote:
>> I have started on BLFS-SVN<last nite>
>> Upon compiling openssl I got this error
>>
>> Operating system: i686-whatever-linux2
>> perl: warning: Setting locale failed.
>> perl: warning: Please check that your locale settings:
>>      LANGUAGE = (unset),
>>      LC_ALL = (unset),
>>      LANG = "en_US"
>>
>> Should LANGUAGE and LC_ALL be set in /etc/profile in chapter 7.13?
> It probably wouldn't hurt anything.
>
> I don't have those warning in my log for openssl-1.0.0e, but I don't
> have any of those locale settings at all.  See what you get if you unset
> LANG.
>
>     -- Bruce
>
>

You will get the error above on anything that requires perl when it is 
built.

If you unset LANG that works or you can add the following to 
/etc/profile fix the error

export LC_ALL=C

So profile should look like this

cat > ${pkgdir}/etc/profile << "EOF"
# Begin /etc/profile

export LANG=<ll>_<CC>.<charmap><@modifiers>
export LC_ALL=C

# End /etc/profile
EOF
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to