Nejde mi kompilace MySQL a nefunguje PHP3

Oto Buchta oto_b na krtek.buchtovi.cz
Pondělí Říjen 26 15:42:49 CET 1998


Jiz nekolik dni se pokousim rozjet zde velmi propagovanou kombinaci
Apache, PHP a MySQL.
Stahnul jsem si apache-1.3.3, php-3.0.5 a mysql-3.21.33b.
Postupoval jsem podle navoduuu.
Prelozit mysql se mi nepodarilo.
Hlasi mi neco jako:
--------------------------------------------------
gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -I./../include -I./.. -I..  -O3 -g -O2
-DDBUG_OFF -c complete.c
complete.c: In function `filename_completion_function':
complete.c:1427: syntax error before `*'
complete.c:1441: `directory' undeclared (first use this function)
complete.c:1441: (Each undeclared identifier is reported only once
complete.c:1441: for each function it appears in.)
complete.c:1444: `DIR' undeclared (first use this function)
complete.c:1444: parse error before `)'
complete.c:1501: warning: assignment makes pointer from integer without a cast
complete.c:1507: dereferencing pointer to incomplete type
complete.c:1508: dereferencing pointer to incomplete type
complete.c:1509: dereferencing pointer to incomplete type
complete.c:1509: dereferencing pointer to incomplete type
complete.c:1518: dereferencing pointer to incomplete type
complete.c:1518: dereferencing pointer to incomplete type
complete.c:1518: dereferencing pointer to incomplete type
complete.c:1519: dereferencing pointer to incomplete type
complete.c:1525: dereferencing pointer to incomplete type
complete.c:1526: dereferencing pointer to incomplete type
complete.c:1527: dereferencing pointer to incomplete type
complete.c:1538: parse error before `)'
complete.c:1566: dereferencing pointer to incomplete type
complete.c:1579: dereferencing pointer to incomplete type
complete.c:1583: dereferencing pointer to incomplete type
complete.c:1586: dereferencing pointer to incomplete type
complete.c:1586: dereferencing pointer to incomplete type
make: *** [complete.o] Error 1
 -----------------------------------------
Problem je tedy nekde v souboru complete.c .
Dobre, rekl jsem si. Zkusim zatim apache+php jako modul.
Prelozim php jako modul, prelozim apache s modulem php3,
prekopiruju httpd do /usr/sbin , do srm.conf pridam 
AddType application/x-httpd-php3 .php3 ,
restartuju httpd
a netscape mi soubor s priponou .php3 chce ulozit na disk jako neznamy
MIME-type.
Ted prave zkousim prelozit php jako cgi, to snad pujde.

Delam nekde neco blbe, nebo je well-known-fact, ze tato kompinace nefunguje
a ze v mysql je nejaka chyba?

Diky,
	Telcontar


Další informace o konferenci Linux