Re: [Perlgssapi-developer] http://search.cpan.org/~agrolms/GSSAPI-0.14/GSSAPI.pm
Brought to you by:
achimgrolms
From: Leif J. <le...@it...> - 2006-02-08 12:03:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Merijn Broeren wrote: > 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? I think it is a good ide although as a person who also does his own software packaging I should warn you that second-guessing the linker that way is a loaded gun pointed at your foot. But you already know that :-) I say go ahead! MVH leifj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD6d318Jx8FtbMZncRAreOAJ46udSOCRHYAOHIdskheRV25rl6PgCdFSfp K9gXppen/m79LhIGZJ5BP28= =fDd+ -----END PGP SIGNATURE----- |