not _that_ fixed....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

in fact i got it in the ./configure --help :

pierre@debian:~/phpsource/php-4.3.9$ ./configure --help | grep -i spider
  --enable-spider           Enable spider support
pierre@debian:~/phpsource/php-4.3.9$

which is okay. but if i run make, i got a few lines about it like :

gcc  -Iext/spider/ -I/home/pierre/phpsource/php-4.3.9/ext/spider/ 
-DPHP_ATOM_INC -I/home/pierre/phpsource/php-4.3.9/include 
-I/home/pierre/phpsource/php-4.3.9/main -I/home/pierre/phpsource/php-4.3.9 
-I/home/pierre/phpsource/php-4.3.9/Zend 
-I/home/pierre/phpsource/php-4.3.9/ext/xml/expat  
-I/home/pierre/phpsource/php-4.3.9/TSRM  -g -O2  
-c /home/pierre/phpsource/php-4.3.9/ext/spider/spider.c -o 
ext/spider/spider.o  && echo > ext/spider/spider.lo

and it goes without any error about my module.
so, as the tutorial specifies it, i run the script created with my extension :

pierre@debian:~/phpsource/php-4.3.9$ php -f ext/spider/spider.php

Warning: dl(): Unable to load dynamic library 
'/usr/lib/php4/20020429/spider.so' - /usr/lib/php4/20020429/spider.so: cannot 
open shared object file: No such file or directory 
in /home/pierre/phpsource/php-4.3.9/ext/spider/spider.php on line 3
Functions available in the test extension:<br>

Warning: Invalid argument supplied for foreach() 
in /home/pierre/phpsource/php-4.3.9/ext/spider/spider.php on line 8
<br>
Module spider is not compiled into PHP
pierre@debian:~/phpsource/php-4.3.9$

after checking, i see this: 

pierre@debian:~/phpsource/php-4.3.9$ ls ext/spider/
CREDITS  EXPERIMENTAL  config.m4  php_spider.h  spider.c  spider.lo  spider.o  
spider.php  tests
pierre@debian:~/phpsource/php-4.3.9$

The module is NOT created :'(
Did i forget something in config.m4 ??? 
something i didn't get in the tutorial ???
http://www.php.net/manual/fr/zend.build.php
no idea...

Anyone ? please, i'm kinda lost 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux