Problems Compiling cyrus-imapd-2.2.9 on Solaris 9

H. Scott Brown hs.brown at smius.com
Wed Jan 12 19:56:37 EST 2005


Thanks, List!

Installing the package from sun freeware did the trick, along with changing
a couple symbolic links.

Compiled and daemon is running!

Thanks again,

--H. Scott Brown

-----Original Message-----
From: owner-info-cyrus at lists.andrew.cmu.edu
[mailto:owner-info-cyrus at lists.andrew.cmu.edu] On Behalf Of Alex S Moore
Sent: Wednesday, January 12, 2005 10:41 AM
To: info-cyrus at lists.andrew.cmu.edu
Subject: Re: Problems Compiling cyrus-imapd-2.2.9 on Solaris 9

On Wed, 12 Jan 2005 09:47:19 -0800
"H. Scott Brown" <hs.brown at smius.com> wrote:

> make[1]: Entering directory
`/export/home/hs.brown/cyrus-imapd-2.2.9/perl'
> ### Making all in /export/home/hs.brown/cyrus-imapd-2.2.9/perl/imap
> Note (probably harmless): No library found for -lsasl2
> Note (probably harmless): No library found for -lssl
> Note (probably harmless): No library found for -lcrypto
> Writing Makefile for Cyrus::IMAP
> make[2]: Entering directory
> `/export/home/hs.brown/cyrus-imapd-2.2.9/perl/imap'
> cc -c -I../../lib -I/usr/local/lib/sasl2/include  -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -xO3 -xdepend   -DVERSION=\"1.00\"
> -DXS_VERSION=\"1.00\" -KPIC
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE
> -DPERL_POLLUTE IMAP.c
> /usr/ucb/cc:  language optional software package not installed
>
> Huh? I am using gcc, why would cc scream about anything? Is something
in the
> perl directory looking to use cc for something or??? I'm a little
stymied,
> but I need to get this up ASAP. Help much appreciated!

Sun's perl was built with Sun's compiler, so I suspect that is your
problem.  See `perl -V` around 'Linker and Libraries:'.  Do you have
/usr/ucb in your path?  If so, removing it may just give a different
error.  Unless you have a specific reason, you should not have /usr/ucb
in your path.

I would try exporting `cc=gcc` and see what happens.

Some time ago, I built a cyrus-imap package and it built just fine.  But
I did not test and complete the project.  I was using Sun's compiler.

Alex
---
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