Re: lynx ssl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 29, 2003 at 10:13:36PM +1000, Res wrote:
> anyone managed to compile lynx --with-ssl on shrike ?  keeps whingeing
> about not being able to link, funny thing is if i compile on a 7.3 box
> and copy it over, it works fine with https...

OpenSSL in Shrike is configured with Kerberos support enabled, so you
need to point the compile at the Kerberos headers (which the OpenSSL
headers now need) and link with the Kerberos libraries.

The quickest workaround (if/until the default Lynx source tree include
the right magic to figure this out automatically) is to set the CPPFLAGS
environment variable to the output of
    pkg-config --cflags-only-I openssl
CFLAGS to whatever you like, plus the output of
    pkg-config --cflags openssl
and LDFLAGS to the output of
    pkg-config --libs-only-L openssl
before running the configure script.  Then the various tests the
configure script runs to find OpenSSL should succeed again.

Using the data provided by pkgconfig[1] ensures that you won't get
tripped up by this sort of change in the future (at least so long as the
data is correct).

HTH,

Nalin

[1] http://www.freedesktop.org/software/pkgconfig/





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux