[OpenIndiana-discuss] Building Filezilla 3.17 and later

Alexander Pyhalov alp at rsu.ru
Mon Mar 5 08:15:52 UTC 2018


On 03/04/18 10:11 PM, russell wrote:
> Hi,
> 
> In order to build Filezilla 3.17 and later I need to build an up to date 
> version of GNUTLS, after some effort I have almost build gnutls v3.5.18 
> and v3.6.2.
> 
> The problem I found earlier with the dsa structure definition was due to 
> the fact I was using the system NETTLE v3.3 library, after compiling 
> Nettle v3.4 then the dsa structure problem building gnutls disappeared.
> 

Hi.

We deliver GNU TLS 3.5.14. We use the following in oi-userland Makefiles 
to use it -

# Force use of gnutls-3 pkgconfig during 2.x->3.x transition
GNUTLS_PKG_CONFIG_PATH_32 = /usr/lib/pkgconfig/gnutls-3
GNUTLS_PKG_CONFIG_PATH_64 = /usr/lib/$(MACH64)/pkgconfig/gnutls-3
PKG_CONFIG_PATH = 
$(GNUTLS_PKG_CONFIG_PATH_$(BITS)):$(PKG_CONFIG_PATH.$(BITS))

LD_OPTIONS.32 += -L/usr/lib/gnutls-3 -R/usr/lib/gnutls-3
LD_OPTIONS.64 += -L/usr/lib/$(MACH64)/gnutls-3 -R/usr/lib/$(MACH64)/gnutls-3
LD_OPTIONS += $(LD_OPTIONS.$(BITS))


This efficiently sets PKG_CONFIG_PATH to 
/usr/lib/pkgconfig/gnutls-3:/usr/lib/pkgconfig (for 32-bit software) and 
LD_OPTIONS to -L/usr/lib/gnutls-3 -R/usr/lib/gnutls-3 .


-- 
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department



More information about the openindiana-discuss mailing list