LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 04-07-2015, 11:13 PM   #1
zeshanuk
Member
 
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85

Rep: Reputation: Disabled
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
 
Old 04-07-2015, 11:22 PM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
See this BLFS Sendmail page.

It is using sed to change man pages install location.
 
Old 04-07-2015, 11:26 PM   #3
zeshanuk
Member
 
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85

Original Poster
Rep: Reputation: Disabled
hi veerain, thats the instructions im using already.
 
Old 04-07-2015, 11:51 PM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
Old 04-07-2015, 11:53 PM   #5
zeshanuk
Member
 
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-08-2015, 12:42 AM   #6
zeshanuk
Member
 
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85

Original Poster
Rep: Reputation: Disabled
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#
 
Old 04-08-2015, 01:02 AM   #7
zeshanuk
Member
 
Registered: Mar 2015
Distribution: debian jessie baby
Posts: 85

Original Poster
Rep: Reputation: Disabled
thanks I only just saw your message veerain the symbolic link worked
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem re-installing sendmail on Redhat 7.2 mehranalmasi Linux - Software 7 08-05-2008 01:20 PM
Problem re-installing sendmail mehranalmasi Linux - Newbie 1 08-01-2008 02:37 AM
[SOLVED] Having problem building/installing Sendmail 8.14.2 by using Solaris 8 x86 johncsl82 Solaris / OpenSolaris 7 07-08-2008 01:48 AM
installing sendmail jimi_j Linux - Software 5 04-19-2004 04:29 PM
problem processing sendmail.mc to sendmail.cf ...help... lucastic Linux - Networking 1 09-21-2003 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration