Hello
There seems to be some problems with apache...i'm trying to upgrade it. but it just doesnt seem to work i tried upgrading it to 2.0.X and 1.3.37. but both gave me identical errors
Here's what i got while trying for 1.3.37 what could be the problem?
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/modules/standard
[root@178530 apache_1.3.37]# make
===> src
make[1]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37'
make[2]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37/src'
===> src/regex
sh ./mkh -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c > ../include/hsregex.h
gcc -I. -I../os/unix -I../include -DLINUX=22 -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` -DPOSIX_MISTAKE -c -o regcomp.o regcomp.c
In file included from regcomp.c:1:
/usr/include/sys/types.h:35: parse error before "u_char"
/usr/include/sys/types.h:36: parse error before "u_short"
/usr/include/sys/types.h:37: parse error before "u_int"
/usr/include/sys/types.h:38: parse error before "u_long"
/usr/include/sys/types.h:39: parse error before "quad_t"
/usr/include/sys/types.h:40: parse error before "u_quad_t"
/usr/include/sys/types.h:41: parse error before "fsid_t"
/usr/include/sys/types.h:46: parse error before "loff_t"
/usr/include/sys/types.h:50: parse error before "ino_t"
/usr/include/sys/types.h:62: parse error before "dev_t"
/usr/include/sys/types.h:67: parse error before "gid_t"
/usr/include/sys/types.h:72: parse error before "mode_t"
/usr/include/sys/types.h:77: parse error before "nlink_t"
/usr/include/sys/types.h:82: parse error before "uid_t"
/usr/include/sys/types.h:88: parse error before "off_t"
/usr/include/sys/types.h:100: parse error before "pid_t"
/usr/include/sys/types.h:105: parse error before "id_t"
/usr/include/sys/types.h:110: parse error before "ssize_t"
/usr/include/sys/types.h:116: parse error before "daddr_t"
/usr/include/sys/types.h:117: parse error before "caddr_t"
/usr/include/sys/types.h:123: parse error before "key_t"
In file included from /usr/include/sys/types.h:133,
from regcomp.c:1:
/usr/include/time.h:76: parse error before "time_t"
/usr/include/time.h:92: parse error before "clockid_t"
/usr/include/time.h:104: parse error before "timer_t"
In file included from regcomp.c:1:
/usr/include/sys/types.h:231: parse error before "blkcnt_t"
/usr/include/sys/types.h:235: parse error before "fsblkcnt_t"
/usr/include/sys/types.h:239: parse error before "fsfilcnt_t"
In file included from /usr/include/sys/types.h:266,
from regcomp.c:1:
/usr/include/bits/pthreadtypes.h:16:3: #error "Never include <bits/pthreadtypes.h> directly; use <sys/types.h> instead."
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from regcomp.c:2:
/usr/include/_G_config.h:28: parse error before "__off_t"
/usr/include/_G_config.h:30: parse error before '}' token
/usr/include/_G_config.h:33: parse error before "__off64_t"
/usr/include/_G_config.h:35: parse error before '}' token
In file included from /usr/include/stdio.h:72,
from regcomp.c:2:
/usr/include/libio.h:292: parse error before "__off_t"
/usr/include/libio.h:311: parse error before "_offset"
/usr/include/libio.h:324: parse error before '}' token
/usr/include/libio.h:350: parse error before "__io_read_fn"
/usr/include/libio.h:358: parse error before "__io_write_fn"
/usr/include/libio.h:367: parse error before "__off64_t"
/usr/include/libio.h:466: parse error before "_IO_padn"
/usr/include/libio.h:466: parse error before "__ssize_t"
/usr/include/libio.h:469: parse error before "_IO_seekoff"
/usr/include/libio.h:469: parse error before "__off64_t"
/usr/include/libio.h:470: parse error before "_IO_seekpos"
/usr/include/libio.h:470: parse error before "__off64_t"
In file included from regcomp.c:2:
/usr/include/stdio.h:88: parse error before "fpos_t"
In file included from regcomp.c:2:
/usr/include/stdio.h:549: parse error before "fpos_t"
/usr/include/stdio.h:552: parse error before '*' token
In file included from regcomp.c:4:
/usr/include/ctype.h:83: parse error before '*' token
/usr/include/ctype.h:85: parse error before '*' token
In file included from regcomp.c:8:
../include/hsregex.h:25: parse error before "regoff_t"
../include/hsregex.h:25: warning: data definition has no type or storage class
../include/hsregex.h:33: parse error before "regoff_t"
../include/hsregex.h:33: warning: no semicolon at end of struct or union
../include/hsregex.h:34: warning: data definition has no type or storage class
../include/hsregex.h:35: warning: data definition has no type or storage class
../include/hsregex.h:73: parse error before "regmatch_t"
make[3]: *** [regcomp.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37'
make: *** [build] Error 2
[root@178530 apache_1.3.37]# make install
make[1]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37'
===> src
make[2]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37'
make[3]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37/src'
===> src/regex
gcc -I. -I../os/unix -I../include -DLINUX=22 -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` -DPOSIX_MISTAKE -c -o regcomp.o regcomp.c
In file included from regcomp.c:1:
/usr/include/sys/types.h:35: parse error before "u_char"
/usr/include/sys/types.h:36: parse error before "u_short"
/usr/include/sys/types.h:37: parse error before "u_int"
/usr/include/sys/types.h:38: parse error before "u_long"
/usr/include/sys/types.h:39: parse error before "quad_t"
/usr/include/sys/types.h:40: parse error before "u_quad_t"
/usr/include/sys/types.h:41: parse error before "fsid_t"
/usr/include/sys/types.h:46: parse error before "loff_t"
/usr/include/sys/types.h:50: parse error before "ino_t"
/usr/include/sys/types.h:62: parse error before "dev_t"
/usr/include/sys/types.h:67: parse error before "gid_t"
/usr/include/sys/types.h:72: parse error before "mode_t"
/usr/include/sys/types.h:77: parse error before "nlink_t"
/usr/include/sys/types.h:82: parse error before "uid_t"
/usr/include/sys/types.h:88: parse error before "off_t"
/usr/include/sys/types.h:100: parse error before "pid_t"
/usr/include/sys/types.h:105: parse error before "id_t"
/usr/include/sys/types.h:110: parse error before "ssize_t"
/usr/include/sys/types.h:116: parse error before "daddr_t"
/usr/include/sys/types.h:117: parse error before "caddr_t"
/usr/include/sys/types.h:123: parse error before "key_t"
In file included from /usr/include/sys/types.h:133,
from regcomp.c:1:
/usr/include/time.h:76: parse error before "time_t"
/usr/include/time.h:92: parse error before "clockid_t"
/usr/include/time.h:104: parse error before "timer_t"
In file included from regcomp.c:1:
/usr/include/sys/types.h:231: parse error before "blkcnt_t"
/usr/include/sys/types.h:235: parse error before "fsblkcnt_t"
/usr/include/sys/types.h:239: parse error before "fsfilcnt_t"
In file included from /usr/include/sys/types.h:266,
from regcomp.c:1:
/usr/include/bits/pthreadtypes.h:16:3: #error "Never include <bits/pthreadtypes.h> directly; use <sys/types.h> instead."
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from regcomp.c:2:
/usr/include/_G_config.h:28: parse error before "__off_t"
/usr/include/_G_config.h:30: parse error before '}' token
/usr/include/_G_config.h:33: parse error before "__off64_t"
/usr/include/_G_config.h:35: parse error before '}' token
In file included from /usr/include/stdio.h:72,
from regcomp.c:2:
/usr/include/libio.h:292: parse error before "__off_t"
/usr/include/libio.h:311: parse error before "_offset"
/usr/include/libio.h:324: parse error before '}' token
/usr/include/libio.h:350: parse error before "__io_read_fn"
/usr/include/libio.h:358: parse error before "__io_write_fn"
/usr/include/libio.h:367: parse error before "__off64_t"
/usr/include/libio.h:466: parse error before "_IO_padn"
/usr/include/libio.h:466: parse error before "__ssize_t"
/usr/include/libio.h:469: parse error before "_IO_seekoff"
/usr/include/libio.h:469: parse error before "__off64_t"
/usr/include/libio.h:470: parse error before "_IO_seekpos"
/usr/include/libio.h:470: parse error before "__off64_t"
In file included from regcomp.c:2:
/usr/include/stdio.h:88: parse error before "fpos_t"
In file included from regcomp.c:2:
/usr/include/stdio.h:549: parse error before "fpos_t"
/usr/include/stdio.h:552: parse error before '*' token
In file included from regcomp.c:4:
/usr/include/ctype.h:83: parse error before '*' token
/usr/include/ctype.h:85: parse error before '*' token
In file included from regcomp.c:8:
../include/hsregex.h:25: parse error before "regoff_t"
../include/hsregex.h:25: warning: data definition has no type or storage class
../include/hsregex.h:33: parse error before "regoff_t"
../include/hsregex.h:33: warning: no semicolon at end of struct or union
../include/hsregex.h:34: warning: data definition has no type or storage class
../include/hsregex.h:35: warning: data definition has no type or storage class
../include/hsregex.h:73: parse error before "regmatch_t"
make[4]: *** [regcomp.o] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37'
make: *** [install-all] Error 2
There seems to be some problems with apache...i'm trying to upgrade it. but it just doesnt seem to work i tried upgrading it to 2.0.X and 1.3.37. but both gave me identical errors
Here's what i got while trying for 1.3.37 what could be the problem?
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/modules/standard
[root@178530 apache_1.3.37]# make
===> src
make[1]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37'
make[2]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37/src'
===> src/regex
sh ./mkh -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c > ../include/hsregex.h
gcc -I. -I../os/unix -I../include -DLINUX=22 -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` -DPOSIX_MISTAKE -c -o regcomp.o regcomp.c
In file included from regcomp.c:1:
/usr/include/sys/types.h:35: parse error before "u_char"
/usr/include/sys/types.h:36: parse error before "u_short"
/usr/include/sys/types.h:37: parse error before "u_int"
/usr/include/sys/types.h:38: parse error before "u_long"
/usr/include/sys/types.h:39: parse error before "quad_t"
/usr/include/sys/types.h:40: parse error before "u_quad_t"
/usr/include/sys/types.h:41: parse error before "fsid_t"
/usr/include/sys/types.h:46: parse error before "loff_t"
/usr/include/sys/types.h:50: parse error before "ino_t"
/usr/include/sys/types.h:62: parse error before "dev_t"
/usr/include/sys/types.h:67: parse error before "gid_t"
/usr/include/sys/types.h:72: parse error before "mode_t"
/usr/include/sys/types.h:77: parse error before "nlink_t"
/usr/include/sys/types.h:82: parse error before "uid_t"
/usr/include/sys/types.h:88: parse error before "off_t"
/usr/include/sys/types.h:100: parse error before "pid_t"
/usr/include/sys/types.h:105: parse error before "id_t"
/usr/include/sys/types.h:110: parse error before "ssize_t"
/usr/include/sys/types.h:116: parse error before "daddr_t"
/usr/include/sys/types.h:117: parse error before "caddr_t"
/usr/include/sys/types.h:123: parse error before "key_t"
In file included from /usr/include/sys/types.h:133,
from regcomp.c:1:
/usr/include/time.h:76: parse error before "time_t"
/usr/include/time.h:92: parse error before "clockid_t"
/usr/include/time.h:104: parse error before "timer_t"
In file included from regcomp.c:1:
/usr/include/sys/types.h:231: parse error before "blkcnt_t"
/usr/include/sys/types.h:235: parse error before "fsblkcnt_t"
/usr/include/sys/types.h:239: parse error before "fsfilcnt_t"
In file included from /usr/include/sys/types.h:266,
from regcomp.c:1:
/usr/include/bits/pthreadtypes.h:16:3: #error "Never include <bits/pthreadtypes.h> directly; use <sys/types.h> instead."
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from regcomp.c:2:
/usr/include/_G_config.h:28: parse error before "__off_t"
/usr/include/_G_config.h:30: parse error before '}' token
/usr/include/_G_config.h:33: parse error before "__off64_t"
/usr/include/_G_config.h:35: parse error before '}' token
In file included from /usr/include/stdio.h:72,
from regcomp.c:2:
/usr/include/libio.h:292: parse error before "__off_t"
/usr/include/libio.h:311: parse error before "_offset"
/usr/include/libio.h:324: parse error before '}' token
/usr/include/libio.h:350: parse error before "__io_read_fn"
/usr/include/libio.h:358: parse error before "__io_write_fn"
/usr/include/libio.h:367: parse error before "__off64_t"
/usr/include/libio.h:466: parse error before "_IO_padn"
/usr/include/libio.h:466: parse error before "__ssize_t"
/usr/include/libio.h:469: parse error before "_IO_seekoff"
/usr/include/libio.h:469: parse error before "__off64_t"
/usr/include/libio.h:470: parse error before "_IO_seekpos"
/usr/include/libio.h:470: parse error before "__off64_t"
In file included from regcomp.c:2:
/usr/include/stdio.h:88: parse error before "fpos_t"
In file included from regcomp.c:2:
/usr/include/stdio.h:549: parse error before "fpos_t"
/usr/include/stdio.h:552: parse error before '*' token
In file included from regcomp.c:4:
/usr/include/ctype.h:83: parse error before '*' token
/usr/include/ctype.h:85: parse error before '*' token
In file included from regcomp.c:8:
../include/hsregex.h:25: parse error before "regoff_t"
../include/hsregex.h:25: warning: data definition has no type or storage class
../include/hsregex.h:33: parse error before "regoff_t"
../include/hsregex.h:33: warning: no semicolon at end of struct or union
../include/hsregex.h:34: warning: data definition has no type or storage class
../include/hsregex.h:35: warning: data definition has no type or storage class
../include/hsregex.h:73: parse error before "regmatch_t"
make[3]: *** [regcomp.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37'
make: *** [build] Error 2
[root@178530 apache_1.3.37]# make install
make[1]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37'
===> src
make[2]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37'
make[3]: Entering directory `/usr/local/directadmin/customapache/apache_1.3.37/src'
===> src/regex
gcc -I. -I../os/unix -I../include -DLINUX=22 -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` -DPOSIX_MISTAKE -c -o regcomp.o regcomp.c
In file included from regcomp.c:1:
/usr/include/sys/types.h:35: parse error before "u_char"
/usr/include/sys/types.h:36: parse error before "u_short"
/usr/include/sys/types.h:37: parse error before "u_int"
/usr/include/sys/types.h:38: parse error before "u_long"
/usr/include/sys/types.h:39: parse error before "quad_t"
/usr/include/sys/types.h:40: parse error before "u_quad_t"
/usr/include/sys/types.h:41: parse error before "fsid_t"
/usr/include/sys/types.h:46: parse error before "loff_t"
/usr/include/sys/types.h:50: parse error before "ino_t"
/usr/include/sys/types.h:62: parse error before "dev_t"
/usr/include/sys/types.h:67: parse error before "gid_t"
/usr/include/sys/types.h:72: parse error before "mode_t"
/usr/include/sys/types.h:77: parse error before "nlink_t"
/usr/include/sys/types.h:82: parse error before "uid_t"
/usr/include/sys/types.h:88: parse error before "off_t"
/usr/include/sys/types.h:100: parse error before "pid_t"
/usr/include/sys/types.h:105: parse error before "id_t"
/usr/include/sys/types.h:110: parse error before "ssize_t"
/usr/include/sys/types.h:116: parse error before "daddr_t"
/usr/include/sys/types.h:117: parse error before "caddr_t"
/usr/include/sys/types.h:123: parse error before "key_t"
In file included from /usr/include/sys/types.h:133,
from regcomp.c:1:
/usr/include/time.h:76: parse error before "time_t"
/usr/include/time.h:92: parse error before "clockid_t"
/usr/include/time.h:104: parse error before "timer_t"
In file included from regcomp.c:1:
/usr/include/sys/types.h:231: parse error before "blkcnt_t"
/usr/include/sys/types.h:235: parse error before "fsblkcnt_t"
/usr/include/sys/types.h:239: parse error before "fsfilcnt_t"
In file included from /usr/include/sys/types.h:266,
from regcomp.c:1:
/usr/include/bits/pthreadtypes.h:16:3: #error "Never include <bits/pthreadtypes.h> directly; use <sys/types.h> instead."
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from regcomp.c:2:
/usr/include/_G_config.h:28: parse error before "__off_t"
/usr/include/_G_config.h:30: parse error before '}' token
/usr/include/_G_config.h:33: parse error before "__off64_t"
/usr/include/_G_config.h:35: parse error before '}' token
In file included from /usr/include/stdio.h:72,
from regcomp.c:2:
/usr/include/libio.h:292: parse error before "__off_t"
/usr/include/libio.h:311: parse error before "_offset"
/usr/include/libio.h:324: parse error before '}' token
/usr/include/libio.h:350: parse error before "__io_read_fn"
/usr/include/libio.h:358: parse error before "__io_write_fn"
/usr/include/libio.h:367: parse error before "__off64_t"
/usr/include/libio.h:466: parse error before "_IO_padn"
/usr/include/libio.h:466: parse error before "__ssize_t"
/usr/include/libio.h:469: parse error before "_IO_seekoff"
/usr/include/libio.h:469: parse error before "__off64_t"
/usr/include/libio.h:470: parse error before "_IO_seekpos"
/usr/include/libio.h:470: parse error before "__off64_t"
In file included from regcomp.c:2:
/usr/include/stdio.h:88: parse error before "fpos_t"
In file included from regcomp.c:2:
/usr/include/stdio.h:549: parse error before "fpos_t"
/usr/include/stdio.h:552: parse error before '*' token
In file included from regcomp.c:4:
/usr/include/ctype.h:83: parse error before '*' token
/usr/include/ctype.h:85: parse error before '*' token
In file included from regcomp.c:8:
../include/hsregex.h:25: parse error before "regoff_t"
../include/hsregex.h:25: warning: data definition has no type or storage class
../include/hsregex.h:33: parse error before "regoff_t"
../include/hsregex.h:33: warning: no semicolon at end of struct or union
../include/hsregex.h:34: warning: data definition has no type or storage class
../include/hsregex.h:35: warning: data definition has no type or storage class
../include/hsregex.h:73: parse error before "regmatch_t"
make[4]: *** [regcomp.o] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37'
make: *** [install-all] Error 2