Solved

Sendmail executable overwritten

Posted on 1998-12-16
3
258 Views
Last Modified: 2013-12-16
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/sparc-sun-solaris2.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
0
Comment
Question by:qcoles
3 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1812494
make does not have a path to  as
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.
0
 
LVL 2

Expert Comment

by:blowfish
ID: 1812495
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
0
 
LVL 4

Accepted Solution

by:
davidmwilliams earned 100 total points
ID: 1812496
Make sure as is in your PATH, and be sure you have installed GNU's binutils.  However, it's likely you haven't got the Sun /usr/ccs directory installed, with various important development tools.  You should install these from the Solaris CD or via pkgadd.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
removing nim resources 5 48
Help stop mail server from sending spam. 27 123
Unistall fileset without dependecies on AIX 3 60
Linux :how to provide sudo access to the user 13 88
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now