Help Compiling Apache 1.2.0 on Linux 2.0.27 == Help VirtualHost Cgi Directory

Help Compiling Apache 1.2.0 on Linux 2.0.27 == Help VirtualHost Cgi Directory

Post by Jerome Schevin » Wed, 23 Jul 1997 04:00:00



Hi

Answer By Email Please !

==================================================================
I have a problem of compilation on Apache 1.2.0 on Linux 2.0.27 :

gcc -c -Iregex  -O2 -DLINUX=2   buff.c
In file included from buff.c:66:
/usr/include/sys/uio.h:33: redefinition of `struct iovec'
make: *** [buff.o] Error 1

Anyone know this problems ??
===================================================================

===================================================================
I use Apache 1.1.3 and i want create a cgi-bin directory for a
VirtualHost (different) !

Ex: http://www.domaine1.com/cgi-bin/       =>   /usr/www/domaine1/cgi-bin/
Ex: http://www.domaine2.com/cgi-bin/       =>   /usr/www/domaine2/cgi-bin/

on one Linux machine

Thanks for your help

------------------------------------------------------------------------
    ("`-/")_.-'"``-._        Jerome Schevingt - Ingenieur Unix/Windows
     . . `; -._    )-;-,_`)          

   _.- _..-_/ / ((.'      
 ((,.-'   ((,/                          http://www.avo.fr
AVO France SARL
21 Avenue de Firminy
F-43110 Aurec sur Loire
FRANCE
------------------------------------------------------------------------
Toute reception d'e-Mail commercial non sollicite, sera consideree comme
une attaque de mon serveur de mail et donnera lieu a des ripostes ...
------------------------------------------------------------------------

 
 
 

Help Compiling Apache 1.2.0 on Linux 2.0.27 == Help VirtualHost Cgi Directory

Post by Marc Slemk » Thu, 24 Jul 1997 04:00:00



Quote:>Hi
>Answer By Email Please !

No.

Quote:>==================================================================
>I have a problem of compilation on Apache 1.2.0 on Linux 2.0.27 :
>gcc -c -Iregex  -O2 -DLINUX=2   buff.c
>In file included from buff.c:66:
>/usr/include/sys/uio.h:33: redefinition of `struct iovec'
>make: *** [buff.o] Error 1
>Anyone know this problems ??

Read the FAQ.

Quote:>===================================================================
>===================================================================
>I use Apache 1.1.3 and i want create a cgi-bin directory for a
>VirtualHost (different) !
>Ex: http://www.domaine1.com/cgi-bin/   =>   /usr/www/domaine1/cgi-bin/
>Ex: http://www.domaine2.com/cgi-bin/   =>   /usr/www/domaine2/cgi-bin/
>on one Linux machine

Read the docs.

People, this newsgroup isn't around for you to ask dumb questions
that are clearly documented.

 
 
 

Help Compiling Apache 1.2.0 on Linux 2.0.27 == Help VirtualHost Cgi Directory

Post by Curt Bousqu » Sat, 26 Jul 1997 04:00:00



>==================================================================
>I have a problem of compilation on Apache 1.2.0 on Linux 2.0.27 :

>gcc -c -Iregex  -O2 -DLINUX=2   buff.c
>In file included from buff.c:66:
>/usr/include/sys/uio.h:33: redefinition of `struct iovec'
>make: *** [buff.o] Error 1

>Anyone know this problems ??

        From the FAQ at http://www.apache.org/docs/misc/FAQ.html#linuxiovec :

"Why do I get complaints about redefinition of "struct iovec" when compiling
under Linux?

    This is a conflict between your C library includes and your kernel
includes. You need to make sure that the versions of both are  matched
properly. There are two workarounds, either one will solve the problem:

        Remove the definition of struct iovec from your C library includes. It
is located in /usr/include/sys/uio.h. Or, Add -DNO_WRITEV to the EXTRA_CFLAGS
line in your Configuration and reconfigure/rebuild. This hurts performance  
and should only be used as a last resort. "

+++++++++++++++++++++++++++          
Curt Bousquet
http://www.webrover.com/ia/

 
 
 

1. Problem Compiling Apache SSL on LinuX 2.0.27

Hey All,

I try to build a https daemon with apache-1.1.1 and SSLeay-0.6.5.
But I cannot compile apache on my Linux System.

I think all patches and configs are OK, but ...

cc -c -O2 -DSTATUS -L/usr/local/msql/lib -I/usr/local/msql/include
-DLINUX -m486 -DAPACHE_SSL -I/usr/local/ssl/include -L/usr/local/ssl/lib
apache_ssl.c
apache_ssl.c: In function `SSLFixups':
apache_ssl.c:186: `SSL_TXT_NULL_WITH_MD5' undeclared (first use this
function)
apache_ssl.c:186: (Each undeclared identifier is reported only once
apache_ssl.c:186: for each function it appears in.)
apache_ssl.c:188: `SSL_TXT_RC4_128_WITH_MD5' undeclared (first use this
function)
apache_ssl.c:190: `SSL_TXT_RC4_128_EXPORT40_WITH_MD5' undeclared (first
use this function)
apache_ssl.c:192: `SSL_TXT_RC2_128_CBC_WITH_MD5' undeclared (first use
this function)
apache_ssl.c:194: `SSL_TXT_RC2_128_CBC_EXPORT40_WITH_MD5' undeclared
(first use this function)
apache_ssl.c:196: `SSL_TXT_IDEA_128_CBC_WITH_MD5' undeclared (first use
this function)
apache_ssl.c:198: `SSL_TXT_DES_64_CBC_WITH_MD5' undeclared (first use
this function)
apache_ssl.c:200: `SSL_TXT_DES_64_CBC_WITH_SHA' undeclared (first use
this function)
apache_ssl.c:202: `SSL_TXT_DES_192_EDE3_CBC_WITH_MD5' undeclared (first
use this function)
apache_ssl.c:204: `SSL_TXT_DES_192_EDE3_CBC_WITH_SHA' undeclared (first
use this function)
apache_ssl.c:206: `SSL_TXT_DES_64_CFB64_WITH_MD5_1' undeclared (first
use this function)
apache_ssl.c:208: `SSL_TXT_NULL' undeclared (first use this function)
make: *** [apache_ssl.o] Error 1

any ideas ??? please help

regards

Georg

2. adaptive unix command executor

3. HELP! compiling 2.0.27

4. Reading is much more interesting than TV (0555/1708)

5. NYS 0.27.4 Compile Problems - help

6. SURVEY: Graphics card benchmarks under XFree86 (14 Dec 94)

7. Help needed to compile libc-4.6.27 with nys-0.27

8. I/O ERROR

9. compiling 2.0.27 Kernel : Help

10. Apache cgi-bin execution directory: Help!!!

11. Please help with Apache: index on cgi directories

12. Apache/CGI directory access problem -- please help.

13. CGI directories in VirtualHosts