Results 1 to 2 of 2
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')
...
- 06-02-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Germany
- Posts
- 69
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
- 07-11-2005 #2Just Joined!
- Join Date
- Jul 2005
- Location
- London, UK
- Posts
- 1
You need to comment out or delete the following lines from your site.config.m4 file in
sendmail-8.13.4/devtools/Site/ :
dnl ### Changes for PH_MAP support.
APPENDDEF(`confMAPDEF',`-DPH_MAP')
APPENDDEF(`confLIBS', `-lphclient')
APPENDDEF(`confINCDIRS', `-I/opt/nph/include')
APPENDDEF(`confLIBDIRS', `-L/opt/nph/lib')
This option, which is included in the default sample file 'site.config.m4.sample', builds sendmail with support for phclient which you probably don't need.
Hope this helps - I've just successfully built sendmail 8.13.4 on a Slackware 10.1 server.
Andy


Reply With Quote