Compiling cyrus imapd under linux

Compiling cyrus imapd under linux

Post by John Beard » Mon, 09 May 2005 08:22:13


I'm trying to set up imapd under Mandrake 8 with a 2.4.8 kernel.


I've made cyrus-sasl-2.1.20 with

make

and

make install

though this doesn't seem to have put libsasl anywhere outside the tree
in which it was built.


When I try to run ./configure in the directory in which I'm building
cyrus-imapd-2.0.17 I get the message

configure: error: Cannot continue without libsasl


What do I need to do with the libsasl I have built to make it available
to imapd ?


Thanks, J/.
--
John Beardmore
 
 
 

Compiling cyrus imapd under linux

Post by John Beard » Sat, 14 May 2005 05:36:06

In message < XXXX@XXXXX.COM >, John Beardmore
< XXXX@XXXXX.COM > writes


Any clues anybody please ?


Cheers, J/.
--
John Beardmore

 
 
 

Compiling cyrus imapd under linux

Post by Michael Ho » Sat, 14 May 2005 14:20:26

Hi John,




I assume you've executed make install as root? Have you searched for the
library? I'm not sure about the exact name, but what does
# find / -name libsasl*
say?


IIRC (some years ago under Redhat) you've to specify where to find the libs.
Take a look at the help of the configure-script:
$ ./configure --help

It could be enough to specify the PREFIX-parameter:
$ ./configue --prefix=/usr/ or --prefix=/usr/lib

I repeat, I'm not sure about the exact syntax. At RedHat it needed several
calls and tryouts of configure to make it run correctly. With Debian an
# apt-get install cyrus21
would be enough.... ;-)

HTH, Michael.
 
 
 

Compiling cyrus imapd under linux

Post by John Beard » Sun, 15 May 2005 06:09:12

In message < XXXX@XXXXX.COM >, Michael
Holtermann < XXXX@XXXXX.COM > writes



Yes.



How should I do this ? Is this some action beyond knowing where it was
built and copying it elsewhere ?



libsasl



Apart from the /home/downloads/cyrus-sasl-2.1.20 tree it's built in,
I've put it in

/lib
/usr/lib
/usr/local/lib
/var/lib



OK, the most plausible option looks to me like

--with-sasl=DIR Compile with libsasl in <DIR>

but that doesn't work when for example I try

./configure --with-sasl=/usr/lib



That seems to be

--prefix=PREFIX install architecture-independent files in
PREFIX

Is that appropriate ? Trying it, it doesn't work anyway.



Yes. Our more recent machines run debian.

Many thanks !


Cheers J/.
--
John Beardmore
 
 
 

Compiling cyrus imapd under linux

Post by Eric Hamel » Sun, 15 May 2005 06:33:38


I'm assuming now, that you've run 'configure' in the cyrus-sasl source
tree before doing 'make; make install' ?

What did the output from the 'make' and 'make install' tell you? Any
errors/weirdness?
You're not providing helpful clues here...

Eric
 
 
 

Compiling cyrus imapd under linux

Post by John Beard » Sun, 15 May 2005 08:10:40

In message <X29he.3729$184.535@amstwist00>, Eric Hameleers
< XXXX@XXXXX.COM > writes



I did yes.



None that I recognise. I've just done a 'make clean' and still don't
notice anything strange.



:) If I'd thought something odd I'd have followed it up, or at least
mentioned it. To my naive view, it all seemed to be going just fine
until I couldn't get the imapd to compile.


Thanks, J/.
--
John Beardmore