HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Re: HP-UX 11.00 : nss_ldap compil error
 
Operating System - Linux
        1840133
        Members
    
    
        2779
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-23-2004 12:25 AM
04-23-2004 12:25 AM
			
				
					
						
							HP-UX 11.00 : nss_ldap compil error
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
I'm trying to compile nss_ldap-215 onto an HP 11.00 server and getting configure errors:
# CC=/usr/local/bin/gcc \
LD="ld -Fl /usr/local/openssl/lib/libcrypto.a -Fl /usr/local/openssl/lib/libssl.a -
Fl /usr/local/lib/gcc-lib/hppa2.0n-hp-hp-hpux11.00/3.2.3/libgcc.a" \
LDFLAGS="-L/usr/local/openssl/lib" \
CPFLAGS="-I/usr/local/openssl/include" \
./configure --prefix=/usr/local/openldap --with-tls --disable-slapd
#more config.log
# more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:573: checking host system type
configure:614: checking target system type
configure:654: checking build system type
configure:732: checking for a BSD compatible install
configure:789: checking whether build environment is sane
configure:850: checking for mawk
configure:880: checking whether make sets ${MAKE}
configure:927: checking for working aclocal
configure:940: checking for working autoconf
configure:953: checking for working automake
configure:966: checking for working autoheader
configure:979: checking for working makeinfo
configure:999: checking for gnutar
configure:1044: checking for gcc
configure:1157: checking whether the C compiler (/usr/local/bin/gcc -L/usr/local/
openssl/lib) works
configure:1173: /usr/local/bin/gcc -o conftest -L/usr/local/openssl/lib conftest.
c 1>&5
configure:1199: checking whether the C compiler (/usr/local/bin/gcc -L/usr/local/
openssl/lib) is a cross-compiler
configure:1204: checking whether we are using GNU C
configure:1232: checking whether /usr/local/bin/gcc accepts -g
configure:1264: checking how to run the C preprocessor
configure:1355: checking for a BSD compatible install
configure:1614: checking for lber.h
configure:1654: checking for ldap.h
configure:1695: checking for ldap_ssl.h
configure:1781: checking for nsswitch.h
configure:1942: checking for thread.h
configure:1982: checking for pthread.h
configure:2022: checking for synch.h
configure:2062: checking for malloc.h
configure:2102: checking for shadow.h
configure:2142: checking for prot.h
configure:2182: checking for port_before.h
configure:2222: checking for port_after.h
configure:2262: checking for aliases.h
configure:2302: checking for net/route.h
configure:2342: checking for netinet/if_ether.h
configure:2382: checking for netinet/ether.h
configure:2422: checking for ctype.h
configure:2462: checking for db.h
configure:2502: checking for db1/db.h
configure:2542: checking for db_185.h
configure:2582: checking for db3/db_185.h
configure:2622: checking for alignof.h
configure:2662: checking for rpc/rpcent.h
configure:2702: checking for sys/byteorder.h
configure:2742: checking for sys/un.h
configure:2782: checking for libc-lock.h
configure:2822: checking for bits/libc-lock.h
configure:2862: checking for sasl.h
configure:2862: checking for sasl/sasl.h
configure:2902: checking for strings.h
configure:2942: checking for gssldap.h
configure:2982: checking for gsssasl.h
configure:3022: checking for gssapi/gssapi_krb5.h
configure:3060: checking for main in -lresolv
configure:3103: checking for main in -lnsl
configure:3149: checking for strtok_r
configure:3205: checking for sigset
configure:3261: checking for res_search
configure:3317: checking for dn_expand
configure:3373: checking for snprintf
configure:3429: checking for gethostbyname
configure:3485: checking for nsdispatch
configure:3541: checking for pthread_atfork
configure:3597: checking for ether_aton
configure:3653: checking for ether_ntoa
configure:3708: checking for struct ether_addr
configure:3721: /usr/local/bin/gcc -c -g -O2 -Wall -fPIC -DLDAP_REFERRALS -DLDAP_D
EPRECATED -D_REENTRANT -I. -DHPUX conftest.c 1>&5
configure: In function `main':
configure:3717: storage size of `x' isn't known
configure:3717: warning: unused variable `x'
configure: failed program was:
#line 3710 "configure"
#include "confdefs.h"
#include
#include
#include
#include
#include
int main() {
struct ether_addr x;
; return 0; }
configure:3739: checking for socklen_t
configure:3749: /usr/local/bin/gcc -c -g -O2 -Wall -fPIC -DLDAP_REFERRALS -DLDAP_D
EPRECATED -D_REENTRANT -I. -DHPUX conftest.c 1>&5
configure: In function `main':
configure:3745: warning: unused variable `len'
configure:3771: checking for dlopen in -ldl
configure:3811: checking for main in -ldb
configure:3847: checking for gss_krb5_ccache_name in -lgssapi_krb5
configure:3889: checking for main in -llber
configure:3932: checking for main in -lldap
configure:4248: checking for ldap_gss_bind in -lgssldap
configure:4291: checking for ldap_init
configure:4291: checking for ldap_get_lderrno
configure:4291: checking for ldap_parse_result
configure:4291: checking for ldap_memfree
configure:4291: checking for ldap_controls_free
configure:4347: checking for ldap_ld_free
configure:4347: checking for ldap_explode_rdn
configure:4347: checking for ldap_set_option
configure:4347: checking for ldap_get_option
configure:4403: checking for ldap_sasl_interactive_bind_s
configure:4403: checking for ldap_initialize
configure:4459: checking for ldap_create_control
configure:4459: checking for ldap_create_page_control
configure:4459: checking for ldap_parse_page_control
configure:4516: checking for ldapssl_client_init
configure:4516: checking for ldap_start_tls_s
configure:4516: checking for ldap_pvt_tls_set_option
configure:4573: checking for gethostbyname_r
configure:4665: checking for ldap_set_rebind_proc
configure:4719: checking whether ldap_set_rebind_proc takes 3 arguments
#
 
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
I'm trying to compile nss_ldap-215 onto an HP 11.00 server and getting configure errors:
# CC=/usr/local/bin/gcc \
LD="ld -Fl /usr/local/openssl/lib/libcrypto.a -Fl /usr/local/openssl/lib/libssl.a -
Fl /usr/local/lib/gcc-lib/hppa2.0n-hp-hp-hpux11.00/3.2.3/libgcc.a" \
LDFLAGS="-L/usr/local/openssl/lib" \
CPFLAGS="-I/usr/local/openssl/include" \
./configure --prefix=/usr/local/openldap --with-tls --disable-slapd
#more config.log
# more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:573: checking host system type
configure:614: checking target system type
configure:654: checking build system type
configure:732: checking for a BSD compatible install
configure:789: checking whether build environment is sane
configure:850: checking for mawk
configure:880: checking whether make sets ${MAKE}
configure:927: checking for working aclocal
configure:940: checking for working autoconf
configure:953: checking for working automake
configure:966: checking for working autoheader
configure:979: checking for working makeinfo
configure:999: checking for gnutar
configure:1044: checking for gcc
configure:1157: checking whether the C compiler (/usr/local/bin/gcc -L/usr/local/
openssl/lib) works
configure:1173: /usr/local/bin/gcc -o conftest -L/usr/local/openssl/lib conftest.
c 1>&5
configure:1199: checking whether the C compiler (/usr/local/bin/gcc -L/usr/local/
openssl/lib) is a cross-compiler
configure:1204: checking whether we are using GNU C
configure:1232: checking whether /usr/local/bin/gcc accepts -g
configure:1264: checking how to run the C preprocessor
configure:1355: checking for a BSD compatible install
configure:1614: checking for lber.h
configure:1654: checking for ldap.h
configure:1695: checking for ldap_ssl.h
configure:1781: checking for nsswitch.h
configure:1942: checking for thread.h
configure:1982: checking for pthread.h
configure:2022: checking for synch.h
configure:2062: checking for malloc.h
configure:2102: checking for shadow.h
configure:2142: checking for prot.h
configure:2182: checking for port_before.h
configure:2222: checking for port_after.h
configure:2262: checking for aliases.h
configure:2302: checking for net/route.h
configure:2342: checking for netinet/if_ether.h
configure:2382: checking for netinet/ether.h
configure:2422: checking for ctype.h
configure:2462: checking for db.h
configure:2502: checking for db1/db.h
configure:2542: checking for db_185.h
configure:2582: checking for db3/db_185.h
configure:2622: checking for alignof.h
configure:2662: checking for rpc/rpcent.h
configure:2702: checking for sys/byteorder.h
configure:2742: checking for sys/un.h
configure:2782: checking for libc-lock.h
configure:2822: checking for bits/libc-lock.h
configure:2862: checking for sasl.h
configure:2862: checking for sasl/sasl.h
configure:2902: checking for strings.h
configure:2942: checking for gssldap.h
configure:2982: checking for gsssasl.h
configure:3022: checking for gssapi/gssapi_krb5.h
configure:3060: checking for main in -lresolv
configure:3103: checking for main in -lnsl
configure:3149: checking for strtok_r
configure:3205: checking for sigset
configure:3261: checking for res_search
configure:3317: checking for dn_expand
configure:3373: checking for snprintf
configure:3429: checking for gethostbyname
configure:3485: checking for nsdispatch
configure:3541: checking for pthread_atfork
configure:3597: checking for ether_aton
configure:3653: checking for ether_ntoa
configure:3708: checking for struct ether_addr
configure:3721: /usr/local/bin/gcc -c -g -O2 -Wall -fPIC -DLDAP_REFERRALS -DLDAP_D
EPRECATED -D_REENTRANT -I. -DHPUX conftest.c 1>&5
configure: In function `main':
configure:3717: storage size of `x' isn't known
configure:3717: warning: unused variable `x'
configure: failed program was:
#line 3710 "configure"
#include "confdefs.h"
#include
#include
#include
#include
#include
int main() {
struct ether_addr x;
; return 0; }
configure:3739: checking for socklen_t
configure:3749: /usr/local/bin/gcc -c -g -O2 -Wall -fPIC -DLDAP_REFERRALS -DLDAP_D
EPRECATED -D_REENTRANT -I. -DHPUX conftest.c 1>&5
configure: In function `main':
configure:3745: warning: unused variable `len'
configure:3771: checking for dlopen in -ldl
configure:3811: checking for main in -ldb
configure:3847: checking for gss_krb5_ccache_name in -lgssapi_krb5
configure:3889: checking for main in -llber
configure:3932: checking for main in -lldap
configure:4248: checking for ldap_gss_bind in -lgssldap
configure:4291: checking for ldap_init
configure:4291: checking for ldap_get_lderrno
configure:4291: checking for ldap_parse_result
configure:4291: checking for ldap_memfree
configure:4291: checking for ldap_controls_free
configure:4347: checking for ldap_ld_free
configure:4347: checking for ldap_explode_rdn
configure:4347: checking for ldap_set_option
configure:4347: checking for ldap_get_option
configure:4403: checking for ldap_sasl_interactive_bind_s
configure:4403: checking for ldap_initialize
configure:4459: checking for ldap_create_control
configure:4459: checking for ldap_create_page_control
configure:4459: checking for ldap_parse_page_control
configure:4516: checking for ldapssl_client_init
configure:4516: checking for ldap_start_tls_s
configure:4516: checking for ldap_pvt_tls_set_option
configure:4573: checking for gethostbyname_r
configure:4665: checking for ldap_set_rebind_proc
configure:4719: checking whether ldap_set_rebind_proc takes 3 arguments
#
		1 REPLY 1
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-23-2004 12:40 AM
04-23-2004 12:40 AM
			
				
					
						
							Re: HP-UX 11.00 : nss_ldap compil error
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
You might want to repost this in the HP-UX forum, but here's my 2c.
HP has their own packages for LDAP integration, called ldap-ux. I've also tried the nss_ldap stuff which didn't really work out for me. You'd want to go with the NativeLdapClient section of that page. ldap-ux includes nss-ldap and pam modules.
You can find ldap-ux here:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=J4269AA
HTH,
Robert
		
		
	
	
	
You might want to repost this in the HP-UX forum, but here's my 2c.
HP has their own packages for LDAP integration, called ldap-ux. I've also tried the nss_ldap stuff which didn't really work out for me. You'd want to go with the NativeLdapClient section of that page. ldap-ux includes nss-ldap and pam modules.
You can find ldap-ux here:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=J4269AA
HTH,
Robert
	linux: the choice of a GNU generation
			
			
				
			
			
			
			
			
			
		The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP