in reply to Help compiling perldap1.4

Thanks for the information, I downloaded the patch, but have another question. Where do I find information on how to apply this patch?

Replies are listed 'Best First'.
Re^2: Help compiling perldap1.4
by tachyon (Chancellor) on Jul 08, 2004 at 04:05 UTC

    The patch itself is broken and needs s/NA/na/g to work. Either do that in your favourite editor or with perl -pi -e 's/NA/na/g' patch.1 or use the patched patch above. You apply it using patch(1)

    [root@devel3 perldap-1.4]# patch -l -i patch.1 patching file typemap patching file API.xs [root@devel3 perldap-1.4]#

    cheers

    tachyon

      Thank you all for the help on this. I was able to patch, make and install this module. Note: I had to use the ldapsdk3.0E libraries instead of the 4.1E libraries, since I continued to get errors on the make. Again thank you.
Re^2: Help compiling perldap1.4
by PodMaster (Abbot) on Jul 08, 2004 at 04:04 UTC
    You use the patch program. If you had scrolled down on the same page you got the patch you'd have seen
    [guest - Thu Feb 7 14:58:24 2002]: > Due to changes in the PERL XS variable naming scheme (presumed to ha +ve > happened with 5.6), > several changes to the typemap and API.xs files are needed to build > perldap with perl v5.6.1. > > The attached patch provides those fixes and the result has been > successfully tested both with > the test package provided as well as against several current LDAP > servers I have access to. > > --Kurt Andersen This patch needs s/NA/na/g to work properly. Apply like this if you don't know already. # patch -l -i patch.1 patching file typemap patching file API.xs #

    update: Didn't notice the date (Wed Jul 7 23:59:21 2004 ) on that comment, I guess it wasn't there before. Good work tachyon.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.