[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: didn't make tcp_wrappers_7.6 on HP-UX 11.0



Hi,
I ran into the same problem.  It's because the default tcp
wrappers config for HP-UX expects you to have NIS installed.
You don't, so it can't find the libraries.  To fix it, edit
the Makefile.  Find the hpux section, and change the part
that says "NETGROUP=-DNETGROUP" to say "NETGROUP=".  Then it
won't expect to find NIS.  Good luck.

Karl Bolingbroke
Flying J Inc.


> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On
> Behalf Of ejb
> Sent: Friday, November 24, 2000 7:00 AM
> To: openldap-software@openldap.org
> Subject: didn't make tcp_wrappers_7.6 on HP-UX 11.0
>
>
> hi all,
>
> I built tcp_wrappers_7.6 on HP-UX 11.0 with "make
> REAL_DAEMON_DIR=/etc hpux", and there was the error.
>
> I created two files (hosts.deny and hosts.allow)
> on /etc with blank.
>
> More information:
>
>         cc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS
> -DPARANOID -DNETGROUP  -DGETPEERNAME_BUG
> -DBROKEN_FGETS -DLIBC_CALLS_STRTOK
> -DDAEMON_UMASK=022  -DREAL_DAEMON_DIR=\"/etc\"
> -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10
> -DHOSTS_DENY=\"/etc/hosts.deny\"
> -DHOSTS_ALLOW=\"/etc/hosts.allow\"
> -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -o tcpd
> tcpd.o libwrap.a
> /usr/ccs/bin/ld: (Warning) At least one PA 2.0
> object file (tcpd.o) was detected. The linked
> output may not run on a PA 1.x system.
> /usr/ccs/bin/ld: Unsatisfied symbols:
>    yp_get_default_domain (code)
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> #
>
>
>
> I successfully built it on Redhat linux 6.0 with
> "make REAL_DAEMON_DIR=/etc linux".
> How do I do to build it on HP-UX?
>
> Thanks for your suggest.
>
> regards,
>
> xu
>