Re: [Perlgssapi-developer] http://search.cpan.org/~agrolms/GSSAPI-0.14/GSSAPI.pm
Brought to you by:
achimgrolms
|
From: Merijn B. <me...@il...> - 2006-02-08 11:37:18
|
Quoting Achim Grolms (per...@gr...):
> I have uploaded 0.14.
>
> I think that this is a first "make footprint" release,
> and more releases have to follow
>
Great, thanks again for picking this up.
I've got an issue with the build process now. I like very much that I
can pass an argument to Makefile.PL which is used to find the kerberos
libraries. But for me this is right now not working, for two reasons.
One to do with MakeMaker and one with our subtle setup.
Here is the output of Makefile.PL right now:
Searching krb5-config
command...//ms/dist/kerberos/PROJ/mitkrb5/1.4-lib-prod/bin/krb5-config
using GSSAPI implementation Kerberos 5 release 1.4.3
Using libconfiguration
-L/ms/dist/kerberos/PROJ/mitkrb5/1.4.3-ms0/.exec/ia32.linux.2.4.lib6/lib
-Wl,-rpath
-Wl,/ms/dist/kerberos/PROJ/mitkrb5/1.4.3-ms0/.exec/ia32.linux.2.4.lib6/lib
-lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv
Setting MIT defines
using own defines
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '-Wl,-rpath'
Unrecognized argument in LIBS ignored: '-Wl,/ms/dist/kerberos/PROJ/mitkrb5/1.4.3-ms0/.exec/ia32.linux.2.4.lib6/lib'
Writing Makefile for GSSAPI
Which seems quite reasonable. Except that I want to use 1.4-lib-prod,
which is a symlink to the actual version 1.4.3-ms0. This symlink can be
changed at a later date, so I don't have to recompile the perl GSSAPI
module if I want to address a bug for instance. The krb5-config is too
specific (I could change that ofcourse). This is debatable and I can
agree it is just my problem to deal with.
The second problem is more of an issue, the ignoring if the -Wl
arguments. These are needed at link time, otherwise I don't get a proper
runpath. I can set these using LDDLFLAGS as well as LIBS in
WriteMakefile.
So I propose a mechanism that allows me (and probably other control
freaks) to set the LIBS, INC and LDDLFLAGS directly. See attached patch.
Any objections?
Cheers,
--
Merijn Broeren | Sometime in the middle ages, God got fed up with us
Software Geek | and put earth at sol.milky-way.univ in his kill-file.
| Pray all you want, it just gets junked.
|