[Dovecot] Compiling Error with Dovecot 1.0.7 and Sieve 1.0.4

Jay Welch jayw at interoceansystems.com
Fri Apr 15 20:22:22 EEST 2011


So through trial and error and researching I have figured out why I am 
getting this compiling error

Basically, I originally installed Dovecot through yum using Centos 5.5 
that installed the libraries and bin files in different directories then 
the source files would.

Yum Installation: /usr/libexec/dovecot
Source Files: /usr/local/libexec/dovecot

So this error that I am getting....."gcc: @CFLAGS@: No such file or 
directory"

How would I set up the path so when I do ./configure with Sieve....it 
points to the correct location of the library and bin files?

Any help is appreciated. I really need to fix this.

Thanks


On 4/11/2011 11:31 AM, Jay Welch wrote:
> I am afraid to try a new version at the moment because the mail system 
> is in production and I don't want to break it.
>
> If I did upgrade to a newer version would the current configuration 
> files be written over and would I have to do everything from scratch 
> again?
>
> On 4/9/2011 2:07 PM, Stephan Bosch wrote:
>> Op 8-4-2011 20:07, Jay Welch schreef:
>>> Hi,
>>>
>>> I am having compiling issues with Sieve and I am not sure what the 
>>> error is stating.
>>>
>>> [root at iosmail dovecot-sieve-1.0.4]# make
>>> make  all-recursive
>>> make[1]: Entering directory `/home/jayw/Desktop/dovecot-sieve-1.0.4'
>>> Making all in src
>>> make[2]: Entering directory 
>>> `/home/jayw/Desktop/dovecot-sieve-1.0.4/src'
>>> Making all in libsieve
>>> make[3]: Entering directory 
>>> `/home/jayw/Desktop/dovecot-sieve-1.0.4/src/libsieve'
>>> /bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
>>> -I. -I../..  -I/usr/src/dovecot/dovecot-1.0.7 
>>> -I/usr/src/dovecot/dovecot-1.0.7/src/lib -I../../src   @CFLAGS@ -MT 
>>> addr.lo -MD -MP -MF .deps/addr.Tpo -c -o addr.lo addr.c
>>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. 
>>> -I/usr/src/dovecot/dovecot-1.0.7 
>>> -I/usr/src/dovecot/dovecot-1.0.7/src/lib -I../../src @CFLAGS@ -MT 
>>> addr.lo -MD -MP -MF .deps/addr.Tpo -c addr.c  -fPIC -DPIC -o 
>>> .libs/addr.o
>>> gcc: @CFLAGS@: No such file or directory
>>> make[3]: *** [addr.lo] Error 1
>>> make[3]: Leaving directory 
>>> `/home/jayw/Desktop/dovecot-sieve-1.0.4/src/libsieve'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/home/jayw/Desktop/dovecot-sieve-1.0.4/src'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/home/jayw/Desktop/dovecot-sieve-1.0.4'
>>> make: *** [all] Error 2
>>>
>>> Also, I did not originally have the source files and I had to 
>>> download them for *dovecot-config*. Not sure if that makes a 
>>> difference or not.
>>
>> Why are you compiling these ancient relics? We're at Dovecot v2.0 
>> these days. :)
>>
>> Also, I don't see much to go on here. Apparently, @CFLAGS@ is not 
>> properly substituted, but I cannot tell you why.
>>
>> My advice: try a (much) newer version.
>>
>> Regards,
>>
>> Stephan.
>>
>>
>




More information about the dovecot mailing list