CC = cc on solaris 8, perl/imap/Makefile, cyrus-imap 2.1.9

Andrew Diederich andrew at NETdelivery.com
Tue Sep 10 19:33:38 EDT 2002


Folks,

I'm putting together a postfix/cyrus/openldap pop-toaster.  I did this a
couple years ago, but all the bits have had major revisions since then.

I was able to build sasl 2.1.7 successfully yesterday, as a point of
refence.

The problem I'm having is the Makefile in cyrus-imapd-2.1.9/perl/imap keeps
getting made incorrectly.  On line 34 it throws in "CC = cc", and on lines
39 and 197 it throws in "LD = cc".

I'm using gcc 3.2 from sunfreeware.com, and the ./configure script set all
of the other CC = gcc properly.  I tried setting those three lines manually,
all to gcc, but restarting the make failed, and doing "make clean;make"
re-configures the Makefile.

As side notes, LD is not set anywhere else I could find, and in this one
section it can't find the sasl2 library.

I've put the last few lines of make output below, if that's helpful for
anyone.

Is perl mandatory, or just used if I need the Cyrus::IMAP module?  (I don't
plan on using it.)

Otherwise, I'd like a workaround so I can get this thing going.  I suppose I
could just link cc to gcc, and then it wouldn't fail . . .

Thanks in advance.

(more output than you probably need...)

### Making all in /var/src/cyrus-imapd-2.1.9/perl
(cd imap; \
 OPENSSL_LIB="-L/usr/local/ssl/lib" OPENSSL_INC="-I/usr/local/ssl/include" \
 SASL_LIB="" SASL_INC="" CC="gcc" \
   perl Makefile.PL PREFIX=/usr/local)
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lsasl2
Writing Makefile for Cyrus::IMAP
### Making all in /var/src/cyrus-imapd-2.1.9/perl/imap
mkdir blib
mkdir blib/lib
mkdir blib/lib/Cyrus
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Cyrus
mkdir blib/arch/auto/Cyrus/IMAP
mkdir blib/lib/auto
mkdir blib/lib/auto/Cyrus
mkdir blib/lib/auto/Cyrus/IMAP
mkdir blib/man1
mkdir blib/man3
cp IMAP/Shell.pm blib/lib/Cyrus/IMAP/Shell.pm
cp IMAP.pm blib/lib/Cyrus/IMAP.pm
cp IMAP/IMSP.pm blib/lib/Cyrus/IMAP/IMSP.pm
cp IMAP/Admin.pm blib/lib/Cyrus/IMAP/Admin.pm
/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503
/usr/perl5/5.00503/ExtUtils/xsubpp  -typemap
/usr/perl5/5.00503/ExtUtils/typemap -typemap typemap IMAP.xs >xstmp.c && mv
xstmp.c IMAP.c
cc -c -I../../lib  -I/usr/local/ssl/include  -xO3 -xdepend
-DVERSION=\"1.00\"  -DXS_VERSION=\"1.00\" -KPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE -DPERL_POLLUTE IMAP.c
sh: cc: not found

--
Andrew Diederich




More information about the Info-cyrus mailing list