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"

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to