Error compiling pigeonhole managesieve 0.4.24
Aki Tuomi
aki.tuomi at dovecot.fi
Fri Aug 10 11:19:48 EEST 2018
Yep
On 10.08.2018 11:06, davide marchi wrote:
> Thanks Aki for your quick response!! I'm sorry, so i have to compile
> and install dovecot version 2.2.36 before compiling and install
> pigeonhole 0.4.24? If so sorry for my noob approach
>
> Il giorno ven 10 ago 2018 alle ore 09:55 Aki Tuomi
> <aki.tuomi at dovecot.fi <mailto:aki.tuomi at dovecot.fi>> ha scritto:
>
> Did you remember to install core before compiling pigeonhole?
>
> Aki
>
>
> On 10.08.2018 10:45, davide marchi wrote:
>> Hi i have a problem compiling as mantioned on object of this
>> mail: i'm changing dovecot on my debian 6 from version 2.2.32 to
>> 2.2.36 and pigeonhole from 0.4.20 to 0.4.24
>> this is output of dovecot -n for listing versions installed
>>
>> dovecot -n
>> # 2.2.32 (dfbe293d4): /usr/local/etc/dovecot/dovecot.conf
>> # Pigeonhole version 0.4.20 (7cd71ba)
>> # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.10
>> i have downloaded packages from site and compiling from source
>>
>> so far so good
>> for pigeonhole this is the configure command that i always use
>>
>> ./configure CFLAGS=-O3
>> but when i run make this is the error that i came accross:
>>
>> /bin/bash ../../libtool --tag=CC --mode=link gcc -std=gnu99
>> -O3 -Wall -W -Wmissing-prototypes -Wmissing-declarations
>> -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
>> -fno-builtin-strftime -Wstrict-aliasing=2 -I../..
>> -export-dynamic -o sievec sievec.o
>> ../../src/lib-sieve/libdovecot-sieve.la
>> <http://libdovecot-sieve.la>
>> ../../src/lib-sieve-tool/libsieve-tool.la
>> <http://libsieve-tool.la> -ldovecot-storage -ldovecot-lda
>> -L/usr/local/lib/dovecot -ldovecot -lrt
>> libtool: link: gcc -std=gnu99 -O3 -Wall -W -Wmissing-prototypes
>> -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
>> -Wformat=2 -Wbad-function-cast -fno-builtin-strftime
>> -Wstrict-aliasing=2 -I../.. -o .libs/sievec sievec.o
>> -Wl,--export-dynamic
>> ../../src/lib-sieve/.libs/libdovecot-sieve.so
>> ../../src/lib-sieve-tool/.libs/libsieve-tool.a
>> /usr/local/lib/dovecot/libdovecot-storage.so
>> /usr/local/lib/dovecot/libdovecot-lda.so -L/usr/local/lib/dovecot
>> /usr/local/lib/dovecot/libdovecot.so -lrt -Wl,-rpath
>> -Wl,/usr/local/lib/dovecot
>> ../../src/lib-sieve/.libs/libdovecot-sieve.so: undefined
>> reference to `str_sanitize_utf8'
>> collect2: ld returned 1 exit status
>> make[3]: *** [sievec] Error 1
>> make[3]: Leaving directory
>> `/download/dovecot-2.2-pigeonhole-0.4.24/src/sieve-tools'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory
>> `/download/dovecot-2.2-pigeonhole-0.4.24/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/download/dovecot-2.2-pigeonhole-0.4.24'
>> make: *** [all] Error 2
>>
>> What's wrong ? Thanks in advance on helping me
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180810/8dfe3eb8/attachment.html>
More information about the dovecot
mailing list