setlocale command is missing

2009-12-25 Thread Daniel Dvořák
Hi,
 
I updated a mc port to the last one, version 4.7.0pre4 and wanted to run mc, 
but mc display a warning message that the selected display charset or source 
codeset does not match one set via locale. I have never seen this message since 
I am a user of mc. Propably it is something new in this new version. The 
version 4.6.2 does not show you this message durring starting application.
 
I wanted to set my locale, but I found out that command setlocale is missing on 
FreeBSD 7.2.
 
Files in directory /etc:
 
login.conf, login.conf.db, csh.login and profile are set as HANDBOOK recommends 
for language localization.
 
My shells are bash, tcsh or zsh, csh for root user. The results are the same.
 
bash:
[u...@server ~]$ LC_ALL=ISO-8859-2; export LC_ALL
-bash: varování: setlocale: LC_ALL: cannot change locale (ISO-8859-2): No such 
file or directory
 
zsh:
server% setlocale LC_ALL ISO-8859-2
zsh: command not found: setlocale

tcsh:
> setlocale LC_ALL ISO-8859-2
setlocale: Command not found.

root csh:
server# setlocale LC_ALL ISO-8859-2
setlocale: Command not found.

So my simple question is why is setlocale command missing in FreeBSD 7.2 ? And 
if user could not use locale and setlocale commands like on Linux, how can I 
solve my problem with new version of MC ?
 
The mc message:
 
Confirmation
 
Chosen display charset (Settings->Display bits) or source codeset (in mcedit 
ctrl-t) does not match one set via locale. Set correct codeset manually or 
press <> to set locale default.
 
Or set 'don' task again' and press <>
 
[ ] don't ask again
 
[< Fix it >]   [ Skip ]
 
BTW in mc there is not any settings with display bits, there is only options 
menu with display bits. Wrong help dialogs ?
 
Thank you
 
Daniel
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: net-snmp: portupgrade or clean instalation from ports throughNFS failed again and again

2007-04-07 Thread Daniel Dvořák
Yes, you were right! It was enough to rename .PL to .pl with Makefile.

So I guess the net-snmp port is broken, isn´t it ?

Dan

-Original Message-
From: Garrett Cooper [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 1, 2007 03:41 AM
To: Daniel Dvořák
Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Subject: Re: net-snmp: portupgrade or clean instalation from ports throughNFS 
failed again and again

My guess is that that particular error message is a typo because usually 
Perl scripts are prefixed like {blah}.pl, not {blah}.PL.
-Garrett

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: net-snmp: portupgrade or clean instalation from ports through NFS failed again and again

2007-03-31 Thread Daniel Dvořák
Ok thanks for your quick reply. It helped me ... for a while.

I did what you advised me and it worked, but after some comilling time this new 
error appeared:

Makefile out-of-date with respect to Makefile.PL 
/usr/local/lib/perl5/5.8.8/mach/Config.pm 
/usr/local/lib/perl5/5.8.8/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/local/bin/perl Makefile.PL
ERROR from evaluation of 
/usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1/perl/default_store/Makefile.PL:
 You need to install net-snmp first (I can't find net-snmp-config) at 
./Makefile.PL line 83.
*** Error code 2

Stop in /usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1/perl.
*** Error code 1

Stop in /usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.


I have compilled net-snmp for many times on many platforms even this wpra pc 
engine, but always with success. What is wrong with this net-snmp version 5.3.X 
?

Dan
-Original Message-
From: Jonathan Horne [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 31, 2007 3:10 PM
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Subject: Re: net-snmp: portupgrade or clean instalation from ports through NFS 
failed again and again

On Sat, 31 Mar 2007 13:49:32 +0200
Daniel Dvořák <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I have a wrap PC Engine with CF card.
> 
> I want do a upgrade of net-snmp-5.2.3_3 to latest version.
> 
> Of cource I do not want to compile the whole port on CF card,
> 
> so the directory /usr/ports/ is mounted through NFS.
> 
> When I do portupgrade net-snmp or make install clean, it always fails with 
> the same error, see below.
> 
> What may I do to compile it through NFS successfully ?
> 
> SERVER site:
> 
> # /etc/rc.d/nfsd status
> nfsd is running as pid 1254 1255 1256 1257 1258.
> # /etc/rc.d/mountd status
> mountd is running as pid 1245.
> # /etc/rc.d/rpcbind status
> rpcbind is running as pid 1210.
> # /etc/rc.d/nfslocking  status 
> 
> If it is with or without, it does not influence the error.
> 
> statd is running as pid 1264.
> lockd is running as pid 1269 1275.
> 
> Thanks
> 
> Dan
> 
> # mount
> /dev/ad0s1a on / (ufs, local)
> devfs on /dev (devfs, local)
> 10.X.Y.Z:/usr/ports on /usr/ports (nfs)
> 
> # cd /usr/ports/net-mgmt/net-snmp
> 
> # make install clean
> ===>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/perl5.8.8 - found
> ===>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/autoconf259 - found
> ===>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/libtool - found
> ===>  Configuring for net-snmp-5.3.1_3
> autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you are 
> running make -j on a lame NFS client?): Operation not supported
> *** Error code 1
> 
> Stop in /usr/ports/net-mgmt/net-snmp.
> #
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

you need to specify a different place for your workdirs to go, by adding a line 
like this to /etc/make.conf:

WRKDIRPREFIX=/usr/tmp

cheers,
jonathan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


net-snmp: portupgrade or clean instalation from ports through NFS failed again and again

2007-03-31 Thread Daniel Dvořák
Hi all,

I have a wrap PC Engine with CF card.

I want do a upgrade of net-snmp-5.2.3_3 to latest version.

Of cource I do not want to compile the whole port on CF card,

so the directory /usr/ports/ is mounted through NFS.

When I do portupgrade net-snmp or make install clean, it always fails with the 
same error, see below.

What may I do to compile it through NFS successfully ?

SERVER site:

# /etc/rc.d/nfsd status
nfsd is running as pid 1254 1255 1256 1257 1258.
# /etc/rc.d/mountd status
mountd is running as pid 1245.
# /etc/rc.d/rpcbind status
rpcbind is running as pid 1210.
# /etc/rc.d/nfslocking  status 

If it is with or without, it does not influence the error.

statd is running as pid 1264.
lockd is running as pid 1269 1275.

Thanks

Dan

# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
10.X.Y.Z:/usr/ports on /usr/ports (nfs)

# cd /usr/ports/net-mgmt/net-snmp

# make install clean
===>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/perl5.8.8 - found
===>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/autoconf259 - found
===>   net-snmp-5.3.1_3 depends on file: /usr/local/bin/libtool - found
===>  Configuring for net-snmp-5.3.1_3
autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you are 
running make -j on a lame NFS client?): Operation not supported
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.
#

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


optimization for Athlon 64 X2

2007-03-23 Thread Daniel Dvořák
Hi all,

out of curiosity, which CPUTYPE setting is appropriate for dual Manchester core 
Athlon 64 X2 3800+ processor with FreeBSD 6.2 (GCC 3.4.4) ?

Googling throws up nothing useful.

Dan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


adding other login class to login.conf in case one is already there

2006-09-28 Thread Daniel Dvořák
Hi all,

could somebody looks at this PR ?

 
http://www.freebsd.org/cgi/query-pr.cgi?pr=103794

It began with my mail to LI Xin.

He agreed that I attach our mail´s correspondence.

Here it is:

 

> -Original Message-

> From: LI Xin [  mailto:[EMAIL PROTECTED] 

> Sent: Thursday, September 21, 2006 8:24 AM

> To: [EMAIL PROTECTED]

> Cc: [EMAIL PROTECTED]

> Subject: Re: /etc/login.conf - add czech user login class with locales

> 

> Hello Xin Li,

>  I found out that last change to login.conf perhaps you have done.

>  I see Russian user class and definition of lang and mm_char.

>  Why is there only that one class ?

>  Is it possible to upadte this file in CVS and add new user class for 

> czech language ?

>  czech|Czech Users Accounts:\

> :charset=ISO-8859-2:\

> :lang=cs_CZ.ISO8859-2:\

> :tc=default:

According to the CVS annotate, it seems that ache@ has added the Russian
user class 9 years ago. It looks like an example to me, though.

Actually the previous change I have made against RELENG_6 was a comment
change which reduces diff against -HEAD, but frankly I am not an expert in
this stuff, so it would probably better if there is someone who is more
quantifiable than me to do the CVS operation.

Would you please send a patch as PR, so someone can pick up (perhaps also by
sending a reminder to -current@)? I guess there were some performance
concerns about adding more login classes in the past, but with the newly
added NSS caching mechanism things could have changed :-)

Cheers,

 

So could somebody give one´s opinion or even commit this change to RELENG_6
and HEAD CVS tree ?

 

Thank you for attention.

Daniel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NT loader still boot first FreeBSD slice, it could not boot second or another slice

2006-09-28 Thread Daniel Dvořák
Hi all,
 
I wanted to make my system dual or multiboot. I decided to loadding os NT
loader from Windows XP.
 
I have read this:
 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADE
R
 
My situation:
 
1. partion ... wxp /dev/ad4s1
2. partion ... ntfs data partition /dev/ad4s2
3. partion ... fbsd adm64 /dev/ad4s3a
4. partion ... fbsd i386 /dev/ad4s4a
 
Sata disk 320GB.
 
What I did:
 
1. /dev/ad4s3a: cp /boot/boot1 FreeBSDa64.BSD to 1. partion
2. /dev/ad4s4a: cp /boot/boot1 FreeBSDi386.BSD to 1.partion
3. reply 1.-2. with dd if=/dev/ad4s3a of=/...dd.BSD bs=512 count=1
4. edit boot.ini so there are WXP and 2 copied boot1 to 3rd and 4th
partition and 2 made by dd command, so 5 records
 
NT loader boot 3rd partion without any problem, but when I want to boot to
4th partition, it loads 3rd one again and again. I does not get to there at
all.
 
If I compare these 4 files, all are the same, so how could ntloader to load
something other than the first bsd partition if files did not differ at all
!!!
 
If it is known issue, why it is not in documentation, that point 9.10 in FAQ
works ONLY and ONLY with ONLY 1 FreeBSD partition ?
 
I recommand to edit this question 9.10 to mention this barrier, if it is
true.
 
P.S.: I am not currently subscribed in the freebsd-stable and
freebsd-questions mailling lists, so mail me directly. Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FW: Application layer firewall on FreeBSD, is it possible ?

2005-08-30 Thread Daniel Dvořák
... but you know, proxy is not what I am asking, proxy is not firewall.

We do not need to restrict everything and all members.

We like full routeable network with full access to IPv6 / IPv4 internet
without any necessary action like configure proxy clients at all pc´s our
members.

We only want to deny only p2p applications by default for all pc´s
regardless of used protocol/ports and to allow grantting access to p2p
networks each members in individual way, because we have to prevent another
letter from our ISP which was contacted by BSA that from our public IP (
from one member in private ip space ) ... traffic ... share ... violate ...
authorial law. 

So of course it must be combination of IP and application osi model
firewall.

Gateway server should check all packets and their contents to decide if
allowed or denied in fast way like l7-filter on Linux OS.

So is it possible on FreeBSD OS ?

Thanks

Dan

  _  

From: Daniel Dvořák [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 31, 2005 1:47 AM
To: 'freebsd-questions@freebsd.org'; 'freebsd-ipfw@freebsd.org';
'freebsd-pf@freebsd.org'
Subject: Application layer firewall on FreeBSD, is it possible ?



Hi all,

let me ask you for task "how to control p2p applications and their traffic
with dynamic ports from user´s commputers on gateway".

We are small wireless community and have shared access to internet for all
members. Core members decided to control p2p traffic by default and to allow
each person in individual way, after showing their knowledge of authorial
low. :)

But since many dc hubs, edonkey servers, bittorents web trackers and so on
use dynamic not standard ports, how to control it ?

Linux use l7-filter  <http://sourceforge.net/projects/l7-filter>
sourceforge.net/projects/l7-filter sourceforge freeware and , it is based on
iptables, defination application protocols like ethereal project do.

So, is there any way to do same application layer osi model firewall with
FreeBSD gateway ?

Of course, I tried to find on web, I have not been successful in searching
so far.

If my question is not right in this mailing list, if my question is annoying
here, so I am sorry.

Dan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Application layer firewall on FreeBSD, is it possible ?

2005-08-30 Thread Daniel Dvořák
Hi all,

let me ask you for task "how to control p2p applications and their traffic
with dynamic ports from user´s commputers on gateway".

We are small wireless community and have shared access to internet for all
members. Core members decided to control p2p traffic by default and to allow
each person in individual way, after showing their knowledge of authorial
low. :)

But since many dc hubs, edonkey servers, bittorents web trackers and so on
use dynamic not standard ports, how to control it ?

Linux use l7-filter  
sourceforge.net/projects/l7-filter sourceforge freeware and , it is based on
iptables, defination application protocols like ethereal project do.

So, is there any way to do same application layer osi model firewall with
FreeBSD gateway ?

Of course, I tried to find on web, I have not been successful in searching
so far.

If my question is not right in this mailing list, if my question is annoying
here, so I am sorry.

Dan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"