Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-07-2015, 11:13 PM
#1
Member
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85
Rep:
Problem installing sendmail
Hi, I am having a problem installing sendmail. Can anyone help?
Quote:
/sources/sendmail-8.15.1/vacation
Configuration: pfx=, os=Linux, rel=3.2.0-4-amd64, rbase=3, rroot=3.2, arch=x86_64, sfx=, variant=optimized
Making in /sources/sendmail-8.15.1/obj.Linux.3.2.0-4-amd64.x86_64/vacation
make[1]: Entering directory '/sources/sendmail-8.15.1/obj.Linux.3.2.0-4-amd64.x86_64/vacation'
cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -c -o vacation.o vacation.c
cc -o vacation vacation.o /sources/sendmail-8.15.1/obj.Linux.3.2.0-4-amd64.x86_64/libsmdb/libsmdb.a /sources/sendmail-8.15.1/obj.Linux.3.2.0-4-amd64.x86_64/libsmutil/libsmutil.a /sources/sendmail-8.15.1/obj.Linux.3.2.0-4-amd64.x86_64/libsm/libsm.a -lresolv -lcrypt -lnsl -ldl
install -c -o bin -g bin -m 555 vacation /usr/bin
groff -Tascii -man vacation.1 > vacation.0 || cp vacation.0.dist vacation.0
install -c -o bin -g bin -m 444 vacation.0 /usr/man/man1/vacation.1
install: cannot create regular file /usr/man/man1/vacation.1: No such file or directory
Makefile:397: recipe for target 'install-docs' failed
make[1]: *** [install-docs] Error 1
make[1]: Leaving directory '/sources/sendmail-8.15.1/obj.Linux.3.2.0-4-amd64.x86_64/vacation'
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 2
root:/sources/sendmail-8.15.1#
Thanks,
Zeshan
Last edited by zeshanuk; 04-07-2015 at 11:17 PM .
Reason: highlight error
04-07-2015, 11:22 PM
#2
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
See this BLFS
Sendmail page .
It is using sed to change man pages install location.
04-07-2015, 11:26 PM
#3
Member
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85
Original Poster
Rep:
hi veerain, thats the instructions im using already.
04-07-2015, 11:51 PM
#4
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
Quote:
install: cannot create regular file /usr/man/man1/vacation.1: No such file or directory
Well the proper way is to correct makefiles to set path for man pages install path.
Do you have /usr/man directory?
To solve this problem for old programs; used to make a symlink from /usr/man to /usr/share/man.
Code:
ln -s /usr/share/man /usr/man
1 members found this post helpful.
04-07-2015, 11:53 PM
#5
Member
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85
Original Poster
Rep:
this is the devtools/OS/Linux file part showing that its modified the path for MANROOT:
Quote:
# $Id: Linux,v 8.31 2009-01-22 02:15:42 guenther Exp $
dnl DO NOT EDIT THIS FILE.
dnl Place personal settings in devtools/Site/site.config.m4
define(`confDEPEND_TYPE', `CC-M')
define(`confCCOPTS_SO', `-fPIC')
define(`confSM_OS_HEADER', `sm_os_linux')
define(`confMANROOT', `/usr/share/man/man')
define(`confLIBS', `-ldl')
define(`confEBINDIR', `/usr/sbin')
APPENDDEF(`confLIBSEARCH', `crypt nsl')
define(`confLD', `ld')
define(`confMTCCOPTS', `-D_REENTRANT')
define(`confMTLDOPTS', `-lpthread')
define(`confLDOPTS_SO', `-shared')
define(`confSONAME',`-soname')
ifelse(confBLDVARIANT, `DEBUG',
dnl Debug build
`
define(`confOPTIMIZE',`-g -Wall')
"devtools/OS/Linux" [readonly] 38L, 861C
does have /usr/share in it........im puzzled.
04-08-2015, 12:42 AM
#6
Member
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85
Original Poster
Rep:
for info............im still trying to work it out:
Quote:
root:/sources/sendmail-8.15.1# grep -r /usr/man/man
devtools/OS/NeXT.4.x:define(`confMANROOTMAN', `/usr/man/man')
devtools/OS/NeXT.3.x:define(`confMANROOTMAN', `/usr/man/man')
obj.Linux.3.2.0-4-amd64.x86_64/mail.local/Makefile.old:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/mail.local/Makefile:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/praliases/Makefile.old:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/praliases/Makefile:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/mailstats/Makefile.old:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/mailstats/Makefile:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/rmail/Makefile.old:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/rmail/Makefile:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/sendmail/Makefile.old:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/sendmail/Makefile:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/smrsh/Makefile.old:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/smrsh/Makefile:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/editmap/Makefile.old:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/editmap/Makefile:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/makemap/Makefile.old:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/makemap/Makefile:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/vacation/Makefile.old:MANROOT=/usr/man/man
obj.Linux.3.2.0-4-amd64.x86_64/vacation/Makefile:MANROOT=/usr/man/man
root:/sources/sendmail-8.15.1#
04-08-2015, 01:02 AM
#7
Member
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85
Original Poster
Rep:
thanks I only just saw your message veerain the symbolic link worked
All times are GMT -5. The time now is 06:48 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News