Hello,
Has anyone tried building nginx code on Mac ? I get the following error
while building. Have installed pcre and other needed libraries
*src/mail/ngx_mail_handler.c:1152:30: **error: *use of undeclared
identifier ‘sasl_callback_ft’; did you mean
*/usr/include/sasl/sasl.h:349:3: note: *‘sasl_callback_t’ declared here
} sasl_callback_t;
*src/mail/ngx_mail_handler.c:1157:30: **error: *use of undeclared
identifier ‘sasl_callback_ft’; did you mean
*/usr/include/sasl/sasl.h:349:3: note: *‘sasl_callback_t’ declared here
} sasl_callback_t;
2 errors generated.
make[2]: *** [objs/src/mail/ngx_mail_handler.o] Error 1
make[1]: *** [install] Error 2
make: *** [build] Error 2
Thanks
-Kunal
Hello!
On Wed, Mar 26, 2014 at 06:33:56PM -0700, Kunal P. wrote:
Hello,
Has anyone tried building nginx code on Mac ? I get the following error
while building. Have installed pcre and other needed libraries
*src/mail/ngx_mail_handler.c:1152:30: **error: *use of undeclared
identifier ‘sasl_callback_ft’; did you mean
It doesn’t looks like nginx source code. Likely you are using
something with local or 3rd party patches. Unmodified version is
available from nginx: download .
–
Maxim D.
http://nginx.org/
I wrote up a how to that might help as well:
Before we get started If you are running an earlier version of Mac OS X, please refer to one of my earlier articles which outlines the process and provides scripts to automate it for you. Choose your version of Mac OS X below: Snow Leopard (v....
Est. reading time: 4 minutes
Best regards,
Kevin
Kevin W.
[email protected]
Nginx for Windows, WordPress, iPhone, Gmail, Windows, Linux, Lighttpd for Windows, and Tech
http://twitter.com/kworthington
Yep, we do have some local and 3rd party patches. But still not sure why
it
doesn’t build on mac and throws that error. Same code with patches
builds
fine on ubuntu linux.
@Kevin : Thats what i followed for building the latest nginx and that
worked
well. Great post.
Thanks
-Kunal
On Thu, Mar 27, 2014 at 7:36 AM, Kevin W.
Great, I’m glad it helped.
Best regards,
Kevin
Kevin W.
[email protected]
Nginx for Windows, WordPress, iPhone, Gmail, Windows, Linux, Lighttpd for Windows, and Tech
http://twitter.com/kworthington