cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Not able to compile curl with ssl support in a diferent than default folder

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 May 2012 22:37:43 +0200 (CEST)

On Thu, 24 May 2012, Guiu Rocafort wrote:

> Then I set the environment variables:
>
> export PATH=$PREFIX/bin:$PATH
> export PKG_CONFIG_PATH=$PREFIX/lib/pkconfig/:$PKG_CONFIG_PATH
> export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH

None of those should be necessary.

> It didn't detect openssl from environment variables, so I then tryed:
> ./configure --prefix=$PREFIX --with-ssl=$PREFIX

If $PREFIX is the same prefix you used with the OpenSSL install then I figure
it should work. You should check out your config.log after that configure ran
and check what failures you can spot there.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-24