You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Fabiola Lineberger <fa...@traderonline.com> on 2005/12/05 17:19:16 UTC

RE: [users@httpd] apache fails on make - FIX

Hello All,
If anyone is having the same problem I had, here is the solution:

I added the following line:

#include "/usr/include/unistd.h"

In the following files:
PATH/src/main/alloc.c
PATH/src/main/http_log.c
PATH/src/modules/standard/mod_include.c

ran make clean and make, and make install and everything works now.

Fabiola


-----Original Message-----
From: Fabiola Lineberger [mailto:fabiola.lineberger@traderonline.com]
Sent: Thursday, December 01, 2005 4:54 PM
To: users@httpd.apache.org
Subject: [users@httpd] apache fails on make


Hello everyone,

After I run the configure for apache 1.3.34 on Solaris 10 (Sparc) I ran make
and it fails with the following:

>make
===> src
make[1]: Entering directory `/usr/local/src/apache_1.3.34'
make[2]: Entering directory `/usr/local/src/apache_1.3.34/src'
===> src/regex
make[3]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
make[3]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[3]: Nothing to be done for `all'.
<=== src/ap
===> src/main
gcc -c  -I../os/unix -I../include   -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPA
T -I../lib/expat-lite -fPIC -DSHARED_CORE `../apaci` alloc.c
alloc.c: In function `spawn_child_core':
alloc.c:2411: error: `STDOUT_FILENO' undeclared (first use in this function)
alloc.c:2411: error: (Each undeclared identifier is reported only once
alloc.c:2411: error: for each function it appears in.)
alloc.c:2417: error: `STDIN_FILENO' undeclared (first use in this function)
alloc.c:2423: error: `STDERR_FILENO' undeclared (first use in this function)
make[3]: *** [alloc.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.34/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.34'
make: *** [build] Error 2



GNU make 3.80
Does someone have a fix for this?
TIA,
Fabiola



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org