can't build sendmail v8.13.4 with starttls support on slack 10.1
Hi,
I have a problem building sendmail8.13.4 with starttls support on by slack 10.1 box. In devtools/Site/ directory I created site.config.m4 file. It looks as follows: APPENDDEF(`confENVDEF',`-DSTARTTLS') APPENDDEF(`confLIBS', `-lssl -lcrypto') APPENDDEF(`confLIBDIRS', `-L/usr/local/ssl/lib -R/usr/local/ssl/lib') APPENDDEF(`confINCDIRS', `-I/usr/local/ssl/include') Then I tried to run ./Build -c The following errors occur: cc: unrecognized option `-R/usr/local/ssl/lib' /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: c annot find -lphclient collect2: ld returned 1 exit status make[1]: *** [t-event] Error 1 In file included from debug.c:11: ../../sendmail/sendmail.h:1323:23: phclient.h: No such file or directory In file included from debug.c:11: ../../sendmail/sendmail.h:1329: error: parse error before "PH" ../../sendmail/sendmail.h:1329: warning: no semicolon at end of struct or union ../../sendmail/sendmail.h:1332: error: parse error before '}' token make[1]: *** [debug.o] Error 1 In file included from debug.c:11: ../../sendmail/sendmail.h:1323:23: phclient.h: No such file or directory In file included from debug.c:11: ../../sendmail/sendmail.h:1329: error: parse error before "PH" ../../sendmail/sendmail.h:1329: warning: no semicolon at end of struct or union ../../sendmail/sendmail.h:1332: error: parse error before '}' token make[2]: *** [debug.o] Error 1 I've installed openssl-0.9.7g in its default directory /usr/local/ssl Note: Without site.config.m4 file from devtools/Site Build works just fine. Any ideas? What do I do wrong? Thanks a lot |
Quote:
Quote:
Quote:
I don't intend to offend you, but it looks like you miss some basic knowledge and experience and I'd recommend to learn and read much more :study: before you'll mess with such things :jawa: |
Quote:
dnl ### Note the "-R" for the library directory. On some systems, ### dnl ### that can be used to tell the run time loader where to find ### dnl ### dynamic libraries (shared objects). Check your system ### dnl ### documentation (man ld) to see if this is appropriate for your ### dnl ### system. ### dnl ### ### dnl ##################################################################### dnl ### Changes for STARTTLS support APPENDDEF(`confENVDEF',`-DSTARTTLS') APPENDDEF(`confLIBS', `-lssl -lcrypto') APPENDDEF(`confLIBDIRS', `-L/usr/local/ssl/lib -R/usr/local/ssl/lib') APPENDDEF(`confINCDIRS', `-I/usr/local/ssl/include') Quote:
Quote:
Thanks for your help. It is really appreciated. |
I've installed PH Client and Programming API and I've got rid of -R option and it worked just fine.
Thanks, p.s. Quote:
|
Thou art welcome ;)
|
new problem
Hello.
I had the same trouble, and this topic is decision. But after elimination of this problem, I had a new trouble: Quote:
Quote:
p.s. I use FreeBSD 7.0 RELEASE (I hope it will not prevent to answer a question) |
All times are GMT -5. The time now is 08:28 PM. |