cyrus compilation problem
Alessandro Oliveira
alessandro.o at nunoferreira.com.br
Thu Nov 21 14:07:46 EST 2002
I think you should try, Simon Matter's RPMS, they are working great for
me, I'm using rh73 here, but I think they should work on mdk also.
Good Luck,
Fernando Garcia escreveu:
>hi all,
>
>please, I'm trying to install cyrus and having the error:
>---<snip>---
>cyrusdb_db3.c: In function `mycommit':
>cyrusdb_db3.c:860: `DB_TXN' undeclared (first use in this function)
>cyrusdb_db3.c:860: `t' undeclared (first use in this function)
>cyrusdb_db3.c:860: parse error before ')' token
>cyrusdb_db3.c:877: warning: format argument is not a pointer (arg 3)
>cyrusdb_db3.c: In function `commit_nosync':
>cyrusdb_db3.c:892: `DB_TXN_NOSYNC' undeclared (first use in this function)
>cyrusdb_db3.c: In function `abort_txn':
>cyrusdb_db3.c:899: `DB_TXN' undeclared (first use in this function)
>cyrusdb_db3.c:899: `t' undeclared (first use in this function)
>cyrusdb_db3.c:899: parse error before ')' token
>cyrusdb_db3.c:909: warning: format argument is not a pointer (arg 3)
>make[1]: ** [cyrusdb_db3.o] Erro 1
>make[1]: Saindo do diretório `/home/fernando/cyrus/cyrus-imapd-2.1.10/lib'
>make: ** [all] Erro 1
>---<snip>---
>
>I'm using cyrus-imap-2.1.10, cyrus-sasl-2.1.9 and db-4.1.24 on a clean
>mandrake 9 installation.
>I saw in config.log from cyrus-imap directory this error:
>
>---<snip>---
>configure:1214: gcc -o conftest -g -O2 -I/usr/include/et
> conftest.c -lcposix 1>&5
>/usr/bin/ld: cannot find -lcposix
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 1203 "configure"
>#include "confdefs.h"
>/* Override any gcc2 internal prototype to avoid an error. */
>/* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
>char strerror();
>---<snip>---
>configure:1458: gcc -o conftest -g -O2 -I/usr/include/et -R /usr/lib
>conftest.c 1>&5
>gcc: unrecognized option `-R'
>/usr/lib: file not recognized: Is a directory
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 1451 "configure"
>#include "confdefs.h"
>---<snip>---
>configure:1671: gcc -o
>conftest -Wall -g -O2 -I/usr/include/et -L/usr/local/lib -Wl,-rpath,/usr/loc
>al/lib conftest.c -ldir 1>&5
>/usr/bin/ld: cannot find -ldir
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 1660 "configure"
>#include "confdefs.h"
>---<snip>---
>configure:2003: gcc -o
>conftest -Wall -g -O2 -I/usr/include/et -L/usr/local/lib -Wl,-rpath,/usr/loc
>al/lib conftest.c -ldb-4.1 1>&5
>/usr/bin/ld: cannot find -ldb-4.1
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 1992 "configure"
>#include "confdefs.h"
>---<snip>---
>configure:2887: gcc -E -I/usr/include/et conftest.c >/dev/null
>2>conftest.out
>configure:2883:25: sys/sysnews.h: No such file or directory
>configure: failed program was:
>#line 2882 "configure"
>#include "confdefs.h"
>....
>
>
>Please, give me any direction. It might be missing something ?
>I already have db2-2.4.14-6mdk, libdb3.3-3.3.11-11mdk, db1-1.85-8mdk
>installed. It might have some conflict ?
>
>Best Regards,
>Fernando
>
>
>
>
--
Best Regards,
Alessandro Oliveira
Nuno Ferreira Cargas Internacionais Ltda.
Phone: +55-11-3241-2000
Fax : +55-11-3242-9891
-------------------------------------------------------------------
It's trivial to make fun of Microsoft products, but it takes a real
man to make them work, and a god to make them do anything useful.
More information about the Info-cyrus
mailing list