Re: [Perlgssapi-developer] [rt.cpan.org #48732] look for krb5-config in /usr/kerberos/bin
Brought to you by:
achimgrolms
From: Achim G. <ac...@gr...> - 2009-08-15 14:40:19
|
Hello Mark, if you run the the "perl Makefile.PL" in this way: perl Makefile.PL --gssapiimpl /usr/kerberos You can always specify the path where to look for krb5_config utility. (run "perl Makefile.PL --help" for all available options). In general the GSSAPI-Makefile.PL does not look into the PATH environment, it makes direct use of the systems /usr/bin/which for searching for krb5-config and it's path. From that point of view I suppose if you can make your sudo-toolchain properly run the "which krb5-config" the other parts will work fine. Does this help on your problem? Best Regards, Achim On Saturday 15 August 2009, Mark Hedges via RT wrote: > Fri Aug 14 18:31:29 2009: Request 48732 was acted upon. > Transaction: Ticket created by MARKLE > Queue: GSSAPI > Subject: look for krb5-config in /usr/kerberos/bin > Broken in: 0.26 > Severity: (no value) > Owner: Nobody > Requestors: MA...@cp... > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=48732 > > > > CentOS 5.3 krb5-workstation package installs krb5-* utils in > /usr/kerberos/bin and /usr/kerberos/sbin, and adds the bin to the > default PATH. As root I can use CPAN to build the package, but when I > use `sudo perl -MCPAN -e shell` or sudo a script that uses CPAN > directly, CPAN does not use my PATH or root's PATH, and it fails to find > the config script. Is it safe to look for krb5-config in > /usr/kerberos/bin if it does not find it in the available PATH? |