dynamic libraries

From: Date: Tue, 28 Nov 2000 13:08:36 +0000
Subject: dynamic libraries
Groups: php.dev 
Request: Send a blank email to php-dev+get-39389@lists.php.net to get a copy of this message
Hi there, I'm trying to compile the sample code of the Zend API doc. I copy/pasted exactly the compile command of the tutorial but I allways become the compile error: cc -fpic -DCOMPILE_DL=1 -I/usr/local/include -I. -I.. -I../Zend -I./first_mo dule -c -o ./first_module/first_module.o ./first_module/first_module.c ./first_module/first_module.c:2: php.h: No such file or directory ok, I added -I../main - but then I get: cc -fpic -DCOMPILE_DL=1 -I/usr/local/include -I. -I.. -I../Zend -I../main -I ./first_module -c -o ./first_module/first_module.o ./first_module/first_module.c ../main/php.h:298: tsrm_virtual_cwd.h: No such file or directory well, then I added -I../main/TSRM too - but then still I get: cc -fpic -DCOMPILE_DL=1 -I/usr/local/include -I. -I.. -I../Zend -I../main -I ../main/TSRM -I./first_module -c -o ./first_module/first_module.o ./first_module/first_module.c ../main/php.h:298: tsrm_virtual_cwd.h: No such file or directory This file IS THERE!! so what's wrong here? and how many directories to I get to add until it will compile properly? thanks Thomas PS: Sorry for double posting

« previous php.dev (#39389) next »