[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling php to slink



Hi 

I'm trying to compile the latest php in a slink system. During
compilation i get the following errors:


-- cd apache && cc -shared -fPIC -DCOMPILE_DL=1 -I.. -I.
-I/usr/include/apache-1.3 -I/usr/include/c-client -o imap.so
../functions/imap.c /usr/lib/c-client.a -lc
cd apache && cc -shared -fPIC -DCOMPILE_DL=1 -I.. -I.
-I/usr/include/apache-1.3 -o xml.so ../functions/xml.c -lxmlparse
-lxmltok -lc
cd apache && cc -shared -fPIC -DCOMPILE_DL=1 -I.. -I.
-I/usr/include/apache-1.3 -o ldap.so ../functions/ldap.c -lldap -llber
-lc
In file included from ../functions/ldap.c:66:
../functions/php3_ldap.h:43: lber.h: No such file or directory
In file included from ../functions/php3_ldap.h:44,
                 from ../functions/ldap.c:66:
/usr/include/ldap.h:579: proto-ldap.h: No such file or directory

but dpkg -S proto-ldap.h says :

umich-libldap-dev: /usr/include/umich-ldap/proto-ldap.h

So this should work, or do I have to install openldap to get it to
compile.

BTW. If anyone has the latest php compiled to slink and doesn't mind
sharing, i would appreciate it.

Thanks

        Mario Filipe 
        mjnf@uevora.pt
        http://neptuno.sc.uevora.pt/~mjnf


Reply to: