packages for solaris 10 x86

Frank Pittel fwp at deepthought.com
Fri Oct 8 22:09:46 EDT 2010


On Wed, Oct 06, 2010 at 11:12:30AM +0300, Leena Heino wrote:
> On Wed, 6 Oct 2010, Patrick Goetz wrote:
> 
> > On 10/5/2010 7:01 PM, Frank Pittel wrote:
> >> In file included from auth_getpwent.c:53:
> >> /usr/include/crypt.h:36: error: syntax error before '(' token
> >> /usr/include/crypt.h:36: error: syntax error before "const"
> >
> > Did you check the /usr/include/crypt.h file to see if there is actually
> > a syntax error on this line?
> 
> You might want to add --without-des to configure command.
> 
> Cyrus SASL still includes an ancient version of libtool and with 
> Solaris you have to use a newer version in order to build libraries and 
> plugins that have correct rpaths. Try using libtool version 1.4.3.

That did the trick. I've got sasl compiled and installed. I have no idea of whether or
not it's going to work but it compiled. :-)

Now I'm trying to compile cyrus-imapd and am running into the following error:

cyrusMasterMIB.c
gcc -L/usr/local/BerkeleyDB.4.7/lib -R/usr/local/BerkeleyDB.4.7/lib -o master master.o
masterconf.o cyrusMasterMIB.o ../lib/lock_fcntl.o ../lib/libcyrus_min.a -R../lib
-L/usr/sfw/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -ldl -lkvm -lz
-lpkcs11 -lkstat -lelf -lm -ldl -lnsl -lsocket -ladm -lgss -lresolv -lresolv -lssl
-lcrypto   -lresolv  -lresolv -lsocket -lnsl  -L/usr/local/BerkeleyDB.4.7/lib
-R/usr/local/BerkeleyDB.4.7/lib -ldb-4.7 -lz -lmd ../com_err/et/libcom_err.a 
Undefined                       first referenced
 symbol                             in file
netsnmp_enable_subagent             master.o
ld: fatal: Symbol referencing errors. No output written to master
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `master'
Current working directory /src/cyrus-imapd-2.3.16/master
*** Error code 1
The following command caused the error:
for d in  man com_err/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'


Sigh!! there has to be an easier way. Anyone have an idea of how to get past this? I'm
not a programmer.

Frank


More information about the Info-cyrus mailing list