Compiling Sendmail 8.14.3 with NEWDB on Solaris 10
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
crle -u -l /usr/lib/bdb ;
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; \
(cd $x; echo Making all in:; pwd; \
/bin/sh ./Build -c); \
make: Fatal error: Command failed for target `all'
------ end of error section -------
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:
This would be better posted in the Solaris forum, rather than Linux newbie. Where did you get the sendmail source? There are Solaris specific source packages out there, my first suggestion would be to download one of them, and build from there. Check www.sunfreeware.com.