PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > FC6 - Trouble installing sendmail
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

FC6 - Trouble installing sendmail

Réponse
 
LinkBack Outils de la discussion
Vieux 18/01/2007, 15h57   #1
jp
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut FC6 - Trouble installing sendmail

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]#

  Réponse avec citation
Vieux 18/01/2007, 16h09   #2
Paul B.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: FC6 - Trouble installing sendmail

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]#
>



  Réponse avec citation
Vieux 18/01/2007, 16h25   #3
jp
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: FC6 - Trouble installing sendmail

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]#
> >


  Réponse avec citation
Vieux 18/01/2007, 21h11   #4
René Berber
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: FC6 - Trouble installing sendmail



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

  Réponse avec citation
Vieux 19/01/2007, 00h28   #5
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: FC6 - Trouble installing sendmail

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
  Réponse avec citation
Vieux 19/01/2007, 13h09   #6
jp
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: FC6 - Trouble installing sendmail

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


  Réponse avec citation
Vieux 19/01/2007, 22h14   #7
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: FC6 - Trouble installing sendmail

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 08h27.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,21477 seconds with 15 queries