phpbar.de logo

Mailinglisten-Archive

[php] Call to undefined function: ldap_connect()

[php] Call to undefined function: ldap_connect()

Matthias Mahrholz php_(at)_phpcenter.de
Tue, 07 Aug 2001 10:18:05 +0200


This is a multi-part message in MIME format.
--------------8A3D82A8539E19A1DF9670BB
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hallo, 

> was sagte er bei der Ausgabe des Configures ? Nicht immer bricht er ab
> wenn er etwas nicht findet. Solltest du es gleich nocheinmal versuchen
> bitte dran denken den Sourcetree vorher aufzuraeumen, also make
> distclean bzw. rm config.cache .
> 
distclean habe ich jetzt gemacht, config.cache ist nicht da.

> Im nachhinein findet man seine Extensions aber im phpinfo() wieder.

Wo ist phpinfo()?

Hier mal Auszüge aus den Protokollen (neuer Versuch mit distclean):
$ ./configure ...
        .
	.
	.
+--------------------------------------------------------------------+
|                       *** ATTENTION ***                            |
|                                                                    |
| Something is likely to be messed up here, because the configure    |
| script was not able to detect a simple feature on your platform.   |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages.                         |
|                                                                    |
| If you are unable to fix this, send the file debug.log to the      |
| php-install_(at)_lists.php.net mailing list and include appropiate      |
| information about your setup.                                      |
+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You chose to compile PHP with the built-in MySQL support.  If you  |
| are compiling a server module, and intend to use other server      |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0,         |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and   |
| instead build it with your local MySQL support files, by adding    |
| --with-mysql=/path/to/mysql to your configure line.                |
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

$ make
        .
        .
        .
        In file included from libmysql.c:12:
        m_string.h:180: parse error before `__extension__'
        m_string.h:180: parse error before `&&'
        make[4]: *** [libmysql.lo] Error 1
        make[4]: Leaving directory `/home/php/ext/mysql/libmysql'
        make[3]: *** [all-recursive] Error 1
        make[3]: Leaving directory `/home/php/ext/mysql/libmysql'
        make[2]: *** [all-recursive] Error 1
        make[2]: Leaving directory `/home/php/ext/mysql'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/home/php/ext'
        make: *** [all-recursive] Error 1

$ make install
        .
        .
        .
        In file included from libmysql.c:12:
        m_string.h:180: parse error before `__extension__'
        m_string.h:180: parse error before `&&'
        make[4]: *** [libmysql.lo] Error 1
        make[4]: Leaving directory `/home/php/ext/mysql/libmysql'
        make[3]: *** [install-recursive] Error 1
        make[3]: Leaving directory `/home/php/ext/mysql/libmysql'
        make[2]: *** [install-recursive] Error 1
        make[2]: Leaving directory `/home/php/ext/mysql'
        make[1]: *** [install-recursive] Error 1
        make[1]: Leaving directory `/home/php/ext'
        make: *** [install-recursive] Error 1


Welche Version muss ich eigentlich nehmen?
ldap-3.3 oder openldap-2.0.11?
(Ich habe es mit beiden probiert)


Gruß

Matthias Mahrholz
--------------8A3D82A8539E19A1DF9670BB
Content-Type: text/x-vcard; charset=us-ascii;
 name="Matthias.Mahrholz.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Matthias Mahrholz 
Content-Disposition: attachment;
 filename="Matthias.Mahrholz.vcf"

begin:vcard 
n:Mahrholz;Matthias
tel;fax:0391-67 11134
tel;work:0391-67 18406
x-mozilla-html:TRUE
org:Otto-von-Guericke-Universität Magdeburg;Universitätsrechenzentrum
adr:;;Universitätsplatz 2;Magdeburg;;39106;
version:2.1
email;internet:Matthias.Mahrholz_(at)_URZ.Uni-Magdeburg.DE
title:Dipl.-Ing.
note;quoted-printable:---------------=0D=0A<br>=0D=0APostanschrift:=0D=0A<br>=0D=0APostfach 4120=0D=0A<br>=0D=0AMagdeburg=0D=0A<br>=0D=0A39016<br>=0D=0A---------------=0D=0A<p>=0D=0A=0D=0A
x-mozilla-cpt:;12192
fn:Matthias Mahrholz
end:vcard

--------------8A3D82A8539E19A1DF9670BB--



php::bar PHP Wiki   -   Listenarchive