Postfix-Cyrus-Web-cyradm distro advice

Preston Lord plord at swt.ca
Tue Mar 8 23:59:52 EST 2005


 
Never mind ... I got it all running ... I will be writing a suse 9.2
tutorial .. will email list when done.

I had to do some tweaks that were not documented anywhere in the tutorials I
found. I had to focus on each of the services one at a time, testing each
one to fix each one ... 

thanks anyway

PL


-----Original Message-----
From: owner-info-cyrus at lists.andrew.cmu.edu
[mailto:owner-info-cyrus at lists.andrew.cmu.edu] On Behalf Of Preston Lord
Sent: Tuesday, March 08, 2005 10:33 AM
To: info-cyrus at lists.andrew.cmu.edu
Subject: Postfix-Cyrus-Web-cyradm distro advice

k, I got a little further ... let me pose this question to the experts ... 

If I had a Dual Xeon with 2GB Ram and was only using it for 

Postfix-Cyrus-Web-cyradm

What distro should I use?

I have suse 9.2 running all my other boxes...
I had installed all the suse 9.2 included packages for this roll out and was
very close to a working system ...

I would like to roll something out that I can rebuild if needed.

Any advice is "Greatly" appreciated.

Thanks

PL 

-----Original Message-----
From: Robert Scussel [mailto:rscuss at omniti.com]
Sent: Tuesday, March 08, 2005 10:11 AM
To: Preston Lord
Cc: info-cyrus at lists.andrew.cmu.edu
Subject: Re: Cyrus-IMAPD compile issues

Try something like this:

CPPFLAGS="-I/usr/local/bdb/include" \
LDFLAGS="-L/usr/local/bdb/lib -R/usr/local/bdb/lib -ldb" \ ./configure \
....

Also, I was having a similar problem with cyrus-sasl, even though the the
CPPFLAGS and LDFLAGS were being set right and I thought I was in bash, once
I actually ran under a bash shell it worked, and the sed worked fine as
well...

Also, make sure to make clean before trying again.

HTH, B

