Solved

Sendmail executable overwritten

Posted on 1998-12-16
3
263 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

724 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