Welcome! Log In Create A New Profile

Advanced

Re: How to add secure download module

August 25, 2010 05:30AM
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@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to add secure download module

Fernando Perez August 25, 2010 04:56AM

Re: How to add secure download module

replay August 25, 2010 05:08AM

Re: How to add secure download module

Fernando Perez August 25, 2010 05:20AM

Re: How to add secure download module

replay August 25, 2010 05:30AM

Re: How to add secure download module

Fernando Perez August 25, 2010 05:50AM

Re: How to add secure download module

replay August 25, 2010 05:58AM

Re: How to add secure download module

Fernando Perez August 25, 2010 12:26PM

Re: How to add secure download module

Fernando Perez August 25, 2010 12:52PM

Re: How to add secure download module

replay August 26, 2010 01:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 253
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready