No, it just looks like your compiler version is a little far ahead of the
one the LDAP developers used. As long as they're just warnings (not
errors), keep going. Make sure you test the finished product, although
these particular warnings appear harmless.

--Jim--


                                                                       
  From:       "Jones, Russell" <[EMAIL PROTECTED]>               
                                                                       
  To:         [email protected]                                  
                                                                       
  Date:       10/09/2008 02:12 PM                                      
                                                                       
  Subject:    Re: Add LDAP support to PHP                              
                                                                       





I also found a lot of the following types of messages in the output for
the package build:

/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_connect':
/tmp/php-4.3.10/ext/ldap/ldap.c:390: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_entries':
/tmp/php-4.3.10/ext/ldap/ldap.c:914: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_attributes':
/tmp/php-4.3.10/ext/ldap/ldap.c:1046: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_values':
/tmp/php-4.3.10/ext/ldap/ldap.c:1096: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/standard/url.c: In function `php_url_parse_ex':
/tmp/php-4.3.10/ext/standard/url.c:102: warning: assignment discards
qualifiers from pointer target type
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c: In function `zif_shm_get_var':
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c:316: warning: passing arg 2 of
`php_var_unserialize' from incompatible pointer type

Do I need to have some type of ldap package installed to do this build?

Russell Jones
ANPAC

-----Original Message-----
From: Jones, Russell
Sent: Thursday, October 09, 2008 11:37 AM
To: 'Linux on 390 Port'
Subject: RE: Add LDAP support to PHP

I got the new php package installed and it seems to be functioning. Now
I am seeing the following error in the apache log when I attempt to bind
to ldap:

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/php_ldap.dll' -
/usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No
such file or directory in Unknown on line 0

I don't have the php_ldap.dll, but the phpinfo page shows that ldap is
installed. Was I missing something when I build my package?

Russell Jones
ANPAC

-----Original Message-----
From: Linux on 390 Port [?mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Thursday, October 09, 2008 10:03 AM
To: [email protected]
Subject: Re: Add LDAP support to PHP

>>> On 10/9/2008 at 10:26 AM, in message
<[EMAIL PROTECTED]>
,
"Jones, Russell" <[EMAIL PROTECTED]> wrote:
> I did find apxs on my system and the path in the script is correct, so
I
> don't think that is the problem. I also see the following in my
output:
>
> ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No
> such file or directory
> configure: error: Aborting
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> make: *** No rule to make target `distclean'.  Stop.
> chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or
> directory
>
> I wonder if the perl path is wrong. Perl on my system in at
> /usr/bin/perl, but I don't see anywhere in the build script to set the
> perl path.

I've run into similar problems with packages not being able to figure
out where things were.  The simplest thing to do is to create a symbolic
link:
ln -s /usr/bin/perl /usr/local/bin/perl


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

Reply via email to