Compiling on OS X Tiger


#1

Trying to compile 0.7.19 on OS X Tiger (10.4.9). Compiles fine, nginx -v
returns ok, but running nginx causes the following error:

[alert] 14674#0: sysctlbyname(kern.ostype) failed (2: No such file or
directory)

I compiled with the following:

./configure --prefix=/opt/local/nginx --sbin-path=/usr/sbin/nginx
–conf-path=/etc/nginx

Any ideas why this might be failing?


#2

Same problem for me: Tiger 10.4.11


#3

Anyone else to test on his OsX platform?

Is it an OsX 10.4.x problem? Xcode problem? PowerPC G4 or G5 problem?
32 vs 64 bits issue? Does it mean that any Nginx version higher than
0.7.19 will no longer compile on Tiger and/or PowerPC?

My exact setup is: Tiger 10.4.11 with Xcode 2.5 (gcc is 4.0.1) and
PowerPC G4 1Ghz.

Best regards,