[FUGSPBR] Cyrus-Imapd

Carlos Augusto Silva carlos em tvcultura.com.br
Qua Maio 29 12:11:57 BRT 2002


Pessoal,
Acabei encontrando a resposta para meu problema. Talvez ajude alguém:
Obrigado assim mesmo ;)
Carlos
----------------------------------------------------------------------------
---
What OS are you running? I am running FreeBSD, and it doesn't support
O_DSYNC. It seems that this flag ensures that writes to this fd ensure
filesystem metadata is written out to disk with every write.


I added a #define O_DSYNC O_FSYNC to config.h. I don't think this will hurt
anything but perhaps performance (if it is in fact necessary).


I have seen references that O_FSYNC may even be a no-op on FreeBSD.



----- Original Message -----
From: "Carlos Augusto Silva" <carlos em tvcultura.com.br>
To: <fugspbr em fugspbr.org>
Sent: Wednesday, May 29, 2002 11:49 AM
Subject: [FUGSPBR] Cyrus-Imapd


> Olá Pessoal !!
> É o seguinte,
> Estou instalando o cyrus-imapd aqui num servidor.
> Minha sintaxe do ./configure é:
>
./configure --prefix=/usr/local/imapd --bindir=/usr/local/bin --sbindir=/usr
>
/local/sbin --libexecdir=/usr/local/libexec --datadir=/usr/local/share --lib
>
dir=/usr/local/lib --includedir=/usr/local/include --oldincludedir=/usr/incl
>
ude  --with-sasl=/usr/local --with-perl=/usr --with-cyrus-user=cyrus --with-
> cyrus-group=mail --with-cyrus-prefix=/usr/local/bin
>
> Só que ele fala de uma variável não declarada, mas não consegui achar nada
> sobre isso. O erro é:
>
>
gcc -c -I..  -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I. -
> I. -Wall -g -O2  cyrusdb_skiplist.c
> cyrusdb_skiplist.c: In function `getsyncfd':
> cyrusdb_skiplist.c:190: `O_DSYNC' undeclared (first use in this function)
> cyrusdb_skiplist.c:190: (Each undeclared identifier is reported only once
> cyrusdb_skiplist.c:190: for each function it appears in.)
> cyrusdb_skiplist.c: In function `dump':
> cyrusdb_skiplist.c:1678: warning: int format, long int arg (arg 2)
> cyrusdb_skiplist.c:1678: warning: int format, long int arg (arg 3)
> cyrusdb_skiplist.c:1681: warning: unsigned int format, u_long arg (arg 2)
> cyrusdb_skiplist.c:1687: warning: unsigned int format, u_long arg (arg 2)
> *** Error code 1
>
> Stop in /usr/local/cyrus/cyrus-imapd-2.1.4/lib.
> *** Error code 1
>
> Stop in /usr/local/cyrus/cyrus-imapd-2.1.4.
>
>
> Qualquer ajuda será bem vinda :)
> Obrigado desde já,
> Carlos
>
> ______________________________________________
> http://www2.fugspbr.org/mailman/listinfo/fugspbr
>

______________________________________________
http://www2.fugspbr.org/mailman/listinfo/fugspbr



Mais detalhes sobre a lista de discussão freebsd