LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2006, 03:04 PM   #1
Paul Reed
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Rep: Reputation: 0
Sendmail 8.13.6 Build error on very old (5?) RedHat Box


Hi, Why is new sendmail a nightmare? Very different from 8.9. When I try and do the first build I get this -->

[root@mailgate sendmail]# sh Build
: command not found
: command not found
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
'./devtools/bin/Build: syntax error near unexpected token `in
'./devtools/bin/Build: ../devtools/bin/Build: line 64: ` in


Is it just that the box is so old or am I making a stupid mistake?

Please help!!! THANKS!!!

reed2001uk@yahoo.co.uk
 
Old 04-21-2006, 03:34 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
It is because the box is very old. Sheesh!
 
Old 04-21-2006, 03:58 PM   #3
Paul Reed
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Original Poster
Rep: Reputation: 0
OK, thanks... but can you be more specific?

I have trouble getting my head around Linux! It's not like I am trying to install Quake 4 on Windows 3.1! (or maybe it is!)

Abandon all hope now or I can update the out of date bits? and how do I do this?

I thought Linux was a nice friendly (updateable) OS!

If it is so old how come 8.9.3 runs ok?
What would be the most up to date version that I can run?

What can't it find? When I ran the top level build it couldn't even find its way back from the little build files?

Surely I am not the only muppet that has had this problem? but there seems to be no enlightenment to be found searching google.

Any constructive advice, please?

Thanks... No, really, THANKS.
Can I die now and get reincarnated as a cat?

oh... top level build output is...

[root@mailgate /]# cd sendmail-8.13.6
[root@mailgate /sendmail-8.13.6]# sh Build
: command not found
: command not found
Making all in:
/sendmail-8.13.6/libsm
: command not found
: command not found
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
'./devtools/bin/Build: syntax error near unexpected token `in
'./devtools/bin/Build: ../devtools/bin/Build: line 64: ` in
Making all in:
/sendmail-8.13.6/libsmutil
: command not found
: command not found
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
'./devtools/bin/Build: syntax error near unexpected token `in
'./devtools/bin/Build: ../devtools/bin/Build: line 64: ` in
Making all in:
/sendmail-8.13.6/libsmdb
: command not found
: command not found
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
'./devtools/bin/Build: syntax error near unexpected token `in
'./devtools/bin/Build: ../devtools/bin/Build: line 64: ` in
Making all in:
/sendmail-8.13.6/sendmail
: command not found
: command not found
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
: command not foundld:
'./devtools/bin/Build: syntax error near unexpected token `in
'./devtools/bin/Build: ../devtools/bin/Build: line 64: ` in
Making all in:
/sendmail-8.13.6/editmap
: command not found
: command not found
./Build: /sendmail-8.13.6/editmap/../devtools/bin/Build: No such file or directory
./Build: /sendmail-8.13.6/editmap/../devtools/bin/Build: No such file or directory
Making all in:
/sendmail-8.13.6/mail.local
: command not found
: command not found
./Build: /sendmail-8.13.6/mail.local/../devtools/bin/Build: No such file or directory
./Build: /sendmail-8.13.6/mail.local/../devtools/bin/Build: No such file or directory
Making all in:
/sendmail-8.13.6/mailstats
: command not found
: command not found
./Build: /sendmail-8.13.6/mailstats/../devtools/bin/Build: No such file or directory
./Build: /sendmail-8.13.6/mailstats/../devtools/bin/Build: No such file or directory
Making all in:
/sendmail-8.13.6/makemap
: command not found
: command not found
./Build: /sendmail-8.13.6/makemap/../devtools/bin/Build: No such file or directory
./Build: /sendmail-8.13.6/makemap/../devtools/bin/Build: No such file or directory
Making all in:
/sendmail-8.13.6/praliases
: command not found
: command not found
./Build: /sendmail-8.13.6/praliases/../devtools/bin/Build: No such file or directory
./Build: /sendmail-8.13.6/praliases/../devtools/bin/Build: No such file or directory
Making all in:
/sendmail-8.13.6/rmail
: command not found
: command not found
./Build: /sendmail-8.13.6/rmail/../devtools/bin/Build: No such file or directory
./Build: /sendmail-8.13.6/rmail/../devtools/bin/Build: No such file or directory
Making all in:
/sendmail-8.13.6/smrsh
: command not found
: command not found
./Build: /sendmail-8.13.6/smrsh/../devtools/bin/Build: No such file or directory
./Build: /sendmail-8.13.6/smrsh/../devtools/bin/Build: No such file or directory
Making all in:
/sendmail-8.13.6/vacation
: command not found
: command not found
./Build: /sendmail-8.13.6/vacation/../devtools/bin/Build: No such file or directory
./Build: /sendmail-8.13.6/vacation/../devtools/bin/Build: No such file or directory
make: *** [all] Error 1
[root@mailgate /sendmail-8.13.6]#
 
