You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by ja...@execpc.com on 1997/06/06 00:04:23 UTC

1.2.0 compilation problems?

This is on Linux 2.0.30...  Doesn't look like the support subdirectory came
along in the tarball...

/usr/src/apache_1.2.0/src # Configure
Using config file: Configuration
Using Makefile template file: Makefile.tmpl
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C compiler optimization-level to -O2
./Configure: ../support/Makefile: No such file or directory

Not sure if the next one was a result of Configure not going through to
completion or not, haven't taken a close look at it yet...

/usr/src/apache_1.2.0/src # make
(cd regex; make lib CC=gcc AUX_CFLAGS='-O2 -DLINUX=2 -DSTATUS ' RANLIB='ranlib')
make[1]: Entering directory `/usr/src/apache_1.2.0/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
In file included from /usr/include/linux/types.h:4,
                 from /usr/include/sys/types.h:4,
                 from regcomp.c:1:
/usr/include/linux/posix_types.h:48: asm/posix_types.h: No such file or directory
In file included from /usr/include/sys/types.h:4,
                 from regcomp.c:1:
/usr/include/linux/types.h:5: asm/types.h: No such file or directory
In file included from /usr/include/errno.h:27,
                 from /usr/include/stdlib.h:42,
                 from regcomp.c:6:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
make[1]: *** [regcomp.o] Error 1
make[1]: Leaving directory `/usr/src/apache_1.2.0/src/regex'
make: *** [regex/libregex.a] Error 2

-- 
Jake Buchholz                                      http://www.execpc.com/~jake
Exec-PC Internet Systems Administrator                         jake@execpc.com

Re: 1.2.0 compilation problems?

Posted by Dean Gaudet <dg...@arctic.org>.
On Thu, 5 Jun 1997 jake@execpc.com wrote:
> In file included from /usr/include/linux/types.h:4,
>                  from /usr/include/sys/types.h:4,
>                  from regcomp.c:1:
> /usr/include/linux/posix_types.h:48: asm/posix_types.h: No such file or directory

cd /usr/include
ls -ld asm linux

lrwxrwxrwx   1 root     root           24 Dec  8 20:28 asm -> ../src/linux/include/asm
lrwxrwxrwx   1 root     root           26 Dec  8 20:28 linux -> ../src/linux/include/linux

If it doesn't look like that then your includes are messed ... unless
you're using glibc, which I haven't tried at all yet.  Regardless I'm
not seeing this on a redhat 4.0 or 4.1 system.

Dean


Re: 1.2.0 compilation problems?

Posted by Marc Slemko <ma...@worldgate.com>.
On Thu, 5 Jun 1997 jake@execpc.com wrote:

> This is on Linux 2.0.30...  Doesn't look like the support subdirectory came
> along in the tarball...

Erm.... it is here.  I suggest you redownload the tarball and reuncompress
it and look carefully.

As to the rest, it really loks like your include files are messed up...
what was the last version you made successfully?

> 
> /usr/src/apache_1.2.0/src # Configure
> Using config file: Configuration
> Using Makefile template file: Makefile.tmpl
>  + configured for Linux platform
>  + setting C compiler to gcc
>  + setting C compiler optimization-level to -O2
> ./Configure: ../support/Makefile: No such file or directory
> 
> Not sure if the next one was a result of Configure not going through to
> completion or not, haven't taken a close look at it yet...
> 
> /usr/src/apache_1.2.0/src # make
> (cd regex; make lib CC=gcc AUX_CFLAGS='-O2 -DLINUX=2 -DSTATUS ' RANLIB='ranlib')
> make[1]: Entering directory `/usr/src/apache_1.2.0/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
> In file included from /usr/include/linux/types.h:4,
>                  from /usr/include/sys/types.h:4,
>                  from regcomp.c:1:
> /usr/include/linux/posix_types.h:48: asm/posix_types.h: No such file or directory
> In file included from /usr/include/sys/types.h:4,
>                  from regcomp.c:1:
> /usr/include/linux/types.h:5: asm/types.h: No such file or directory
> In file included from /usr/include/errno.h:27,
>                  from /usr/include/stdlib.h:42,
>                  from regcomp.c:6:
> /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
> make[1]: *** [regcomp.o] Error 1
> make[1]: Leaving directory `/usr/src/apache_1.2.0/src/regex'
> make: *** [regex/libregex.a] Error 2
> 
> -- 
> Jake Buchholz                                      http://www.execpc.com/~jake
> Exec-PC Internet Systems Administrator                         jake@execpc.com
>