Compiling Sendmail 8.14.3 with NEWDB on Solaris 10
Dear All,
I have compiled Sendmail 8.14.3 successfully on solaris 10. When i tried to re-compile to add NEWDB feature using the following portion of site.config.m4 file: APPENDDEF(`confINCDIRS', `-I/usr/include')dnl APPENDDEF(`confLIBDIRS',`-L/usr/lib/bdb')dnl APPENDDEF(`confENVDEF', `-DNEWDB')dnl THEN ./Build clean crle -u -l /usr/lib/bdb ; ./Build -c i get many sybtax errors: ------- begining of error section ----- gcc -O -I. -I../../sendmail -I../../include -I/usr/local/ssl/include -I/usr/local/include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DNEWDB -DSOLARIS=21000 -DNETINET6 -DSTARTTLS -DNOT_SENDMAIL -c smdb1.c smdb1.c:26: error: syntax error before "DB" smdb1.c:26: warning: no semicolon at end of struct or union smdb1.c:29: error: syntax error before '}' token smdb1.c:38: error: syntax error before "smdb_type_to_db1_type" . . *** Error code 1 make: Fatal error: Command failed for target `smdb1.o' Current working directory /usr/games/sendmail-8.14.3/obj.SunOS.5.10.sun4/libsmdb *** Error code 1 The following command caused the error: for x in libsm libsmutil libsmdb sendmail editmap mail.local mailstats makemap praliases rmail smrsh vacation; \ do \ (cd $x; echo Making all in:; pwd; \ /bin/sh ./Build -c); \ done make: Fatal error: Command failed for target `all' ------ end of error section ------- ANY suggestions Thank You Youssif |
Quote:
|
Dear TB0ne,
it is only after posting on Linux that I did relise that i should post on Solaris Forum and I did after that.. anyway, i downloaded sendmail from sendmail.org and i did download few libraries and gcc from sunfreeware site already including: openssl-0.9.8k, libiconv, libintl, libxml2, zlib, gcc-3.4.6 are there any more dependecies? thanks Youssif |
Quote:
|
Dear All,,
i got it.. all i needed was Berkeley 4.7 database from www.oracle.com.. Actually i didn;t think i would need it earlier cause Sendmail 8.13.8 was already built on solaris 10 with NEWDB feature;.. before instaling the database, I had to make a link of cc to gcc.. and before recompilation of sendmail 8.14.3 with NEWDB, i had to take a copy of libdb-4.7.so to /usr/lib/ regards Youssif |
All times are GMT -5. The time now is 08:39 PM. |