Results 1 to 10 of 10
I downloaded sendmail-8.14.3 from the Sendmail web site and tried to install it.
While trying to do
#sh ./Build
in the " sendmail-8.14.3 " directory, i run into many errors ...
- 03-21-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 5
Installing sendmail-8.14.3
I downloaded sendmail-8.14.3 from the Sendmail web site and tried to install it.
While trying to do
#sh ./Build
in the " sendmail-8.14.3 " directory, i run into many errors which say "Can Not find a M4 program".
I am using Ubuntu 9.04 - jaunty jackalope (pretty old one)
I tried several solutions from the internet in this regard including downloading and installing M4 in /bin, in /usr/bin , in /usr/bin/local, but i could not solve this.
Any solutions please. Its very urgent!!
- 03-21-2011 #2Linux Newbie
- Join Date
- Sep 2007
- Posts
- 137
Welcome.
Are you building sendmail for a specific reason?
I ask because its usually best, and easier, to use Ubuntu's repo (repository) to install the apps you want. Sendmail doesn't seem to be in 9.04's repo but it is in the Karmic 9.10 repo. If you upgrade to Karmic you can install sendmail with the package manager.
- 03-21-2011 #3
+1 what fanderal said.
I've been installing and configuring sendmail for more than 20 years, ever since it pushed MMDF out of the way, and I don't think I've had a need to build from source once.
The m4 macro processor is bundled into any number of packages, including sendmail-cf. Standalone it's the "m4" package. If you're going to try to build sendmail as an exercise, I'd suggest at least installing the sendmail-cf package.
- 03-22-2011 #4Just Joined!
- Join Date
- Mar 2011
- Posts
- 5
fanderal, I am building this for a reason...I want to install this as part of a project.
Also I have a lot of configurations to make in it also. So i dont know if i can do it all with installing from the repo!!
Can u suggest any ways of dealing with this "cannot find an M4 program" error?
Thanks
- 03-22-2011 #5Just Joined!
- Join Date
- Mar 2011
- Posts
- 5
grayhairweenie,
i found a m4 directory within the sendmail installation directory, but still i m not able to build the source.
How do i install this package which u mentioned.
can you give the sudo code pls!!
- 03-22-2011 #6
I'm a RedHat-CentOS-Fedora guy, so I'm not absolutely certain, but I think it would be "sudo apt-get m4".
IMHO, installing as part of a project (unless it's a class assignment to do it that way) is all the more reason to install sendmail as a package. If you build it from source, you will ever after be responsible for maintaining any cross-dependencies yourself. You'll very likely have to build it again and again as you update other software. Unless you plan to run the system without updating it over time.
- 03-22-2011 #7Just Joined!
- Join Date
- Mar 2011
- Posts
- 5
@greyhairweenie
I searched on the internet on how to install M4... and i got a link which gave a command using wget.
I tried it using wget and installed it in /usr/bin .. then /usr .. then / ... in a desperate attempt to make sendmail work
but its not working !!!
Where should it be installed.. Any ideas??
- 03-22-2011 #8
Sorry, I really can't help if every time I suggest something you do something different. Good luck.
- 03-23-2011 #9Just Joined!
- Join Date
- Mar 2011
- Posts
- 5
@reyhairweenie
The installation mentioned in the above post was done by me before posting this thread and not as a reply to what you said.
You mentioned that m4 can be installed as part of sendmail-cf package. I asked how this could be done.
But u gave me a reply to install m4 seperately. Thats why i told you that I have already done this previously and asked you if you could help me in this regard.
Seems u misunderstood it.
Thanks anyway.
- 03-23-2011 #10Linux Newbie
- Join Date
- Sep 2007
- Posts
- 137
Shyam_R, you might want to check out 'apt-src.' Its like apt-get but downloads source pkgs (not compiled binaries) from the repo. If you decide to use it, make sure sources.list has the 'deb-src' repo enabled.


Reply With Quote
