yes, seems that for some reason the configure which is run by
passenger doesn't take your environment variables. i have never used
passenger before, but if there is some way for you to stop after the
configure and then later continue with the make you could maybe try to
hack the objs/Makefile inbetween.
mauro
On Wed, Aug 25, 2010 at 17:47, Fernando Perez <lists@ruby-forum.com> wrote:
> Here is the error message even with the env vars set:
>
> gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
> -Wunused-function -Wunused-variable -Wunused-value -Werror -g
> -D_LARGEFILE_SOURCE -DBUILDING_NGINX -I src/core -I src/event -I
> src/event/modules -I src/os/unix -I /path/pcre-8.10 -I objs -I src/http
> -I src/http/modules -I src/mail -o
> objs/addon/ngx_http_secure_download/ngx_http_secure_download_module.o
> /path/ngx_http_secure_download/ngx_http_secure_download_module.c
> /path/ngx_http_secure_download/ngx_http_secure_download_module.c:9:19:
> error: mhash.h: No such file or directory
>
> We can notice that the -I/usr/local/mhash-0.9.9.9/include hasn't been
> injected in the gcc command line, maybe the passenger install script
> overrides them or doesn't use them.
>
> I have contacted the developer of the module and I'm waiting for his
> reply.
> --
> Posted via http://www.ruby-forum.com/.
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx