Hi,

I've been postponing to move my Linux Apache/mod_perl development to my 
highly appreciated iBook running Mac OS X due to all the required tweaks 
until now. I would imagine things have been sorted out by now so I 
downloaded apache 1.3.24 to give it a go.

The system I'm working on has a self-contained build-script which 
fetches everything from CVS, executes the right build commands etc. 
without me having to think. This has a built-in step to compile mod_perl 
statically (i.e. not DSO as i don't want that) into Apache.

Now I find that out that the part that compiles Apache bails out with 
this:

env LD_RUN_PATH=/opt/ttgp/dev/applications/perl/lib/5.6.1/darwin/CORE cc 
-c -I.. -I/opt/ttgp/dev/applications/perl/lib/5.6.1/darwin/CORE 
-I../os/unix -I../include   -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -pipe 
-fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX 
-DNO_DL_NEEDED -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE 
-fno-strict-aliasing `../apaci` alloc.c
alloc.c: In function `spawn_child_core':
alloc.c:2291: `STDOUT_FILENO' undeclared (first use in this function)
alloc.c:2291: (Each undeclared identifier is reported only once
alloc.c:2291: for each function it appears in.)
alloc.c:2297: `STDIN_FILENO' undeclared (first use in this function)
alloc.c:2303: `STDERR_FILENO' undeclared (first use in this function)
make[4]: *** [alloc.o] Error 1
make[3]: *** [subdirs] Error 1
make[2]: *** [build-std] Error 2
make[1]: *** [build] Error 2
make: *** [apaci_httpd] Error 2

I almost find this appalling. It can't find something basic as 
STDOUT_FILENO (which is in /usr/include/unistd.h)...

So I went back to Google to find solutions and the first hit sends me to 
stepwise.com to a tutorial that tells me in detail what commands to type 
in. Great, but it forces me to use DSO which I don't want!

So, what is missing in the Apache configuration part that will make this 
work in a sensible way?

Regards,

Bas.

ps. I know I'm a programmer that loves to tweak but when it comes to 
something as basic as this I'm just a user that's looking for the "any 
key";)

Reply via email to