On Fri, Jul 11, 2008 at 2:08 PM, Mike Gerdts <[EMAIL PROTECTED]> wrote:
> On Fri, Jul 11, 2008 at 7:55 AM, Dennis Clarke <[EMAIL PROTECTED]> wrote:
>> On Fri, Jul 11, 2008 at 3:24 AM, Moinak Ghosh <[EMAIL PROTECTED]> wrote:
>>> On Fri, Jul 11, 2008 at 3:07 AM, Dennis Clarke <[EMAIL PROTECTED]> wrote:
>>>> I'm trying to figure out .. what is wrong. It could be me or it could
>>>> be my system state .. not too sure.
>>>>
>>>> I cna build samba 3.2.0 on a trusty old Solaris 8 x86 machine without
>>>> much fanfare :
>>>>
>>> [...]> but with os200805 I can not get past configure. There are complaints
>>>> about libpam at the very least :
>>>>
>>>> http://www.blastwave.org/dclarke/stuff/samba_on_os200805.txt
>>>>
>>>> any thoughts ?
>>>
>>>   The contents of config.log will be more helpful in figuring this.
>>
>> it is somewhat long
>>
>> http://www.blastwave.org/dclarke/stuff/samba-3.2.0-build_config_num.log
>>
>> with line numbers added ... I'll start surfing along it to see the issue.
>
> It is really a problem with kerberos (/bin/krb5-config), not PAM.
>
>
> 153029  configure:63539: checking for pam_get_data in -lpam
> 153030  configure:63572: cc -o conftest -I/usr/include/kerberosv5 -O
> -D_SAMBA_BUILD_=3  -I/usr/include/kerberosv5 -I/opt/csw/include
> -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Iinclude
> -I../samba-3.2.0/source/include  -I. -I../samba-3.2.0/source
> -I../samba-3.2.0/source/lib/replace -I../samba-3.2.0/source/lib/talloc
> -I../samba-3.2.0/source/lib/tdb/include
> -I../samba-3.2.0/source/libaddns -I../samba-3.2.0/source/librpc
> -I../samba-3.2.0/source/popt -I/opt/csw/include -DLDAP_DEPRECATED
> /bin/krb5-config: Unknown option `gssapi' -- use `--help' for usage
> -lthread  -L./bin -L/opt/csw/lib conftest.c -lpam   -lresolv   -lnsl
> -lsocket   -liconv >&5
> 153031  "conftest.c", line 518: warning: statement not reached
> 153032  ld: fatal: file /bin/krb5-config:: open failed: No such file or 
> directory
> 153033  ld: fatal: file Unknown: open failed: No such file or directory
> 153034  ld: fatal: file option: open failed: No such file or directory
> 153035  ld: fatal: file `gssapi': open failed: No such file or directory
> 153036  ld: fatal: file use: open failed: No such file or directory
> 153037  ld: fatal: file `--help': open failed: No such file or directory
> 153038  ld: fatal: file for: open failed: No such file or directory
> 153039  ld: fatal: file usage: open failed: No such file or directory
> 153040  ld: fatal: File processing errors. No output written to conftest
> 153041  configure:63578: $? = 1
> 153042  configure: failed program was:
>
>
> Grumble.  krb5-config writes errors to stdout.
>
> $ /bin/krb5-config gssapi
> /bin/krb5-config: Unknown option `gssapi' -- use `--help' for usage
>
> $ /bin/krb5-config gssapi >/dev/null
>
> Looks to me like line 92 of krb5-config needs "1>&2" appended.
>
> $ cat -n /usr/bin/krb5-config | grep for.usage
>    92              echo "$0: Unknown option \`$1' -- use \`--help' for usage"

I'll need to dig into that .. good eye thanks !

If I can get it to build and run some tests then I can push a patch
upstream to allow it to build on OpenSolaris.

looking in http://www.blastwave.org/dclarke/stuff/samba_on_os200805.txt I see

checking netinet/ip.h usability... no
checking netinet/ip.h presence... yes
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h:     check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: see the Autoconf documentation
configure: WARNING: netinet/ip.h:     section "Present But Cannot Be Compiled"
configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip.h: in the future, the compiler will
take precedence
configure: WARNING:     ## ---------------------------------------- ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ---------------------------------------- ##

and further down

