|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi -
I am trying to build sendmail-8.13.8 on a FC6 system. In sendmail/devtools/Site I made a file called site.config.m4 with a single line: define(`confMANROOT', `/usr/share/man') because it appears that my man pages are in the /usr/share dir on FC6 rather than the /usr/man dir that sendmail expects. My steps: 1) in the sendmail dir do a ./Build 2) cd cf/cf 3) copy generic-linux.mc to sendmail.mc 4) run ./Build sendmail.cf 5) run ./Build install-cf 6) cd to sendmail/ 6)run ./Build install In step 6 I get quite a few errors which I've posted below. How can I fix my problems? JP install -c -o bin -g bin -m 444 sendmail.0 /usr/share/man8/sendmail.8 install: cannot create regular file `/usr/share/man8/sendmail.8': No such file or directory make[1]: *** [install-docs] Error 1 make[1]: Leaving directory `/home/jp/sendmail-8.13.8/obj.Linux.2.6.18-1.2869.fc6.i686/sendmail' install -c -o bin -g bin -m 444 editmap.0 /usr/share/man8/editmap.8 install: cannot create regular file `/usr/share/man8/editmap.8': No such file or directory make[1]: *** [install-docs] Error 1 install -c -o bin -g bin -m 444 mailstats.0 /usr/share/man8/mailstats.8 install: cannot create regular file `/usr/share/man8/mailstats.8': No such file or directory make[1]: *** [install-docs] Error 1 install -c -o bin -g bin -m 444 vacation.0 /usr/share/man1/vacation.1 install: cannot create regular file `/usr/share/man1/vacation.1': No such file or directory make[1]: *** [install-docs] Error 1 make[1]: Leaving directory `/home/jp/sendmail-8.13.8/obj.Linux.2.6.18-1.2869.fc6.i686/vacation' make: *** [all] Error 2 [root@jp sendmail-8.13.8]# |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Make sure the /usr/share/man8 and /usr/share/man1 directory exists. You
probably need to create those directories. If you prefer to have the files in another location, you can always later move the man files to whatever directory Fedora has in the man path. Good luck, Paul "jp" <johnpenk7@yahoo.com> wrote in message news:1169135851.586180.273240@v45g2000cwv.googlegr oups.com... > Hi - > > I am trying to build sendmail-8.13.8 on a FC6 system. > > In sendmail/devtools/Site I made a file called site.config.m4 with a > single line: > define(`confMANROOT', `/usr/share/man') > because it appears that my man pages are in the /usr/share dir on FC6 > rather than the /usr/man dir that sendmail expects. > > My steps: > 1) in the sendmail dir do a ./Build > 2) cd cf/cf > 3) copy generic-linux.mc to sendmail.mc > 4) run ./Build sendmail.cf > 5) run ./Build install-cf > 6) cd to sendmail/ > 6)run ./Build install > > In step 6 I get quite a few errors which I've posted below. > > How can I fix my problems? > JP > > install -c -o bin -g bin -m 444 sendmail.0 /usr/share/man8/sendmail.8 > install: cannot create regular file `/usr/share/man8/sendmail.8': No > such file or directory > make[1]: *** [install-docs] Error 1 > make[1]: Leaving directory > `/home/jp/sendmail-8.13.8/obj.Linux.2.6.18-1.2869.fc6.i686/sendmail' > > install -c -o bin -g bin -m 444 editmap.0 /usr/share/man8/editmap.8 > install: cannot create regular file `/usr/share/man8/editmap.8': No > such file or directory > make[1]: *** [install-docs] Error 1 > > install -c -o bin -g bin -m 444 mailstats.0 /usr/share/man8/mailstats.8 > install: cannot create regular file `/usr/share/man8/mailstats.8': No > such file or directory > make[1]: *** [install-docs] Error 1 > > install -c -o bin -g bin -m 444 vacation.0 /usr/share/man1/vacation.1 > install: cannot create regular file `/usr/share/man1/vacation.1': No > such file or directory > make[1]: *** [install-docs] Error 1 > make[1]: Leaving directory > `/home/jp/sendmail-8.13.8/obj.Linux.2.6.18-1.2869.fc6.i686/vacation' > make: *** [all] Error 2 > [root@jp sendmail-8.13.8]# > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Those directories exist under /usr/share/man. How do I get install to
look for /usr/share/man rather than just /usr/share? Paul B. wrote: > Make sure the /usr/share/man8 and /usr/share/man1 directory exists. You > probably need to create those directories. If you prefer to have the files > in another location, you can always later move the man files to whatever > directory Fedora has in the man path. > > Good luck, > > Paul > > > > "jp" <johnpenk7@yahoo.com> wrote in message > news:1169135851.586180.273240@v45g2000cwv.googlegr oups.com... > > Hi - > > > > I am trying to build sendmail-8.13.8 on a FC6 system. > > > > In sendmail/devtools/Site I made a file called site.config.m4 with a > > single line: > > define(`confMANROOT', `/usr/share/man') > > because it appears that my man pages are in the /usr/share dir on FC6 > > rather than the /usr/man dir that sendmail expects. > > > > My steps: > > 1) in the sendmail dir do a ./Build > > 2) cd cf/cf > > 3) copy generic-linux.mc to sendmail.mc > > 4) run ./Build sendmail.cf > > 5) run ./Build install-cf > > 6) cd to sendmail/ > > 6)run ./Build install > > > > In step 6 I get quite a few errors which I've posted below. > > > > How can I fix my problems? > > JP > > > > install -c -o bin -g bin -m 444 sendmail.0 /usr/share/man8/sendmail.8 > > install: cannot create regular file `/usr/share/man8/sendmail.8': No > > such file or directory > > make[1]: *** [install-docs] Error 1 > > make[1]: Leaving directory > > `/home/jp/sendmail-8.13.8/obj.Linux.2.6.18-1.2869.fc6.i686/sendmail' > > > > install -c -o bin -g bin -m 444 editmap.0 /usr/share/man8/editmap.8 > > install: cannot create regular file `/usr/share/man8/editmap.8': No > > such file or directory > > make[1]: *** [install-docs] Error 1 > > > > install -c -o bin -g bin -m 444 mailstats.0 /usr/share/man8/mailstats.8 > > install: cannot create regular file `/usr/share/man8/mailstats.8': No > > such file or directory > > make[1]: *** [install-docs] Error 1 > > > > install -c -o bin -g bin -m 444 vacation.0 /usr/share/man1/vacation.1 > > install: cannot create regular file `/usr/share/man1/vacation.1': No > > such file or directory > > make[1]: *** [install-docs] Error 1 > > make[1]: Leaving directory > > `/home/jp/sendmail-8.13.8/obj.Linux.2.6.18-1.2869.fc6.i686/vacation' > > make: *** [all] Error 2 > > [root@jp sendmail-8.13.8]# > > |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Jan 18, 9:57 am, "jp" wrote: > I am trying to build sendmail-8.13.8 on a FC6 system. > > In sendmail/devtools/Site I made a file called site.config.m4 with a > single line: > define(`confMANROOT', `/usr/share/man') > because it appears that my man pages are in the /usr/share dir on FC6 > rather than the /usr/man dir that sendmail expects. > > My steps: > 1) in the sendmail dir do a ./Build > 2) cd cf/cf > 3) copy generic-linux.mc to sendmail.mc > 4) run ./Build sendmail.cf > 5) run ./Build install-cf > 6) cd to sendmail/ > 6)run ./Build install > > In step 6 I get quite a few errors which I've posted below. You show two steps numbered 6 ;-) What you probably missed is step "6.5) su" (before step 7, the other step 6) and check the permissions on /etc/mail/sendmail.cf since it appears that you installed that not being root. [snip] -- René Berber |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
In article <1169135851.586180.273240@v45g2000cwv.googlegroups .com> "jp"
<johnpenk7@yahoo.com> writes: > >I am trying to build sendmail-8.13.8 on a FC6 system. > >In sendmail/devtools/Site I made a file called site.config.m4 with a >single line: >define(`confMANROOT', `/usr/share/man') >because it appears that my man pages are in the /usr/share dir on FC6 >rather than the /usr/man dir that sendmail expects. Actually, the defaults are what you want - see devtools/README: confMANROOT /usr/share/man/cat The root of the man subtree. confMANROOTMAN /usr/share/man/man The root of the man subtree, for unformatted manual pages. But devtools/OS/Linux overrides that: define(`confMANROOT', `/usr/man/man') Which is wrong for *your* Linux, but maybe right for other Linuxen, who knows... (they say that Linux is just a kernel anyway...). Anyway, from these define's, you can see that you're not actually supposed to specify the *directory*, but the "path prefix". I.e. to put man pages in /usr/share/man/man1, /usr/share/man/man8, etc, you should specify /usr/share/man/man, not /usr/share/man. So, if you just append another /man to your define (and run 'Build -c' to have it take effect), you should get the man pages in an existing directory. It may not be the "right" directory, and actually there may not *be* a "right" directory, since your 'man' command may not understand about anything other than unformatted, gzipped man pages in the /usr/share/man/manN directories, while sendmail's default is to install only the formatted (not gzipped) man pages, in confMANROOT... You may want to play with confMANROOTMAN above, plus (also from devtools/README): confDONT_INSTALL_CATMAN [undefined] Don't install the formatted manual pages. confINSTALL_RAWMAN [undefined] Install the unformatted manual pages. --Per Hedeland per@hedeland.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Excellent! Sendmail installed successfully. I changed the define in
site.confg.m4 to /usr/share/man/man as suggested. Thanks everyone for the assistance! Per Hedeland wrote: > In article <1169135851.586180.273240@v45g2000cwv.googlegroups .com> "jp" > <johnpenk7@yahoo.com> writes: > > > >I am trying to build sendmail-8.13.8 on a FC6 system. > > > >In sendmail/devtools/Site I made a file called site.config.m4 with a > >single line: > >define(`confMANROOT', `/usr/share/man') > >because it appears that my man pages are in the /usr/share dir on FC6 > >rather than the /usr/man dir that sendmail expects. > > Actually, the defaults are what you want - see devtools/README: > > confMANROOT /usr/share/man/cat The root of the man subtree. > confMANROOTMAN /usr/share/man/man The root of the man subtree, for > unformatted manual pages. > > But devtools/OS/Linux overrides that: > > define(`confMANROOT', `/usr/man/man') > > Which is wrong for *your* Linux, but maybe right for other Linuxen, who > knows... (they say that Linux is just a kernel anyway...). Anyway, from > these define's, you can see that you're not actually supposed to specify > the *directory*, but the "path prefix". I.e. to put man pages in > /usr/share/man/man1, /usr/share/man/man8, etc, you should specify > /usr/share/man/man, not /usr/share/man. > > So, if you just append another /man to your define (and run 'Build -c' > to have it take effect), you should get the man pages in an existing > directory. It may not be the "right" directory, and actually there may > not *be* a "right" directory, since your 'man' command may not > understand about anything other than unformatted, gzipped man pages in > the /usr/share/man/manN directories, while sendmail's default is to > install only the formatted (not gzipped) man pages, in > confMANROOT... You may want to play with confMANROOTMAN above, plus > (also from devtools/README): > > confDONT_INSTALL_CATMAN [undefined] Don't install the formatted manual > pages. > confINSTALL_RAWMAN [undefined] Install the unformatted manual pages. > > --Per Hedeland > per@hedeland.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
In article <1169212184.939680.119460@s34g2000cwa.googlegroups .com> "jp"
<johnpenk7@yahoo.com> writes: >Excellent! Sendmail installed successfully. I changed the define in >site.confg.m4 to /usr/share/man/man as suggested. And does your 'man' command display the man pages? (Verify that they're the pages of the version you installed, and not the ones that came with FC6...) Otherwise being able to install them is of limited value.:-) --Per Hedeland per@hedeland.org |
|
![]() |
| Outils de la discussion | |
|
|