Old 04-22-2006, 02:10 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Abandon all hope now or I can update the out of date bits? and how do I do this?
Now - it is, in principle, possible to update everything in RH9 that you need... basically, read the sticky in the redhat subforum about updating your kernel. It has a list of all the programming things you also need to update. This is a minimum.

The thing is, this has all been done for you already - it's called "fedora" (or CentOS). Which is why the most likely and first suggestion will always be: upgrade to a more recent distro. Especially considering it will likely involve smaller downloads and less time.

Quote:
I thought Linux was a nice friendly (updateable) OS!
It's unusual for anyone to accuse linux of being "freindly" As stated previously, it is possibly, in principle, to update everything - even create your own linux from scratch. However: the best way to go about this is to start with a very up-to-date distro which suits you, then maintain that.

For eg. Updating sendmail in fedora is a matter of typing "yum upgrade sendmail". This is because fedora is in active development and redhat9 is not.

Quote:
Surely I am not the only muppet that has had this problem? but there seems to be no enlightenment to be found searching google.
You could try the redhat subforum instead? (What seems to happen is everyone has either been using it for ages and thus updated in increments, or else they've discovered just how difficult it is to keep track of everything in such a complex OS and changed distro.

If you are really keen on Redhat: you have a special and very compelling reason to maintain it - you'll need to state which RH9 you have, there are several varieties depending on where you got it from, and what you have done to update it so far. Like I said - have a look at the sticky on updating the kernel.

Have a look in the build script - especially line 64... and any other lines that appear in there. Check the sendmail website for a list of dependencies (there should be a file in the tarball too).

More on RH9 - the bit on sendmail dosn't help you though.
http://www.linuxquestions.org/questi...t=sendmail+RH9
 
Old 04-22-2006, 03:51 PM   #5
Paul Reed
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thumbs up New

Doh, ok, don't change engine, change whole car! Thanks for the words of wisdom. I suspect that the libs are just tooo old. Line 64 is... "in". Will check dependencies as suggested. Reason is I never set up original box and am therefore reluctant to replace it - it does mail, proxy and firewall. If it ain't broke don't fix it! I wanted to install spamassasin but it wanted an up to date sendmail. That or maybe I can install QMail or something else instead. Got FC5 distro today! Thanks. Cheers. Nice1.
 
Old 04-22-2006, 03:55 PM   #6
Paul Reed
LQ Newbie
 
Registered: Jul 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Wink And...

So I couldn't use an alternative distros rpm? Or get it compiled on another machine and copy over? Does the Earth really go round the Sun? THANKS!
 
  


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
Starting sendmail service on Redhat 3.0, gives an error vcvinith Linux - Software 6 05-19-2005 09:58 AM
Want to build my own NAS box HippieCat Linux - General 2 03-29-2005 10:18 PM
Anyone build a new linux box lately? jbeedham Linux - Hardware 7 02-19-2005 02:37 AM
redhat enterprise WS xine build error nkjsat2 Red Hat 3 07-22-2004 08:10 PM
sendmail redhat 9 Transient parse error jsolis Linux - Networking 1 08-26-2003 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:40 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