>
> 3. Install Apache
>       $ wget -c http://www.apache.org/dist/httpd/apache_1.3.33.tar.gz
>       $ tar zxvf apache_1.3.33.tar.gz
>       $ cd apache_1.3.33
>       $ CC="gcc" OPTIM="-O2" ./configure --with-port=5635 --server-uid=tuyong1
> --server-gid=publish --prefix=/usr/home/tuyong/apache \
>       --enable-module=so \
>       --enable-module=rewrite --enable-shared=rewrite \
>       --enable-rule=EAPI
>       $ make
>       $ make install

You do compile Apache here...


> 5. Install Apache
>       $ tar zxvf apache_1.3.33.tar.gz
>       $ cd apache_1.3.33
>       $ CC="gcc" OPTIM="-O2" ./configure --with-port=5635 --server-uid=tuyong1
> --server-gid=publish  --prefix=/usr/home/tuyong/apache \
>          --enable-module=so \
>          --enable-shared=rewrite
>       $ make
>       $ make install

... and here with different options.

> 8. Install autoconf(midgard-php need aclocal)

PHP needs aclocal.

> -I/usr/home/tuyong/install/Midgard_AllinOne/midgard-php4-1.6.3/include
> -I/usr/home/tuyong/install/Midgard_AllinOne/midgard-php4-1.6.3/main
> -I/usr/home/tuyong/install/Midgard_AllinOne/midgard-php4-1.6.3
> -I/usr/local/include/php -I/usr/local/include/php/main
> -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/include
> -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include 
> -I/usr/local/include
> -I/usr/local/mysql/include/mysql -I/usr/home/tuyong/apache/include 
> -DHAVE_CONFIG_H
> -g -O2 -c 
> /usr/home/tuyong/install/Midgard_AllinOne/midgard-php4-1.6.3/sitegroup.c
> -fPIC -DPIC -o .libs/sitegroup.o
> In file included from /usr/home/tuyong/apache/include/httpd.h:29,
>                  from /usr/local/include/midgard/apache.h:25,
>                  from
> /usr/home/tuyong/install/Midgard_AllinOne/midgard-php4-1.6.3/php_midgard.h:69,
>                  from
> /usr/home/tuyong/install/Midgard_AllinOne/midgard-php4-1.6.3/mgd_internal.h:27,
>                  from
> /usr/home/tuyong/install/Midgard_AllinOne/midgard-php4-1.6.3/sitegroup.c:21:
> /usr/home/tuyong/apache/include/ap_config.h:1084: warning: `closesocket' 
> redefined
> /usr/local/include/php/main/php_network.h:32: warning: this is the location 
> of the
> previous definition

I am not sure if anyone here can help. You should ask at PHP and Apache 
developers
lists.
php_network.h defines closesocket for the second time when it was already 
defined in
ap_config.h.

Piotras


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to