Amanda-Users

Re: Sun Solaris stops compiling

2004-08-19 14:05:54
Subject: Re: Sun Solaris stops compiling
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 19 Aug 2004 12:24:56 -0400
On Thu, Aug 19, 2004 at 09:47:42AM -0400, Todd Zenker wrote:
> When I run ./configure --with-user=amanda --with-group=disk, I dont
> get an error, I get a command prompt right after the config.status:
> executing depfiles commands.
> 
> It looks like I can start to run make, but there is no make to run.
> I know this is a simple thing becuase a ran into the same problem a
> long long time ago and don't remember what I did...
> 
> I'm getting to old to remember what I did last week.
> 

There are several of us around like that :)

You say there is "no make to run".
Do you really mean "make" or "no makefile (or Makefile)"?
One is a program that must be installed as a system developer utility,
the other is the control file created by configure.

If you really mean "make" the program, as in "$ bash: make: not found",
then you probably do not have your PATH variable set properly.  Copies
can be found in /usr/ccs/bin and /usr/xpg4/bin.  They are installed
with the packages SUNWsprot and SUNWxcu4t respectively (check with
pkginfo if they are installed).  A copy of GNU's make can also be
installed (I "think" used with amanda) from the "Companion CD" (CCD).
It gets insatlled in /opt/sfw/bin as "gmake" from package SFWgmake.

Sun doesn't supply a C compiler so unless you purchase an extra
cost compiler, you will have to install the GNU C compiler (gcc)
from the CCD.  On a standard installation Sun puts a shell script
called "cc" in /usr/ucb directory; all it does is say is "you don't
have a compiler".  When I install the GNU compilers I then rename
/usr/ucb/cc and replace it with a symbolic link to /opt/sfw/bin/gcc.
I put similar links in /usr/ccs/bin and /opt/sfw/bin.

HTH
jon
-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>