You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1997/09/17 22:44:18 UTC

compile error (fwd)

not acked.

---------- Forwarded message ----------
Date: Sun, 24 Aug 1997 17:55:09 +0200
From: "Dr. Gunter Georgi" <gg...@fh-lausitz.de>
To: apache-bugs@apache.org
Subject: compile error

I got a error massage after following the INSTALL-instructions. Please
can you give me help?

there are more informations:

lausitz:[apache_1.2.4] >uname -a
Linux lausitz 2.0.29 #1 Fri Aug 22 12:46:42 MET DST 1997 i486

make
(cd regex; make lib CC=gcc AUX_CFLAGS='-O2 -DLINUX=2 -DSTATUS '
RANLIB='ranlib')
make[1]: Entering directory `/usr/local/etc/apache/src/regex'
rm -f *.o
sh ./mkh  -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c
>regex.tmp
cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
rm -f regex.tmp
sh ./mkh  -p regcomp.c >regcomp.ih
gcc -I. -DPOSIX_MISTAKE -O2 -DLINUX=2 -DSTATUS    -c regcomp.c -o
regcomp.o
sh ./mkh  -p engine.c >engine.ih
gcc -I. -DPOSIX_MISTAKE -O2 -DLINUX=2 -DSTATUS    -c regexec.c -o
regexec.o
sh ./mkh  -p regerror.c >regerror.ih
gcc -I. -DPOSIX_MISTAKE -O2 -DLINUX=2 -DSTATUS    -c regerror.c -o
regerror.o
gcc -I. -DPOSIX_MISTAKE -O2 -DLINUX=2 -DSTATUS    -c regfree.c -o
regfree.o
rm -f libregex.a
ar crv libregex.a regcomp.o regexec.o regerror.o regfree.o
c - regcomp.o
c - regexec.o
c - regerror.o
c - regfree.o
ranlib libregex.a
make[1]: Leaving directory `/usr/local/etc/apache/src/regex'
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   alloc.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_main.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_core.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_config.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_request.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_log.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_protocol.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   rfc1413.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   util.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   util_script.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   modules.c
gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   buff.c
In file included from buff.c:66:
/usr/include/sys/uio.h:33: redefinition of `struct iovec'
make: *** [buff.o] Error 1

Then I try to use the Linux pre-compiled Version: 
apache_1.2.4-i486-whatever-linux2.tar.gz, in src/ is the file

 httpd-i486-whatever-linux2 what I renamed to httpd, and I got:

/usr/local/etc/apache/src/httpd -f /usr/local/etc/apache/conf/httpd.conf
bash: /usr/local/etc/apache/src/httpd: No such file or directory


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"to boldly go on - where no man had gone before!"
Dr. Gunter Georgi
D.-Heszmer-Platz 29 A
D-01979 Lauchhammer-Mitte
+49 3574 3364
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Re: compile error (fwd)

Posted by Dean Gaudet <dg...@arctic.org>.
See <http://www.apache.org/docs/misc/FAQ.html#linuxiovec>.

Dean

On Wed, 17 Sep 1997, Rob Hartill wrote:

> 
> not acked.
> 
> ---------- Forwarded message ----------
> Date: Sun, 24 Aug 1997 17:55:09 +0200
> From: "Dr. Gunter Georgi" <gg...@fh-lausitz.de>
> To: apache-bugs@apache.org
> Subject: compile error
> 
> I got a error massage after following the INSTALL-instructions. Please
> can you give me help?
> 
> there are more informations:
> 
> lausitz:[apache_1.2.4] >uname -a
> Linux lausitz 2.0.29 #1 Fri Aug 22 12:46:42 MET DST 1997 i486
> 
> make
> (cd regex; make lib CC=gcc AUX_CFLAGS='-O2 -DLINUX=2 -DSTATUS '
> RANLIB='ranlib')
> make[1]: Entering directory `/usr/local/etc/apache/src/regex'
> rm -f *.o
> sh ./mkh  -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c
> >regex.tmp
> cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
> rm -f regex.tmp
> sh ./mkh  -p regcomp.c >regcomp.ih
> gcc -I. -DPOSIX_MISTAKE -O2 -DLINUX=2 -DSTATUS    -c regcomp.c -o
> regcomp.o
> sh ./mkh  -p engine.c >engine.ih
> gcc -I. -DPOSIX_MISTAKE -O2 -DLINUX=2 -DSTATUS    -c regexec.c -o
> regexec.o
> sh ./mkh  -p regerror.c >regerror.ih
> gcc -I. -DPOSIX_MISTAKE -O2 -DLINUX=2 -DSTATUS    -c regerror.c -o
> regerror.o
> gcc -I. -DPOSIX_MISTAKE -O2 -DLINUX=2 -DSTATUS    -c regfree.c -o
> regfree.o
> rm -f libregex.a
> ar crv libregex.a regcomp.o regexec.o regerror.o regfree.o
> c - regcomp.o
> c - regexec.o
> c - regerror.o
> c - regfree.o
> ranlib libregex.a
> make[1]: Leaving directory `/usr/local/etc/apache/src/regex'
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   alloc.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_main.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_core.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_config.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_request.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_log.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   http_protocol.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   rfc1413.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   util.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   util_script.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   modules.c
> gcc -c -Iregex  -O2 -DLINUX=2 -DSTATUS   buff.c
> In file included from buff.c:66:
> /usr/include/sys/uio.h:33: redefinition of `struct iovec'
> make: *** [buff.o] Error 1
> 
> Then I try to use the Linux pre-compiled Version: 
> apache_1.2.4-i486-whatever-linux2.tar.gz, in src/ is the file
> 
>  httpd-i486-whatever-linux2 what I renamed to httpd, and I got:
> 
> /usr/local/etc/apache/src/httpd -f /usr/local/etc/apache/conf/httpd.conf
> bash: /usr/local/etc/apache/src/httpd: No such file or directory
> 
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "to boldly go on - where no man had gone before!"
> Dr. Gunter Georgi
> D.-Heszmer-Platz 29 A
> D-01979 Lauchhammer-Mitte
> +49 3574 3364
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
>