Toon posts:

PHP configureren met CURL ondersteuning :(

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hallo,

Ik probeer PHP 4.4.2 met CURL te installeren op Red Hat Linux 9, maar krijg telkens een error bij

commando: ./configure --with-curl=/usr

Bij het onderdeel "Configuring extensions" krijg ik de volgende melding

checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.


Dit staat in de config.log

configure:12036: checking for yp_get_default_domain
configure:12064: gcc -o conftest -g -O2 conftest.c 1>&5
/tmp/ccmBojkd.o(.text+0xa): In function `main':
/var/sadmin/install/php-4.4.2/configure:12058: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12041 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char yp_get_default_domain(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char yp_get_default_domain();

int main() {

/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_yp_get_default_domain) || defined (__stub___yp_get_default_domain)
choke me
#else


Iemand die mij kan helpen?

  • moto-moi
  • Registratie: Juli 2001
  • Laatst online: 09-06-2011

moto-moi

Ja, ik haat jou ook :w

Requirements

In order to use PHP's CURL functions you need to install the libcurl package. PHP requires that you use libcurl 7.0.2-beta or higher. In PHP 4.2.3, you will need libcurl version 7.9.0 or higher. From PHP 4.3.0, you will need a libcurl version that's 7.9.8 or higher. PHP 5.0.0 requires a libcurl version 7.10.5 or greater.
Volgens mij ben je iets vergeten ? ;)

God, root, what is difference? | Talga Vassternich | IBM zuigt


  • MTWZZ
  • Registratie: Mei 2000
  • Laatst online: 13-08-2021

MTWZZ

One life, live it!

Zo te zien heeft jouw glibc een probleem met NIS. Ik weet niet hoe de Red Hat glibc gecompiled is dus daar zou je nog even naar kunnen kijken.

Nu met Land Rover Series 3 en Defender 90