[OpenIndiana-discuss] Building Filezilla 3.17 and later
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Mar 4 20:47:44 UTC 2018
On 03/ 4/18 11:11 AM, russell wrote:
> Both Gnutls v3.5.18 and v3.6.2 both can almost be successfuly built using
>
> $ CC=gcc-6 CXX=g++-6 CFLAGS="-I/usr/include/idn -I/usr/include/idn2"
> LDFLAGS="-L/opt/gnu/lib -L/usr/lib" NETTLE_CFLAGS="-I/opt/gnu/include/nettle"
> HOGWEED_CFLAGS="-I/opt/gnu/include/nettle" NETTLE_LIBS=-L/opt/gnu/lib
> HOGWEED_LIBS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-openssl-compatibility --disable-ssl2-support --enable-tests
>
When you're using *_LIBS to override the pkg-config provided flags you need
to include the -l flags that pkg-config would give you, not just the -L ones,
so for instance, the above should probably be:
NETTLE_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib -lnettle"
(including the -R to find the library at runtime outside the normal library
path).
Or if the nettle.pc file is installed under /opt/gnu/lib/pkgconfig, then you
may just be able to replace much of the above with:
PKG_CONFIG_PATH=/opt/gnu/lib/pkgconfig
-alan-
More information about the openindiana-discuss
mailing list