# Compiling on OS X Tiger

**URL:** <https://www.ruby-forum.com/t/compiling-on-os-x-tiger/151077>\
**Category:** NGINX\
**Created:** [October 16, 2008, 3:23pm UTC](https://www.ruby-forum.com/t/compiling-on-os-x-tiger/151077 "2008-10-16T15:23:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phillip\_B\_Oldham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/13edae/32.png) [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Post date:** [October 16, 2008, 3:23pm UTC](https://www.ruby-forum.com/t/compiling-on-os-x-tiger/151077/1 "2008-10-16T15:23:28Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Phillip\_B\_Oldham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/13edae/32.png) [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Post date:** [October 16, 2008, 3:48pm UTC](https://www.ruby-forum.com/t/compiling-on-os-x-tiger/151077/2 "2008-10-16T15:48:40Z")

</div>

Same problem for me: Tiger 10.4.11

---

<div class="post-metadata">

**Author:** ![Phillip\_B\_Oldham](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/13edae/32.png) [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Post date:** [October 27, 2008, 10:47pm UTC](https://www.ruby-forum.com/t/compiling-on-os-x-tiger/151077/3 "2008-10-27T22:47:58Z")

</div>

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,
