Hello everyone.<br><br>I want to apply this patch: <a href="http://www.pramberger.at/peter/software/patches/#cyrus">http://www.pramberger.at/peter/software/patches/#cyrus</a> (<a href="ftp://ftp.pramberger.at/software/patches/cyrus-imapd-2.2.12-md5hash.patch">cyrus-imapd-2.2.12-md5hash.patch</a>) to increase the directory levels of mailboxes. But I've had many problems with compiling Cyrus. My system is: Debian Lenny, 2.6.26-2-amd64 x86_64. The last one I can't resolve. The following is the end of make:<br>
<br>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>...<br>### Making all in /root/src/cyrus/cyrus-imapd-2.2.12/perl<br>make[1]: Entering directory `/root/src/cyrus/cyrus-imapd-2.2.12/perl'<br>### Making all in /root/src/cyrus/cyrus-imapd-2.2.12/perl/imap<br>
Writing Makefile for Cyrus::IMAP<br>make[2]: Entering directory `/root/src/cyrus/cyrus-imapd-2.2.12/perl/imap'<br>cc -c -I../../lib -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC "-I/usr/lib/perl/5.10/CORE" -DPERL_POLLUTE IMAP.c<br>
Running Mkbootstrap for Cyrus::IMAP ()<br>chmod 644 IMAP.bs<br>rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so<br>cc -shared -O2 -g -L/usr/local/lib IMAP.o -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a ../../lib/libcyrus_min.a \<br>
-ldb-4 -lsasl2 -lssl -lcrypto \<br> <br>/usr/bin/ld: ../../lib/libcyrus.a(imclient.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC<br>
../../lib/libcyrus.a: could not read symbols: Bad value<br>collect2: ld returned 1 exit status<br>make[2]: *** [blib/arch/auto/Cyrus/IMAP/IMAP.so] Error 1<br>make[2]: Leaving directory `/root/src/cyrus/cyrus-imapd-2.2.12/perl/imap'<br>
make[1]: *** [all] Error 1<br>make[1]: Leaving directory `/root/src/cyrus/cyrus-imapd-2.2.12/perl'<br>make: *** [all] Error 1<br>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br><br>It tells about adding -fPIC flag, but I've had no success with adding it to Makefiles. <br>
<br>I should mention the number of my test users are more than that be handled by fulldirhash parameter. With this I will have several thousands of mailboxes at one [A-Z] directory. <br><br>Thanks for any suggestions.<br>