Ik probeer een website to hosten op ons intranet met behulp van een SLES 11 machine (suse linux). Op deze SLES machine wil ik Apache2 samen laten werken met PHP en mysql.
Om Apache te laten werken en te compileren heb ik al de volgende onderdelen gedaan:
pcre2-10.20.tar.gz uit gepakt en het volgende commando gegeven: ./configure --prefix=/usr/local/pcre. Daarna make en make install. Hier ik heb ik geen fout melding gezien
Hierna heb ik httpd-2.4.18.tar.gz uitgepakt en in /v1/Download/httpd-2.4.18 gezet.
Vervolgens heb ik apr-1.5.2.tar.gz en apr-util-1.5.4.tar.gz uitgepakt in in /v1/Download/httpd-2.4.18/srclib gezet
Via Yast heb ik gcc geïnstalleerd en gcc-c++ (om te testen al dit wel werkt.)
Hierna heb ik dit commando uit gevoerd in de httpd-2.4.18 map: ./configure --prefix=/v1/install/apache2/ --with-pcre=/usr/local/pcre/bin/pcre2-config --with-included-apr
Wanneer ik make doe dan krijg in de volgende fout melding:
[/quote]
util_pcre.c: In function 'ap_regfree':
util_pcre.c:104: error: 'pcre_free' undeclared (first use in this function)
util_pcre.c:104: error: (Each undeclared identifier is reported only once
util_pcre.c:104: error: for each function it appears in.)
util_pcre.c: In function 'ap_regcomp':
util_pcre.c:128: error: 'PCRE_DUPNAMES' undeclared (first use in this function)
util_pcre.c:131: error: 'PCRE_CASELESS' undeclared (first use in this function)
util_pcre.c:133: error: 'PCRE_MULTILINE' undeclared (first use in this function)
util_pcre.c:135: error: 'PCRE_DOTALL' undeclared (first use in this function)
util_pcre.c:138: warning: implicit declaration of function 'pcre_compile2'
util_pcre.c:138: warning: assignment makes pointer from integer without a cast
util_pcre.c:151: warning: implicit declaration of function 'pcre_fullinfo'
util_pcre.c:151: error: expected ')' before 'pcre'
util_pcre.c:151: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:151: warning: cast from pointer to integer of different size
util_pcre.c:152: error: 'PCRE_INFO_CAPTURECOUNT' undeclared (first use in this function)
util_pcre.c: In function 'ap_regexec_len':
util_pcre.c:189: error: 'PCRE_NOTBOL' undeclared (first use in this function)
util_pcre.c:191: error: 'PCRE_NOTEOL' undeclared (first use in this function)
util_pcre.c:207: warning: implicit declaration of function 'pcre_exec'
util_pcre.c:207: error: expected ')' before 'pcre'
util_pcre.c:207: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:207: warning: cast from pointer to integer of different size
util_pcre.c:230: error: 'PCRE_ERROR_NOMATCH' undeclared (first use in this function)
util_pcre.c:232: error: 'PCRE_ERROR_NULL' undeclared (first use in this function)
util_pcre.c:234: error: 'PCRE_ERROR_BADOPTION' undeclared (first use in this function)
util_pcre.c:236: error: 'PCRE_ERROR_BADMAGIC' undeclared (first use in this function)
util_pcre.c:238: error: 'PCRE_ERROR_UNKNOWN_NODE' undeclared (first use in this function)
util_pcre.c:240: error: 'PCRE_ERROR_NOMEMORY' undeclared (first use in this function)
util_pcre.c: In function 'ap_regname':
util_pcre.c:269: error: expected ')' before 'pcre'
util_pcre.c:269: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:269: warning: cast from pointer to integer of different size
util_pcre.c:270: error: 'PCRE_INFO_NAMECOUNT' undeclared (first use in this function)
util_pcre.c:271: error: expected ')' before 'pcre'
util_pcre.c:271: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:271: warning: cast from pointer to integer of different size
util_pcre.c:272: error: 'PCRE_INFO_NAMEENTRYSIZE' undeclared (first use in this function)
util_pcre.c:273: error: expected ')' before 'pcre'
util_pcre.c:273: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:273: warning: cast from pointer to integer of different size
util_pcre.c:274: error: 'PCRE_INFO_NAMETABLE' undeclared (first use in this function)
make[2]: *** [util_pcre.lo] Error 1
make[2]: Leaving directory `/v1/Downloads/httpd-2.4.18/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/v1/Downloads/httpd-2.4.18/server'
make: *** [all-recursive] Error 1
[quote]
Weet iemand hoe ik deze foutmelding kan op lossen?
Relevante software en hardware die ik gebruik
SLES 11 SP4 is zo kaal mogelijk geïnstalleerd, er zit dus ook geen gui op, alleen command line
Wat ik al gevonden of geprobeerd heb
schone installatie SLES11
andere pcre, apache, apr en apr-util versies
Om Apache te laten werken en te compileren heb ik al de volgende onderdelen gedaan:
pcre2-10.20.tar.gz uit gepakt en het volgende commando gegeven: ./configure --prefix=/usr/local/pcre. Daarna make en make install. Hier ik heb ik geen fout melding gezien
Hierna heb ik httpd-2.4.18.tar.gz uitgepakt en in /v1/Download/httpd-2.4.18 gezet.
Vervolgens heb ik apr-1.5.2.tar.gz en apr-util-1.5.4.tar.gz uitgepakt in in /v1/Download/httpd-2.4.18/srclib gezet
Via Yast heb ik gcc geïnstalleerd en gcc-c++ (om te testen al dit wel werkt.)
Hierna heb ik dit commando uit gevoerd in de httpd-2.4.18 map: ./configure --prefix=/v1/install/apache2/ --with-pcre=/usr/local/pcre/bin/pcre2-config --with-included-apr
Wanneer ik make doe dan krijg in de volgende fout melding:
[/quote]
util_pcre.c: In function 'ap_regfree':
util_pcre.c:104: error: 'pcre_free' undeclared (first use in this function)
util_pcre.c:104: error: (Each undeclared identifier is reported only once
util_pcre.c:104: error: for each function it appears in.)
util_pcre.c: In function 'ap_regcomp':
util_pcre.c:128: error: 'PCRE_DUPNAMES' undeclared (first use in this function)
util_pcre.c:131: error: 'PCRE_CASELESS' undeclared (first use in this function)
util_pcre.c:133: error: 'PCRE_MULTILINE' undeclared (first use in this function)
util_pcre.c:135: error: 'PCRE_DOTALL' undeclared (first use in this function)
util_pcre.c:138: warning: implicit declaration of function 'pcre_compile2'
util_pcre.c:138: warning: assignment makes pointer from integer without a cast
util_pcre.c:151: warning: implicit declaration of function 'pcre_fullinfo'
util_pcre.c:151: error: expected ')' before 'pcre'
util_pcre.c:151: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:151: warning: cast from pointer to integer of different size
util_pcre.c:152: error: 'PCRE_INFO_CAPTURECOUNT' undeclared (first use in this function)
util_pcre.c: In function 'ap_regexec_len':
util_pcre.c:189: error: 'PCRE_NOTBOL' undeclared (first use in this function)
util_pcre.c:191: error: 'PCRE_NOTEOL' undeclared (first use in this function)
util_pcre.c:207: warning: implicit declaration of function 'pcre_exec'
util_pcre.c:207: error: expected ')' before 'pcre'
util_pcre.c:207: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:207: warning: cast from pointer to integer of different size
util_pcre.c:230: error: 'PCRE_ERROR_NOMATCH' undeclared (first use in this function)
util_pcre.c:232: error: 'PCRE_ERROR_NULL' undeclared (first use in this function)
util_pcre.c:234: error: 'PCRE_ERROR_BADOPTION' undeclared (first use in this function)
util_pcre.c:236: error: 'PCRE_ERROR_BADMAGIC' undeclared (first use in this function)
util_pcre.c:238: error: 'PCRE_ERROR_UNKNOWN_NODE' undeclared (first use in this function)
util_pcre.c:240: error: 'PCRE_ERROR_NOMEMORY' undeclared (first use in this function)
util_pcre.c: In function 'ap_regname':
util_pcre.c:269: error: expected ')' before 'pcre'
util_pcre.c:269: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:269: warning: cast from pointer to integer of different size
util_pcre.c:270: error: 'PCRE_INFO_NAMECOUNT' undeclared (first use in this function)
util_pcre.c:271: error: expected ')' before 'pcre'
util_pcre.c:271: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:271: warning: cast from pointer to integer of different size
util_pcre.c:272: error: 'PCRE_INFO_NAMEENTRYSIZE' undeclared (first use in this function)
util_pcre.c:273: error: expected ')' before 'pcre'
util_pcre.c:273: warning: type defaults to 'int' in declaration of 'type name'
util_pcre.c:273: warning: cast from pointer to integer of different size
util_pcre.c:274: error: 'PCRE_INFO_NAMETABLE' undeclared (first use in this function)
make[2]: *** [util_pcre.lo] Error 1
make[2]: Leaving directory `/v1/Downloads/httpd-2.4.18/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/v1/Downloads/httpd-2.4.18/server'
make: *** [all-recursive] Error 1
[quote]
Weet iemand hoe ik deze foutmelding kan op lossen?
Relevante software en hardware die ik gebruik
SLES 11 SP4 is zo kaal mogelijk geïnstalleerd, er zit dus ook geen gui op, alleen command line
Wat ik al gevonden of geprobeerd heb
schone installatie SLES11
andere pcre, apache, apr en apr-util versies