I asked my Sun Solaris instructor about the problem. Here's his response.
Bill

---------- Forwarded message ----------
Date: Wed, 11 Aug 1999 12:55:03 -0400 (EDT)
From: Carl Cassani - Sun Education <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: TCP Wrapper Compilation Problems (fwd)

Please find below a compilation of a couple of e-mails
I received on this:

  "Make sure you are uncommenting the correct occurance of
"Real_daemon_dir.... " in the Make file."
  "I have used version 7.6 of wrappers, and it works."
  "I will attach a quick write up on this."
  "Don't send this doc out to the customer."
  "If they are using a newer version, version they may want to go to 
ftp://coast.cs.purdue.edu/pub/tools/unix/tcp_wrappers"


Bill: 

The key error I see in this is that the Make command is looking
for /usr/ucb/cc, which by default in Solaris is a simple shellscript
which tries to locate a C compiler and is NOT itself a compiler.

KEY:  Be sure that a C compiler exists on the system.

The solution could be to edit the Makefile and define CC=.......
where ..... would be the path to the Compiler.

OR

Move the existing /usr/ucb/cc to /usr/ucb/cc.orig
and then create a symbolic link such as

        # ln -s /usr/local/bin/gcc /usr/ucb/cc

xxxxxxx

Hello Carl,
        The problem is the TCP Wrapper program is not finding the
compiler.  TCP Wrappers is looking specifically for /usr/ucb/cc which is
not included by default.  The easiest way to solve the problem is to link
the compiler they are using to /usr/ucb/cc so when TCP Wrappers runs it
will find a compiler. 
        
        EX. ln (-s) /opt/GCC281/bin/gcc /usr/ucb/cc
        
        
        Hope this helps,
        
> To: [EMAIL PROTECTED]
> Subject: TCP Wrapper Compilation Problems (fwd)
> MIME-Version: 1.0
> 
> 
> Carl:
> 
> Seems like a question fit to a "T" for you. :)
> 
> Regards.
> Bill
> 
> ---------- Forwarded message ----------
> Date: Tue, 10 Aug 1999 13:38:57 -0400
> From: Derek Peczeniuk <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: TCP Wrapper Compilation Problems
> 
> I can't seem to compile the latest TCP Wrapper software under Solaris
> 2.6 on a Sun Sparc 5..  I define the REAL_DAEMON_DIR and then type make
> sunos5 and this is what it spits out:
> 
> mybox259#>make sunos5
> cc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DNETGROUP
> -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK
> -DSOLARIS_24_GETHOSTBYNAME_BUG   -DDAEMON_UMASK=022
> -DREAL_DAEMON_DIR=\"/usr/etc/...\"    -DSEVERITY=LOG_INFO
> -DRFC931_TIMEOUT=10   -DHOSTS_DENY=\"/etc/hosts.deny\"
> -DHOSTS_ALLOW=\"/etc/hosts.allow\"  -DTLI     -DALWAYS_HOSTNAME -c
> tcpd.c
> /usr/ucb/cc:  language optional software package not installed
> *** Error code 1
> make: Fatal error: Command failed for target `tcpd.o'
> Current working directory /export/home/dpeczeniuk/tmp/tcp_wrappers_7.6
> *** Error code 1
> make: Fatal error: Command failed for target `sunos5'
> mybox260#>
> 
> Anybody have any ideas?
> 
> --
> Cheers,
> 
> Derek
> 
> 
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
> 

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

Carl L. Cassani
Sun Education - Instructor
Certified Solaris Administrator
1300 Wilson Blvd.
Suite 1050
Arlington, Va. 22209

Phone: (703) 248-2709
email: [EMAIL PROTECTED]

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$


-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to