From: Rafael C. <Raf...@li...> - 2001-05-04 08:12:13
|
I would say that the problem is that you're using make from Borland, and as far as I know, this is not really compatible with standard Unix "make" (SUN make, GNU make etc...) I think... Can't you install cygwin and do your job from bash? This would use the GNU make and I think it should work better. Rafael -----Original Message----- From: Kai-Loon Kok [mailto:war...@us...] Sent: vendredi, 4. mai 2001 05:29 To: Essa_Mohammad@TD.COM; per...@li... Subject: Re: (no subject) Hi Essa, I think it is the problem from makefile, would it be possible for you to send the makefile for review? As the error reported on line 133 and line 788. Regards Kai-Loon Kok ----- Original Message ----- From: <Essa_Mohammad@TD.COM> To: <per...@li...> Cc: <Wayne_Cripps@TD.COM> Sent: Friday, May 04, 2001 1:25 AM Subject: (no subject) > > > To: PERL-LDAP AUTHOR(s) > From: Essa Mohammad > Location: TD Bank, Canada > > Operating System: Windows's NT > > Project Description: > > We have a web based application written in ORACLE using Oracle Web > Toolkit. We want to verify user name and the password using CA-LDAP which talks > to our host where all the user id's and passwords reside. I am trying to use > per-ldap to meet our requirements. > > Error: > > After decompressing all the files, I applied the follwing command: > > perl Makefile.PL (This step was succssful) > > > > Then the following command was applied: > > make > and I got the follwing error: > > (Embedded image moved to file: > pic14031.pcx) > > It seems that there is a problem with the makefile. > > I tried to install Convert::ASN1 package, but that also failed > when I applied make command. > > I will appreciate if you could provide me any suggestion to come > accross this error. > > Thanks > > Essa > > e-mail: Ess...@td... > Ph: (416) 308-2353 > > |
From: Graham B. <gb...@po...> - 2000-07-28 09:39:01
|
----- Forwarded message from Alex Kilimnik <sac...@ya...> ----- Date: Thu, 27 Jul 2000 23:01:19 -0700 (PDT) From: Alex Kilimnik <sac...@ya...> Subject: Re: (no subject) To: Graham Barr <gb...@po...> Graham: Thank you for your assistance regarding the version. I have come to another roadblock and have not found any documentation on the error I am receiving from Perl during the execution of the script. The error I am receiving from perl is "Died at ldap.pl line 9". Below is a copy of my code which I modeled after your example in the perldoc. I apologize for bothering you, I am new to LDAP. use Net::LDAP; $ldap = Net::LDAP->new('x.x.x.x') or die "$@"; $ldap->bind; $results = $ldap->search( base => "o=xxxxxx.com", filter => ="(&(sn=Jones))" ); $results->code && die $results->error; foreach $entry ($results->entries) { print "$entry->dump\n"; } $ldap->unbind; Thanks in advance for any assistance. Regards, Alex __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ ----- End forwarded message ----- |
From: Jim H. <ha...@us...> - 2000-07-28 21:15:17
|
Use $results->code && die Net::LDAP::Util::ldap_error_text($results->code) instead of $results->code && die $results->error; to get the correct error text --Jim Harle On Fri, 28 Jul 2000, Graham Barr wrote: > ----- Forwarded message from Alex Kilimnik <sac...@ya...> ----- > > I have come to another roadblock and have not found > any documentation on the error I am receiving from > Perl during the execution of the script. The error I > am receiving from perl is "Died at ldap.pl line 9". > > Below is a copy of my code which I modeled after > your example in the perldoc. I apologize for > bothering > you, I am new to LDAP. > > use Net::LDAP; > > $ldap = Net::LDAP->new('x.x.x.x') or die "$@"; > $ldap->bind; > $results = $ldap->search( base => "o=xxxxxx.com", > filter => ="(&(sn=Jones))" > ); > $results->code && die $results->error; > foreach $entry ($results->entries) { > print "$entry->dump\n"; > } > $ldap->unbind; > > > Thanks in advance for any assistance. > > Regards, > Alex > > __________________________________________________ > Do You Yahoo!? > Kick off your party with Yahoo! Invites. > http://invites.yahoo.com/ > > > ----- End forwarded message ----- > > |
From: Graham B. <gb...@po...> - 2000-07-29 22:55:18
|
I know we have talked about this before, but this needs to be fixed. There should be a method which will always return something. Or Net::LDAP::Util needs to be referenced by the docs in ::Message for ->code, but whatever this needs to be made easier to find. Graham. On Fri, Jul 28, 2000 at 05:15:12PM -0400, Jim Harle wrote: > Use > $results->code && die Net::LDAP::Util::ldap_error_text($results->code) > instead of > $results->code && die $results->error; > to get the correct error text > > --Jim Harle > > On Fri, 28 Jul 2000, Graham Barr wrote: > > > ----- Forwarded message from Alex Kilimnik <sac...@ya...> ----- > > > > I have come to another roadblock and have not found > > any documentation on the error I am receiving from > > Perl during the execution of the script. The error I > > am receiving from perl is "Died at ldap.pl line 9". > > > > Below is a copy of my code which I modeled after > > your example in the perldoc. I apologize for > > bothering > > you, I am new to LDAP. > > > > use Net::LDAP; > > > > $ldap = Net::LDAP->new('x.x.x.x') or die "$@"; > > $ldap->bind; > > $results = $ldap->search( base => "o=xxxxxx.com", > > filter => ="(&(sn=Jones))" > > ); > > $results->code && die $results->error; > > foreach $entry ($results->entries) { > > print "$entry->dump\n"; > > } > > $ldap->unbind; > > > > > > Thanks in advance for any assistance. > > > > Regards, > > Alex > > > > __________________________________________________ > > Do You Yahoo!? > > Kick off your party with Yahoo! Invites. > > http://invites.yahoo.com/ > > > > > > ----- End forwarded message ----- > > > > > > |
From: Chris R. <chr...@me...> - 2000-07-30 16:07:37
|
Graham Barr <gb...@po...> wrote: > print "$entry->dump\n"; That would work better as: print $entry->dump, "\n"; Cheers, Chris |
From: Graham B. <gb...@po...> - 2001-05-04 08:50:28
|
Perl on Win32 does support various make's but you must build extensions with the same make that was used to build perl. This is because they do have different formats and MakeMaker uses the Config module to determine which format to output. If you have perl from ActiveState installed then I belive you need to have nmake, but as I am not a windows user I have no idea where to get it Graham. On Fri, May 04, 2001 at 10:11:33AM +0200, Rafael Corvalan wrote: > I would say that the problem is that you're using make from Borland, and as > far as I know, this is not really compatible with standard Unix "make" (SUN > make, GNU make etc...) > I think... > Can't you install cygwin and do your job from bash? This would use the GNU > make and I think it should work better. > Rafael > > -----Original Message----- > From: Kai-Loon Kok [mailto:war...@us...] > Sent: vendredi, 4. mai 2001 05:29 > To: Essa_Mohammad@TD.COM; per...@li... > Subject: Re: (no subject) > > > Hi Essa, > > I think it is the problem from makefile, would it be possible for you to > send the makefile for review? As the error reported on line 133 and line > 788. > > Regards > Kai-Loon Kok > > ----- Original Message ----- > From: <Essa_Mohammad@TD.COM> > To: <per...@li...> > Cc: <Wayne_Cripps@TD.COM> > Sent: Friday, May 04, 2001 1:25 AM > Subject: (no subject) > > > > > > > > To: PERL-LDAP AUTHOR(s) > > From: Essa Mohammad > > Location: TD Bank, Canada > > > > Operating System: Windows's NT > > > > Project Description: > > > > We have a web based application written in ORACLE using > Oracle Web > > Toolkit. We want to verify user name and the password using CA-LDAP which > talks > > to our host where all the user id's and passwords reside. I am trying to > use > > per-ldap to meet our requirements. > > > > Error: > > > > After decompressing all the files, I applied the follwing > command: > > > > perl Makefile.PL (This step was > succssful) > > > > > > > > Then the following command was applied: > > > > make > > and I got the follwing error: > > > > (Embedded image moved to file: > > pic14031.pcx) > > > > It seems that there is a problem with the makefile. > > > > I tried to install Convert::ASN1 package, but that also > failed > > when I applied make command. > > > > I will appreciate if you could provide me any suggestion > to come > > accross this error. > > > > Thanks > > > > Essa > > > > e-mail: Ess...@td... > > Ph: (416) 308-2353 > > > > > > > |
From: Clif H. <cl...@di...> - 2001-05-04 12:35:45
|
I have used nmake to install several modules in activestate perl. Nmake is part of the Visual Studio package. Also there is a version floating around that is not tied to Visual Studio. Regards, Clif Harden INTERNET: c-h...@ti... > > Perl on Win32 does support various make's but you must build extensions > with the same make that was used to build perl. This is because they do > have different formats and MakeMaker uses the Config module to determine > which format to output. > > If you have perl from ActiveState installed then I belive you need > to have nmake, but as I am not a windows user I have no idea where to get it > > Graham. > > On Fri, May 04, 2001 at 10:11:33AM +0200, Rafael Corvalan wrote: > > I would say that the problem is that you're using make from Borland, and as > > far as I know, this is not really compatible with standard Unix "make" (SUN > > make, GNU make etc...) > > I think... > > Can't you install cygwin and do your job from bash? This would use the GNU > > make and I think it should work better. > > Rafael > > > > -----Original Message----- > > From: Kai-Loon Kok [mailto:war...@us...] > > Sent: vendredi, 4. mai 2001 05:29 > > To: Essa_Mohammad@TD.COM; per...@li... > > Subject: Re: (no subject) > > > > > > Hi Essa, > > > > I think it is the problem from makefile, would it be possible for you to > > send the makefile for review? As the error reported on line 133 and line > > 788. > > > > Regards > > Kai-Loon Kok > > > > ----- Original Message ----- > > From: <Essa_Mohammad@TD.COM> > > To: <per...@li...> > > Cc: <Wayne_Cripps@TD.COM> > > Sent: Friday, May 04, 2001 1:25 AM > > Subject: (no subject) > > > > > > > > > > > > > To: PERL-LDAP AUTHOR(s) > > > From: Essa Mohammad > > > Location: TD Bank, Canada > > > > > > Operating System: Windows's NT > > > > > > Project Description: > > > > > > We have a web based application written in ORACLE using > > Oracle Web > > > Toolkit. We want to verify user name and the password using CA-LDAP which > > talks > > > to our host where all the user id's and passwords reside. I am trying to > > use > > > per-ldap to meet our requirements. > > > > > > Error: > > > > > > After decompressing all the files, I applied the follwing > > command: > > > > > > perl Makefile.PL (This step was > > succssful) > > > > > > > > > > > > Then the following command was applied: > > > > > > make > > > and I got the follwing error: > > > > > > (Embedded image moved to file: > > > pic14031.pcx) > > > > > > It seems that there is a problem with the makefile. > > > > > > I tried to install Convert::ASN1 package, but that also > > failed > > > when I applied make command. > > > > > > I will appreciate if you could provide me any suggestion > > to come > > > accross this error. > > > > > > Thanks > > > > > > Essa > > > > > > e-mail: Ess...@td... > > > Ph: (416) 308-2353 > > > > > > > > > > > > > > -- |
From: Graham B. <gb...@po...> - 2001-05-04 12:41:48
Attachments:
install-nomake
|
The attached script should also install things for those who do not have make. It must be run from within the perl-ldap directory Graham. On Fri, May 04, 2001 at 07:36:42AM -0500, Clif Harden wrote: > > > I have used nmake to install several modules in activestate perl. > > Nmake is part of the Visual Studio package. Also there is a > version floating around that is not tied to Visual Studio. > > Regards, |
From: Pete <pl...@oz...> - 2001-05-05 12:02:08
|
> If you have perl from ActiveState installed then I belive you need > to have nmake, but as I am not a windows user I have no idea where to get it I should have added that bit of info in. nmake is microsoft and freely available. I don't have an URL, but a google search should locate it. If not, then the person affected is welcome to email me, and I'll find it at work and send it on. Pete. |