qcoles
asked on
Sendmail executable overwritten
Thanks to dhoffman, my sendmail was compiled fine. It was working perfectly until someone mistakenly overwrote the majority of my /usr directory with the contents from another unix platform. gcc and make was preserved but sendmail was gone. My sendmail directory was safe in my home directory, so I tried to re-compile but was unsuccessful and received the following message: Configuration: os=SunOS, rel=5.5.1, rbase=5, rroot=5.5, arch=sun4, sfx=
Making in obj.SunOS.5.5.1.sun4
/usr/local/bin/gcc -I. -O -I/usr/local/lib/gcc-lib/s parc-sun-s olaris2.5. 1/2.8.1/
include -DNDBM -DNIS -DNISPLUS -DSOLARIS=20500 -c alias.c -o alias.o
gcc: installation problem, cannot exec `as': No such file or directory
make: *** [alias.o] Error 1
PLEASE HELP. ANY help would be greatly appreciated.
Thanks in advance
Making in obj.SunOS.5.5.1.sun4
/usr/local/bin/gcc -I. -O -I/usr/local/lib/gcc-lib/s
include -DNDBM -DNIS -DNISPLUS -DSOLARIS=20500 -c alias.c -o alias.o
gcc: installation problem, cannot exec `as': No such file or directory
make: *** [alias.o] Error 1
PLEASE HELP. ANY help would be greatly appreciated.
Thanks in advance
At the risk of sounding obtuse; have you tried restoring /usr from a backup taken prior to the error?
If the majority of /usr has been trashed, you should not consider anything other than a restore.
--frankf
If the majority of /usr has been trashed, you should not consider anything other than a restore.
--frankf
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Check your PATH environmeent variable if there is as in any of the listed dirs.
Probably it's a misconfigured gcc, check with -v option which as it tries to start.