hi
i was just  searching for a module to Apache virtual hosting into a DB (
MySQL preferred ) . and i came across this  website. I  have major difficult
in installing this module on to  my already existing Apache ( 2.2.8 )
 server. I followed the following tutorial to install LAMP
(  http://linux-vashi.blogspot.com/2008/03/how-to-install-lamp-29308.html )

now from  this website ( http://flagera.com/mod_shapvh/ ) i downloaded the
following into my /usr/local/src directory :
mod_shapvh.c <http://flagera.com/mod_shapvh/mod_shapvh.c>
mod_shapvh.o <http://flagera.com/mod_shapvh/mod_shapvh.o>
mod_shapvh.so <http://flagera.com/mod_shapvh/mod_shapvh.so>


then i try to add this module with the following command

/usr/local/apache2/bin/apxs  -i -c -L/usr/local/mysql/lib -l mysqlclient
/usr/local/src/mod_shapvh.c

and i get he following error

[EMAIL PROTECTED] /usr/local/src >#/usr/local/apache2/bin/apxs  -i -c
-L/usr/local/mysql/lib -l mysqlclient  /usr/local/src/mod_shapvh.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread
-I/usr/local/apache2/include  -I/usr/local/apache2/include
-I/usr/local/apache2/include   -c -o /usr/local/src/mod_shapvh.lo
/usr/local/src/mod_shapvh.c && touch /usr/local/src/mod_shapvh.slo
/usr/local/src/mod_shapvh.c:74:25: error: mysql/mysql.h: No such file or
directory
/usr/local/src/mod_shapvh.c:83: error: expected specifier-qualifier-list
before 'MYSQL'
/usr/local/src/mod_shapvh.c:97: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'shapvh_module'
/usr/local/src/mod_shapvh.c: In function 'shapvh_setup':
/usr/local/src/mod_shapvh.c:101: error: 'shapvh_module' undeclared (first
use in this function)

can you help here to install this module

thanks a million !!


-- 

सादर
Agnello Dsouza

Reply via email to