Your problem is that 'cc' is not found, if you read from here. > cc -c -I../../lib -I../.. -I../../et > -I/opt/tools/cyrus-sasl/include -I/opt/tools/openssl/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 > -xspace -xildoff > -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -KPIC > "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DPERL_POLLUTE > IMAP.c sh: cc: not found it tells you that 'cc' not found, and from reading here, > /usr/sfw/bin/gcc -c -I.. -I./../lib -I../et -I/opt/tools/bdb/include Note, that's gcc, not cc. However, it's clear that your using Forte Suite compiler arguments, and yet you run gcc. You're problem is two fold, one is path, two is that perl was not built with gcc, but cc. You may need to rebuild perl with gcc, so that it's in line with your 'gcc' in your system. Otherwise you can do some dirty hacking and ln -sf, and pray it all works. G'luck On Mon, 24 Jul 2006 19:17:52 +0200 Pavel Stratil <pavel.stratil-jun@xxxxxxxx> wrote: > Hi all, > > I still have one problem when compiling cyrus with perl. For some > reason I don't quite get, the perl part of the compilation believes > that I am using sun's compiler but I'm using the GNU compiler. The > problem seems to be only in the perl. I tried to edit the > perl/imap/makefile with this: > > old: > CCCDLFLAGS = -KPIC > CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 > -D_TS_ERRNO OPTIMIZE = -xO3 -xspace -xildoff > > new: > CCCDLFLAGS = -fPIC > CCFLAGS = -mcpu=ultrasparc -Wall -pipe -fomit-frame-pointer > OPTIMIZE = -O3 > > but didnt succeed. Look at the compiler flags when working on imtest > > ### Making all in /root/system/install/cyrus-imapd-2.3.7/imtest > /usr/sfw/bin/gcc -c -I.. -I./../lib -I../et -I/opt/tools/bdb/include > -I/opt/tools/openssl/include -I/opt/tools/cyrus-sasl/include > -DHAVE_CONFIG_H -mcpu=ultrasparc -O3 -Wall -pipe -fomit-frame-pointer > imtest.c > imtest.c: In function `main': > imtest.c:2482: warning: int format, pid_t arg (arg 3) > imtest.c:2608: warning: dereferencing type-punned pointer will break > strict-aliasing rules > /usr/sfw/bin/gcc -L/opt/tools/openssl/lib -R/opt/tools/openssl/lib > -L/opt/tools/bdb/lib -R/opt/tools/bdb/lib -lnsl -lsocket -lresolv > -lmalloc -o imtest imtest.o ../lib/libcyrus.a ../lib/libcyrus_min.a > -L/opt/tools/cyrus-sasl/lib -R/opt/tools/cyrus-sasl/lib -lsasl2 > -lgss -lresolv -lresolv -lresolv -L/opt/tools/bdb/lib > -R/opt/tools/bdb/lib -ldb-4.4 -lssl -lcrypto -lrt > > in contrast to > > ### Making all in /root/system/install/cyrus-imapd-2.3.7/perl > ### Making all in /root/system/install/cyrus-imapd-2.3.7/perl/imap > Checking if your kit is complete... > Looks good > Writing Makefile for Cyrus::IMAP > cp IMAP/Admin.pm blib/lib/Cyrus/IMAP/Admin.pm > cp IMAP.pm blib/lib/Cyrus/IMAP.pm > cp IMAP/Shell.pm blib/lib/Cyrus/IMAP/Shell.pm > cp IMAP/IMSP.pm blib/lib/Cyrus/IMAP/IMSP.pm > /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap > /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap IMAP.xs > > IMAP.xsc && mv IMAP.xsc IMAP.c > cc -c -I../../lib -I../.. -I../../et -I/opt/tools/cyrus-sasl/include > -I/opt/tools/openssl/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff > -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -KPIC > "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DPERL_POLLUTE > IMAP.c sh: cc: not found > *** Error code 1 > make: Fatal error: Command failed for target `IMAP.o' > Current working > directory /root/system/install/cyrus-imapd-2.3.7/perl/imap *** Error > code 1 The following command caused the error: > for d in imap sieve; \ > do \ > (cd $d; echo "### Making" all "in" `pwd`; \ > if [ -f Makefile.PL ]; then \ > LIB_RT="-lrt" \ > BDB_LIB="-L/opt/tools/bdb/lib > -R/opt/tools/bdb/lib -ldb-4.4" BDB_INC="-I/opt/tools/bdb/include" \ > OPENSSL_LIB="-L/opt/tools/openssl/lib > -L/opt/tools/openssl/lib -R/opt/tools/openssl/lib" > OPENSSL_INC="-I/opt/tools/openssl/include" \ > SASL_LIB="-L/opt/tools/cyrus-sasl/lib > -R/opt/tools/cyrus-sasl/lib -lsasl2" > SASL_INC="-I/opt/tools/cyrus-sasl/include" CC="/usr/sfw/bin/gcc" \ > perl Makefile.PL > PREFIX=/opt/services/cyrus-imapd; \ fi; \ > make DESTDIR= all) || exit 1; \ > done > make: Fatal error: Command failed for target `all' > Current working directory /root/system/install/cyrus-imapd-2.3.7/perl > *** Error code 1 > The following command caused the error: > for d in man et lib sieve master imap imtest perl timsieved > notifyd; \ do \ > (cd $d; echo "### Making" all "in" `pwd`; \ > make DESTDIR= all) || exit 1; \ > done > make: Fatal error: Command failed for target `all' > > > Can anyone help please? ... was using > gmake depend > make all CFLAGS=-O > to build that.. thanks in advance, > > Pavel > > > !DSPAM:44c5a2b2104773283414125! -- "What does one want when one is engaged in the sexual act? That everything around you give you its utter attention Think only of you, care only for you... Every man wants to be a tyrant when he fornicates" ---- 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