Thankz to John T Douglas for pointing me the right way. Itz my assumtion I
made a typo in my ealier attempts to get thiz working.
I've included additional notez for any clueless newbies that may stumble
upon this.
To compile TCP wrappers 7.6 using the freeware compiler gcc.
Ensure the gcc compiler is in your path.
# echo $PATH
/usr/sbin:/sbin/usr/bin:/usr/local/bin:/usr/bin
what ur'e looking for above iz /usr/local/bin
If itz not in there...and u installed the freeware compiler via a package
from www.sunfreeware.com with all defaultz..u need add a path to the
compiler for this session. This can be done by:
# $PATH=$PATH:/usr/local/bin; export $PATH
Next.. edit the Makefile deciding which REAL_DAEMON_DIR to use.
Having done that.. make a symbolic link to cc from gcc...
# cd /usr/local/bin ; ln -s /usr/local/bin/gcc cc;
Then go ahead and make ur build.
# cd /<where your source files are/make
You may have to ensure "make" is in your path also...as was done for GCC
above. You can find any onboard versions of make by the command below.....or
do extra work.and install GNU make from sunfreeware.com.
# find / -name make
cheerz,
-Robert.
From: "John T. Douglass" <john.douglass@anlw.anl.gov>
To: = Omitka = <omitka@hotmail.com>
Subject: Re: Tcp wrappers 7.6 compile problem
Date: Fri, 14 Jul 2000 14:51:58 -0600
= Omitka = wrote:
>
> OK. I've tried and I can't get around this error.
>
> Has anyone out there gotton around this?
>
> ####Begin transcript ---->
>
> # pwd
> /usr/local/tcp_wrappers_7.6
> # make sunos5
>
> // "make" Echo snipped....
>
> *** Error code 1
> make: Fatal error: Command failed for target `config-check'
> Current working directory /usr/local/tcp_wrappers_7.6
> *** Error code 1
> make: Fatal error: Command failed for target `generic'
> #
> # make generic
>
> // "make" Echo snipped....
>
> *** Error code 1
> make: Fatal error: Command failed for target `config-check'
> Current working directory /usr/local/tcp_wrappers_7.6
> *** Error code 1
> make: Fatal error: Command failed for target `generic'
> #
>
> ####End Transcript ----->
>
> MISC Notez :
> O/S :
> Sol 8
>
> Compilerz tried:
> # gcc --version
> 2.8.1
> # gcc --version
> 2.9.5
>
> Root user environment:
>
> # env
> HOME=/
> HZ=100
> LOGNAME=root
> PATH=/usr/sbin:/sbin:/usr/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin
> SHELL=/sbin/sh
> TERM=xterm
> TZ=US/Eastern
> #
>
> // I also had tried additionally with LD_LIBRARY_PATH set to :
>
> # echo $LD_LIBRARY_PATH
>
LD_LIBRARY_PATH=/usr/platform/sun4u/lib:/usr/share/lib:/usr/lib:/usr/ccs/lib:.
>
> Thx in advance.
> -Robert
Sounds to me like you didn't set the REAL_DAEMON_DIR in the makefile.
And it also sounds to me like you didn't read the full output message
from "make" because this is what it would say:
>Usage: edit the REAL_DAEMON_DIR definition in the Makefile then:
>
> make sys-type
>
>If you are in a hurry you can try instead:
>
> make REAL_DAEMON_DIR=/foo/bar sys-type
at the top of the part you conviently snipped out.
Since the "easy install" instructions say: "Type `make' and follow
the instructions." you have to make sure you read what it says.
-- John
-- John T. Douglass Phone: 208 533 7992 Argonne National Laboratory-West Email: john.douglass@anl.gov________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
S U BEFORE POSTING please READ the FAQ located at N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq . and the list POLICY statement located at M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy A To submit questions/summaries to this list send your email message to: N sun-managers@ececs.uc.edu A To unsubscribe from this list please send an email message to: G majordomo@sunmanagers.ececs.uc.edu E and in the BODY type: R unsubscribe sun-managers S Or . unsubscribe sun-managers original@subscription.address L To view an archive of this list please visit: I http://www.latech.edu/sunman.html S T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:12 CDT