checking for krb5_encrypt_data in -lk5crypto... no
checking for des_set_key in -lcrypto... no
checking for copy_Authenticator in -lasn1... no
checking for roken_getaddrinfo_hostspec in -lroken... no
checking for gss_display_status in -lgssapi... no
checking for krb5_mk_req_extended in -lkrb5... no
checking for krb5_kt_compare in -lkrb5... no
checking for gss_display_status in -lgssapi_krb5... no
checking for krb5_set_real_time... no
checking for krb5_set_default_in_tkt_etypes... no
checking for krb5_set_default_tgs_enctypes... no
checking for krb5_set_default_tgs_ktypes... no
checking for krb5_principal2salt... no
checking for krb5_use_enctype... no
checking for krb5_string_to_key... no
checking for krb5_get_pw_salt... no
checking for krb5_string_to_key_salt... no
checking for krb5_auth_con_setkey... no
checking for krb5_auth_con_setuseruserkey... no
checking for krb5_locate_kdc... no
checking for krb5_get_permitted_enctypes... no
checking for krb5_get_default_in_tkt_etypes... no
checking for krb5_free_data_contents... no
checking for krb5_principal_get_comp_string... no
checking for krb5_free_unparsed_name... no
checking for krb5_free_keytab_entry_contents... no
checking for krb5_kt_free_entry... no
checking for krb5_krbhst_init... no
checking for krb5_krbhst_get_addrinfo... no
checking for krb5_c_enctype_compare... no
checking for krb5_enctypes_compatible_keys... no
checking for krb5_crypto_init... no
checking for krb5_crypto_destroy... no
checking for krb5_decode_ap_req... no
checking for free_AP_REQ... no
checking for krb5_verify_checksum... no
checking for krb5_c_verify_checksum... no
checking for krb5_principal_compare_any_realm... no
checking for krb5_parse_name_norealm... no
checking for krb5_princ_size... no
checking for krb5_get_init_creds_opt_set_pac_request... no
checking for krb5_get_renewed_creds... no
checking for krb5_get_kdc_cred... no
checking for krb5_free_error_contents... no
checking for initialize_krb5_error_table... no
checking for krb5_get_init_creds_opt_alloc... no
checking for krb5_get_init_creds_opt_free... no
checking for krb5_get_init_creds_opt_get_error... no
checking for krb5_enctype_to_string... no
checking whether krb5_ticket contains kvno and enctype... yes
checking whether krb5_get_init_creds_opt_free takes a context argument... yes
checking whether krb5_verify_checksum takes 7 arguments... 7
checking for checksum in krb5_checksum... no
checking for etype in EncryptedData... no
checking for ticket pointer in krb5_ap_req... yes
checking for e_data pointer in krb5_error... no
checking for krb5_crypto type... no
checking for krb5_encrypt_block type... yes
checking for addrtype in krb5_address... yes
checking for addr_type in krb5_address... no
checking for enc_part2 in krb5_ticket... yes
checking for keyblock in krb5_creds... yes
checking for session in krb5_creds... no
checking for keyvalue in krb5_keyblock... no
checking for ENCTYPE_ARCFOUR_HMAC_MD5... no
checking for KEYTYPE_ARCFOUR_56... no
checking for AP_OPTS_USE_SUBKEY... yes
checking for KV5M_KEYTAB... yes
checking for KRB5_KU_OTHER_CKSUM... no
checking for KRB5_KEYUSAGE_APP_DATA_CKSUM... yes
checking for the krb5_princ_component macro... no
checking for key in krb5_keytab_entry... yes
checking for keyblock in krb5_keytab_entry... no
checking for magic in krb5_address... yes
checking for WRFILE: keytab support... no
checking for krb5_princ_realm returns krb5_realm or krb5_data... no
checking for krb5_addresses type... no
checking whether krb5_mk_error takes 3 arguments MIT or 9 Heimdal... yes
checking for krb5_principal_get_realm... no
checking for krb5_princ_realm... no
configure: WARNING: krb5_mk_req_extended not found in -lkrb5
configure: WARNING: no CREATE_KEY_FUNCTIONS detected
configure: WARNING: no GET_ENCTYPES_FUNCTIONS detected
configure: WARNING: no KT_FREE_FUNCTION detected
configure: WARNING: no KRB5_VERIFY_CHECKSUM_FUNCTION detected
configure: WARNING: krb5 libs don't have all features required for
Active Directory support

Funny thing .. the check for "checking for krb5_encrypt_data in
-lk5crypto... no" does not even happen in Solaris 8 x86 at all.
Wild.

Dennis
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to