Problems compiling Apache 1.3 beta 6

Problems compiling Apache 1.3 beta 6

Post by Richard Eyl » Sat, 09 May 1998 04:00:00



Hi,

I've been running Apache for a while and now would like to try
1.3 beta 6. I've downloaded and just for a test compiled it without
changing anything. I got the following error

**** start of message ****
       cc -c  -I../os/unix -I../include   -DAIX -DNEED_RLIM_T -U__STR__
<join line here> -DUSE_HSREGEX `../apaci`  http_main.c
    1501-106: (S) Include file sys/processor.h not found.
"http_main.c", line 3539.29: 1506-045 (S) Undeclared identifier BINDPROCESS.
"http_main.c", line 3540.8: 1506-045 (S) Undeclared identifier
<join line here> PROCESSOR_CLASS_ANY.
The error code from the last failed command is 1.

Make Quitting.
The error code from the last failed command is 1.

Make Quitting.
The error code from the last failed command is 2.

Make Quitting.
The error code from the last failed command is 2.

Make Quitting.
**** end of message ****

Now, unfortunately I do not know anything about c! The
machine is an IBM RS6K Model 360 with AIX 3.2.5.

I've checked at bugs.apache.org and there appears to be one
outstanding report similar to this. As requested there I've posted
the question here before submitting a bug report.

Any pointers would be gratefully received.

Many thanks

Richard
--
Richard Eyles
Computer Services Pharmacist
Birmingham Heartlands Hospital, Birmingham UK

 
 
 

Problems compiling Apache 1.3 beta 6

Post by Marc Slemk » Sat, 09 May 1998 04:00:00



Quote:>Hi,
>I've been running Apache for a while and now would like to try
>1.3 beta 6. I've downloaded and just for a test compiled it without
>changing anything. I got the following error
>**** start of message ****
>       cc -c  -I../os/unix -I../include   -DAIX -DNEED_RLIM_T -U__STR__
><join line here> -DUSE_HSREGEX `../apaci`  http_main.c
>    1501-106: (S) Include file sys/processor.h not found.
>"http_main.c", line 3539.29: 1506-045 (S) Undeclared identifier BINDPROCESS.
>"http_main.c", line 3540.8: 1506-045 (S) Undeclared identifier
><join line here> PROCESSOR_CLASS_ANY.
>The error code from the last failed command is 1.

As the bug report says, this is fixed in the current code.

As a workaround, you could wait for b7 or edit src/main/http_main.c
and change the "#ifdef AIX" above the "#include <sys/processor.h>"
to "#ifdef 0".

 
 
 

Problems compiling Apache 1.3 beta 6

Post by Ralf S. Engelscha » Sat, 09 May 1998 04:00:00



Quote:> I've been running Apache for a while and now would like to try
> 1.3 beta 6. I've downloaded and just for a test compiled it without
> changing anything. I got the following error
> **** start of message ****
>        cc -c  -I../os/unix -I../include   -DAIX -DNEED_RLIM_T -U__STR__
> <join line here> -DUSE_HSREGEX `../apaci`  http_main.c
>     1501-106: (S) Include file sys/processor.h not found.
> "http_main.c", line 3539.29: 1506-045 (S) Undeclared identifier BINDPROCESS.
> "http_main.c", line 3540.8: 1506-045 (S) Undeclared identifier
> <join line here> PROCESSOR_CLASS_ANY.
> The error code from the last failed command is 1.
> Make Quitting.
> The error code from the last failed command is 1.
> Make Quitting.
> The error code from the last failed command is 2.
> Make Quitting.
> The error code from the last failed command is 2.
> Make Quitting.
> **** end of message ****
> Now, unfortunately I do not know anything about c! The
> machine is an IBM RS6K Model 360 with AIX 3.2.5.
> I've checked at bugs.apache.org and there appears to be one
> outstanding report similar to this. As requested there I've posted
> the question here before submitting a bug report.
> Any pointers would be gratefully received.

This is already fixed in 1.3b7-dev. The problem is that AIX 3.2.x has no bind
processor support. Either just remove the part from http_main.c enclosed with
#ifdef AIX ... #endif at approx. line 3600 or grab the latest Apache 1.3b7-dev
snapshot from ftp://dev.apache.org/httpd/from-cvs/. This version compiles
already fine under AIX 3.2, 4.1.5, 4.2 and 4.3.

                                       Ralf S. Engelschall

                                       www.engelschall.com

 
 
 

Problems compiling Apache 1.3 beta 6

Post by Richard Eyl » Tue, 12 May 1998 04:00:00




Quote:> This is already fixed in 1.3b7-dev. The problem is that AIX 3.2.x has no bind
> processor support. Either just remove the part from http_main.c enclosed with
> #ifdef AIX ... #endif at approx. line 3600 or grab the latest Apache 1.3b7-dev
> snapshot from ftp://dev.apache.org/httpd/from-cvs/. This version compiles
> already fine under AIX 3.2, 4.1.5, 4.2 and 4.3.

Thanks, removed that section and it compiles fine. Now I get the following
in the error logs when I try to start!

[Mon May 11 08:52:01 1998] file http_main.c, line 2793,
assertion "old_listeners == NULL" failed

Now that has REALLY lost me!

Thanks for everyones help so far.

Richard
--
Richard Eyles
Computer Services Pharmacist
Birmingham Heartlands Hospital, Birmingham UK