[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Rép. : Re: problem to download datas in database berkele y 4.4



No. You must run configure then modify include portable.h, then make
depend && make. If you run configure after modifying portable.h it will
rewrite the original values (and so re#define REPLACE_BROKEN_YIELD, and
you don't want this).
Eudes LEDUCQ disse:
> Hi,
>
> I have changed the line "#define REPLACE_BROKEN_YIELD 1 by "#define
> REPLACE_BROKEN_YIELD 0
> then compile, make depend and make ands install but it's the same ....
>
> openLdap2.3.17 is alway more slower ...
>
>
>>>> Tony Earnshaw <tonni@barlaeus.nl> 01/17 2:50  >>>
> Eudes LEDUCQ wrote:
>
>> Yes I' m using linux RedHat entreprise 3.
>>
>> but, what I must do ?
>
> Well, what I did (thanks for the tip, Quanah :) was to do 'configure'
> on
> the OL source code, note the output, find include/portability.h, vi it,
>
> look for "BROKEN_YIELD", find "#define REPLACE_BROKEN_YIELD 1" and
> change it to 0. Then make depend, make.
>
> Dunno if that's what Quanah meant, I presume so.
>
> Me RHAS4, Mandriva's Buchan's OL 2.3 spec, so actually I put an extra
> 'sed -i' line into the spec file, just after the end of the
> %configure2_5x section.
>
> --Tonnio
>
>>>>> Quanah Gibson-Mount <quanah@stanford.edu> 01/16 10:37  >>>
>>
>>
>> --On Monday, January 16, 2006 9:18 AM +0100 Eudes LEDUCQ
>> <LEDUCQ@hec.fr>
>> wrote:
>>
>>> Hi,
>>>
>>> I have solved my problem. I have reinstalled Berkeley DB and then
>>> openLdap2.3.17 like the first time , but now it's work, sorry for
>> this
>>> post.
>>>
>>> I have noted that openLdap2.3.17 is more slower than openLdap2.3.13
>>> (last version I have tested):
>>
>> At a guess you are using Linux, and portable.h has the BROKEN_YIELD
> bit
>>
>> defined.  That will impact performance negatively.
>>
>> --Quanah
>>
>>
>> --
>> Quanah Gibson-Mount
>> Principal Software Developer
>> ITSS/Shared Services
>> Stanford University
>> GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
>>
>>
>>
>
>
> --
> Tony Earnshaw
> Email: tonni@barlaeus.nl
>
>
>




Ing. Luca Scamoni
Responsabile Ricerca e Sviluppo  

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-------------------------------------
Office:     +39.0382.573859 (137)
Mobile:     +39.347.1014425
Email:      luca.scamoni@sys-net.it
-------------------------------------