Preston Lord wrote:
> Hi List,
>  
> I have googled for hours and I find a great many people asking how to 
> fix this issue ... any help is greatly appreciated.
>  
> When doing a
>  
>  export CPPFLAGS="-I/usr/include/et"
> 
> ./configure \
> --with-sasl=/usr/local/lib \
> --with-perl \
> --with-auth=unix \
> --with-dbdir=/usr/local/bdb \
> --with-bdb-libdir=/usr/local/bdb/lib \ 
> --with-bdb-incdir=/usr/local/bdb/include \ 
> --with-openssl=/usr/local/ssl \ --without-ucdsnmp \
> 
>  
> 
> as suggested on
> http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/install
> .html
> 
> I get an error that  *Berkeley* *DB* *3*.*x* or later was not found. 
> 
> I have db installed and I also have the db-devel installed. The 
> Cyrus-Sasl compiles fine, and
> 
> seems to detect db just fine.
> 
> I did find this: 
> http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&
> searchterm=berkeley&msg=33650
> <http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus
> &searchterm=berkeley&msg=33650>
> 
> and after trying that I get this:
> 
>  
> 
> checking build system type... i686-pc-linux-gnu checking host system 
> type... i686-pc-linux-gnu checking for makedepend...
> /root/downloads/cyrus-imapd-2.2.8/tools/not-mkdep
> configure: WARNING: Makedepend is not installed on this system.  You
should compile and install the version from the makedepend subdirectory.
> checking for gcc... gcc
> checking for C compiler default output... a.out checking whether the C 
> compiler works... yes checking whether we are cross compiling... no 
> checking for suffix of executables...
> checking for suffix of object files... o checking whether we are using 
> the GNU C compiler... yes checking whether gcc accepts -g... yes 
> checking for gcc option to accept ANSI C... none needed checking for 
> ranlib... ranlib checking whether make sets $(MAKE)... yes checking 
> for a BSD-compatible install... /usr/bin/install -c checking how to 
> run the C preprocessor... gcc -E checking for egrep... grep -E 
> checking for AIX... no checking for strerror in -lcposix... no 
> checking for gawk... gawk checking for an ANSI C-conforming const...
> yes checking for long file names... yes checking for inline... inline 
> checking for __attribute__... yes checking if compiler supports 
> -fPIC... yes checking for runpath switch... -Wl,-rpath, checking for 
> ANSI C header files... yes checking for sys/types.h... yes checking 
> for sys/stat.h... yes checking for stdlib.h... yes checking for 
> string.h... yes checking for memory.h... yes checking for strings.h...
> yes checking for inttypes.h... yes checking for stdint.h... yes 
> checking for unistd.h... yes checking for unistd.h... (cached) yes 
> checking sys/select.h usability... yes checking sys/select.h 
> presence... yes checking for sys/select.h... yes checking sys/param.h 
> usability... yes checking sys/param.h presence... yes checking for 
> sys/param.h... yes checking stdarg.h usability... yes checking 
> stdarg.h presence... yes checking for stdarg.h... yes checking for 
> memmove... yes checking for strcasecmp... yes checking for 
> ftruncate... yes checking for strerror... yes checking for strlcat...
> no checking for strlcpy... no checking for dirent.h that defines 
> DIR... yes checking for library containing opendir... none required 
> checking for connect... yes checking for res_search... no checking for 
> res_search in -lresolv... yes checking for dn_expand... yes checking 
> for dns_lookup... no checking for getaddrinfo... yes checking for 
> gai_strerror... yes checking for getnameinfo... yes checking whether 
> you have ss_family in struct sockaddr_storage... yes checking whether 
> you have sa_len in struct sockaddr... no checking sys/time.h 
> usability... yes checking sys/time.h presence... yes checking for 
> sys/time.h... yes checking whether time.h and sys/time.h may both be 
> included... yes checking whether struct tm is in sys/time.h or 
> time.h... time.h checking for struct tm.tm_zone... yes checking for 
> vprintf... yes checking for _doprnt... no checking authorization 
> method... unix checking db.h usability... yes checking db.h 
> presence... yes checking for db.h... yes checking for db_create in 
> -ldb-4.2... yes checking for bison... bison -y checking for flex... no 
> checking for lex... no checking for yywrap in -lfl... no checking for 
> yywrap in -ll... no checking for main in -lfl... no checking for 
> library containing regcomp... none required checking rxposix.h 
> usability... no checking rxposix.h presence... no checking for 
> rxposix.h... no checking for strerror... (cached) yes checking 
> sys/resource.h usability... yes checking sys/resource.h presence...
> yes checking for sys/resource.h... yes checking for setrlimit... yes 
> checking for getrlimit... yes checking for daemon... yes checking for 
> setsid... yes checking for shutdown... yes checking for 
> setproctitle... no checking for setproctitle in -lutil... no checking 
> sys/pstat.h usability... no checking sys/pstat.h presence... no 
> checking for sys/pstat.h... no checking sys/sysnews.h usability... no 
> checking sys/sysnews.h presence... no checking for sys/sysnews.h... no 
> checking for PS_STRINGS... no checking for SCO... no checking for 
> setproctitle usability... yes checking nonblocking method... fcntl 
> checking timezone GMT offset method... tm checking for shared mmap...
> yes checking for fcntl... yes checking for fdatasync... yes checking 
> for sigvec... yes checking for openssl... /usr/local/ssl checking for 
> ZInitialize in -lzephyr... no checking for com_err in -lcom_err... no
> configure: WARNING: Parts of com_err distribuion were found, but not
compile_et.
> configure: WARNING: Will build com_err from included sources.
> checking for modern syslog... yes
> checking which syslog facility to use... LOG_LOCAL6 checking for 
> getdtablesize... yes checking to use old sieve service name... no 
> checking for dlopen... yes checking for crypt... no checking for crypt 
> in -lcrypt... yes checking gssapi.h usability... no checking gssapi.h 
> presence... no checking for gssapi.h... no checking gssapi/gssapi.h 
> usability... no checking gssapi/gssapi.h presence... no checking for 
> gssapi/gssapi.h... no
> configure: WARNING: Disabling GSSAPI - no include files found checking 
> GSSAPI... disabled checking sasl/sasl.h usability... yes checking 
> sasl/sasl.h presence... yes checking for sasl/sasl.h... yes checking 
> sasl/saslutil.h usability... yes checking sasl/saslutil.h presence...
> yes checking for sasl/saslutil.h... yes checking for prop_get in 
> -lsasl2... yes checking for sasl_checkapop in -lsasl2... yes checking 
> for perl... perl checking for MD5Init... no checking for MD5Init in 
> -lmd... no checking for request_init in -lwrap... no checking libwrap 
> support... no
> configure: creating ./config.status
> config.status: creating man/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating master/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating lib/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating imap/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating imtest/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating netnews/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating perl/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating sieve/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating et/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating timsieved/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating notifyd/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating perl/sieve/Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating perl/sieve/lib/Makefile
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> config.status: creating Makefile
> sed: file ./confstatI18039/subs-1.sed line 32: unterminated `s' 
> command
> sed: file ./confstatI18039/subs-3.sed line 24: unknown option to `s'
> config.status: creating config.h
> 
>  
> 
>  
> 
> What am I missing?
> 
>  
> 
> System is: Suse 9.2 - base install - installing only the requirements 
> of
> 
> http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/install
> .html
> 
>  
> 
> Thanks for any help.
> 
>  
> 
>  


--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ:
http://cyruswiki.andrew.cmu.edu List Archives/Info:
http://asg.web.cmu.edu/cyrus/mailing-list.html


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list