How to add secure download module

Mauro Stettler mauro.stettler at gmail.com
Wed Aug 25 13:25:57 MSD 2010


these are not supposed to be parameters to the configure script. they
are parameters to gcc. so if you want that your make passes those to
gcc you need to set those two env variables before you execute the
configure like f.e.:

export CFLAGS="-I/usr/local/mhash-0.9.9.9/include"
export LDFLAGS="-L/usr/local/mhash-0.9.9.9/lib"

or you could also try to manually edit objs/Makefile after running
configure and add the two parameters like this:

3 CFLAGS = -I/usr/local/mhash-0.9.9.9/include
4 CPP =    -I/usr/local/mhash-0.9.9.9/include
5 LINK =  $(CC) -L/usr/local/mhash-0.9.9.9/lib

you just need to make sure that gcc has the -I parameter while
compilation and the -L parameter while linking



On Wed, Aug 25, 2010 at 17:14, Fernando Perez <lists at ruby-forum.com> wrote:
> I'm running OSX Leopard, and I'm trying to install all that through the
> passenger installer.
>
> Adding the -I/path and -L/path appear as invalid options for the
> installer:
>
> ./configure: error: invalid option "-I/.../mhash-0.9.9.9/include"
>
> Yeah I know one day I'll correctly learn C.
> --
> Posted via http://www.ruby-forum.com/.
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list