On Tue, Jul 20, 1999 at 03:30:21PM +0100, Mario Jorge Nunes Filipe wrote: > 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 > [EMAIL PROTECTED] > http://neptuno.sc.uevora.pt/~mjnf > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null >
You might try commenting out some of the stuff in debian/rules unless you really need _ALL_ of those extension modules. Also, unless you want the apache and the CGI version, change build-arch-stamp: apache-stamp cgi-stamp to build-arch-stamp: apache-stamp to just build the apache version or: build-arch-stamp: cgi-stamp to just build the CGI version. As for your LDAP problem, manually modifying the line in debian/rules and adding an '-I/usr/include/umich-ldap' shouldn't hurt anything. -- Stephen Pitts [EMAIL PROTECTED] webmaster - http://www.mschess.org

