Re: what happened to make world?

2007-08-30 Thread Jose-Marcio Martins da Cruz
Pietro Cerutti wrote: # make world Now, THIS is quite funny... do you really thing that a person with - root access - the knowledge of the existence of "make world" needs this sort of things? I didn't see anything about this new-wave-of-user-friendly-bsd going on the list.. have I missed som

Upgrading from FreeBSD 5.3 to 6.2

2007-08-25 Thread Jose-Marcio Martins da Cruz
Ralph, I found Ralph Engelschall scripts to upgrade FreeBSD systems. http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-5x-6x.txt But there's a line saying : The following is a step-by-step procedure for upgrading a server from FreeBSD 5.[45]-STABLE to a FreeBSD 6.2-STABLE. Pro

Upgrading from FreeBSD 5.3 to 6.2

2007-08-25 Thread Jose-Marcio Martins da Cruz
I found Ralph Engelschall scripts to upgrade FreeBSD systems. http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-5x-6x.txt But there's a line saying : The following is a step-by-step procedure for upgrading a server from FreeBSD 5.[45]-STABLE to a FreeBSD 6.2-STABLE. Probably t

Re: How do I daemonize a process?

2007-07-23 Thread Jose-Marcio Martins da Cruz
hings like redirect stdout to /dev/null... -- --------------- Jose Marcio MARTINS DA CRUZ Ecole des Mines de Paris http://j-chkmail.ensmp.fr 60, bd Saint Michelhttp://www.ensmp.fr/~martins 75272 - PARI

Re: Configure error

2006-12-16 Thread Jose-Marcio Martins da Cruz
ader? Any help would be appreciated. Maybe ./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" or env CPPFLAGS="-I/usr/local/include" \ LDFLAGS="-L/usr/local/lib" ./configure -- -

Re: Changes from 5.2.1 to 5.3 (theads / signal handling)

2006-01-26 Thread Jose Marcio Martins da Cruz
Hello, Julian Elischer wrote: > Jose Marcio Martins da Cruz wrote: >>> also, does the child do an exec() after forking? >> >> No. The child gets out the father loop and calls another >> initialisation function. > > The Posix spec says that after a for

Re: Changes from 5.2.1 to 5.3 (theads / signal handling)

2006-01-25 Thread Jose Marcio Martins da Cruz
Julian Elischer wrote: Jose Marcio Martins da Cruz wrote: a new threading library. H. Here are my compile flags : CPPFLAGS : only some -I and -D flags CFLAGS : -D_THREAD_SAFE -pthread LDFLAGS : -lmilter -lkvm -lm -lpthread have you tried 6.0? Yes. It presents the same behaviour

Changes from 5.2.1 to 5.3 (theads / signal handling)

2006-01-25 Thread Jose Marcio Martins da Cruz
Hello, I have a problem with an application I wrote. It works fine under Solaris, Linux, and FreeBSD till release 5.2.1. Under FreeBSD 5.3 and newers I have problems. The application is constituted by two processes : a supervisor and modules. The supervisor forks and become a module when it sh

Re: res_nXXX function

2005-11-18 Thread Jose Marcio Martins da Cruz
cally. Nice. Since which version I can consider the resolver is thread-safe ? -- --------------- Jose Marcio MARTINS DA CRUZ Tel. :(33) 01.40.51.93.41 Ecole des Mines de Paris http://j-chkmail.ensmp.fr 60, bd Saint M

res_nXXX function

2005-11-17 Thread Jose Marcio Martins da Cruz
Hello, It seems that FreeBSD doesn't have reentrant versions of DNS query functions (res_nXXX, ...). What's the best and easiest way to be able to use these functions on a FreeBSD application ? Thanks for the replies Jose smime.p7s Description: S/MIME Cryptographic Signature

Re: Pointers about CPU load measuring

2004-04-05 Thread Jose Marcio Martins da Cruz
rgrav said: Jose Marcio Martins da Cruz <[EMAIL PROTECTED]> writes: Someone can send some pointers on how to measure global CPU load under FreeBSD from a C program ? I'm looking for values for idle/kernel/user, in a similar way as does top. Is there any pointer or doc ?. I'd like

Re: Pointers about CPU load measuring

2004-04-03 Thread Jose Marcio Martins da Cruz
> > In the last episode (Apr 02), Mark said: > > Dan Nelson wrote: > > >>> Someone can send some pointers on how to measure global CPU load > > >>> under FreeBSD from a C program ? I'm looking for values for > > >>> idle/kernel/user, in a similar way as does top. Is there any > > >>> pointer or do

Pointers about CPU load measuring

2004-04-02 Thread Jose Marcio Martins da Cruz
ose-Marcio -- ------- Jose Marcio MARTINS DA CRUZ Tel. :(33) 01.40.51.93.41 Ecole des Mines de Paris http://j-chkmail.ensmp.fr 60, bd Saint Michelhttp://www.ensmp.fr/~martins 75272 - PARIS CEDEX 06 mailto:[EMAIL