Re: [Help-smalltalk] Error build - can't find gnutls

2016-10-17 Thread Holger Freyther

> On 17 Oct 2016, at 11:27, Blake McBride  wrote:
> 
> 17.1
> 
> Attached.

Thank you! GST tries to use pkg-config --exists --print-errors "gnutls"
to find GNUtls but that fails. Could you use dpkg -L 
package to see where the gnutls.pc is put?

You can wokaround by modifying packages/net/Makefile.am and put -lgnutls
into the LDADD line.

And I will have to modify the autoconf test. In contrast to the pkg-config
macro GST_HAVE_LIBS will not define GNUTLS_LIBS. I am tempted to remove
the fallback as it was broken and pkg-config is probably a decade old by
now as well.

holger



___
help-smalltalk mailing list
help-smalltalk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-smalltalk


Re: [Help-smalltalk] Error build - can't find gnutls

2016-10-17 Thread Holger Freyther

> On 17 Oct 2016, at 11:16, Blake McBride  wrote:
> 
> LinuxMint 64 bit

Which release? 18?


> libtool: link: gcc -g -O2 -Wall -Wno-format -Wdeclaration-after-statement 
> -Wno-format -Wpointer-arith -Wno-pointer-sign -Wno-switch -Wwrite-strings 
> -Wno-strict-aliasing -fno-gcse -fstrict-aliasing -o gnutls-wrapper 
> gnutls-wrapper.o  ../../lib-src/.libs/library.a -lrt -lm
> 

gnutls_wrapper_LDADD = $(GNUTLS_LIBS) \
$(top_builddir)/lib-src/library.la $(SOCKET_LIBS)

could you send me the config.log file? E.g. GNUTLS_LIBS seems to be set to
nothing.. and this is unlikely to be good. :)

holger


___
help-smalltalk mailing list
help-smalltalk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-smalltalk


Re: [Help-smalltalk] Error build - can't find gnutls

2016-10-17 Thread Blake McBride
LinuxMint 64 bit

libtool: link: gcc -g -O2 -Wall -Wno-format -Wdeclaration-after-statement
-Wno-format -Wpointer-arith -Wno-pointer-sign -Wno-switch -Wwrite-strings
-Wno-strict-aliasing -fno-gcse -fstrict-aliasing -o gnutls-wrapper
gnutls-wrapper.o  ../../lib-src/.libs/library.a -lrt -lm

Thanks!


On Mon, Oct 17, 2016 at 4:08 AM, Holger Freyther  wrote:

>
> > On 17 Oct 2016, at 11:02, Blake McBride  wrote:
> >
> > Hi,
>
> Hi!
>
>
> > I am building the latest git master on 64 bit Linux using the following:
>
> which OS?
>
>
> > One of the configure output lines reads:
> > checking for gnutls_global_init in -lgnutls... yes
>
> so autoconf figured out that -lgnutls is required.
>
> >
> >
> > Also:
> > /usr/lib $ find . -name '*ltdl*'
> > ./x86_64-linux-gnu/libltdl.so.7
> > ./x86_64-linux-gnu/libltdl.so.7.3.0
> > ./x86_64-linux-gnu/libltdl.la
> > ./x86_64-linux-gnu/libltdl.a
> > ./x86_64-linux-gnu/libltdl.so
> >
> >
> > The make ends with:
> >
> > make[3]: Entering directory
> > `/home/blake/Backup/gnusmalltalk.git/packages/net'
> >  CCLD gnutls-wrapper
>
> could you please build with make V=1 and pass the link line here? Either
> -lgnutls is missing from it, at the wrong position.. but it will be easier
> for me once I see the line.
>
>
> holger
>
___
help-smalltalk mailing list
help-smalltalk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-smalltalk


Re: [Help-smalltalk] Error build - can't find gnutls

2016-10-17 Thread Holger Freyther

> On 17 Oct 2016, at 11:02, Blake McBride  wrote:
> 
> Hi,

Hi!


> I am building the latest git master on 64 bit Linux using the following:

which OS?


> One of the configure output lines reads:
> checking for gnutls_global_init in -lgnutls... yes

so autoconf figured out that -lgnutls is required.

> 
> 
> Also:
> /usr/lib $ find . -name '*ltdl*'
> ./x86_64-linux-gnu/libltdl.so.7
> ./x86_64-linux-gnu/libltdl.so.7.3.0
> ./x86_64-linux-gnu/libltdl.la
> ./x86_64-linux-gnu/libltdl.a
> ./x86_64-linux-gnu/libltdl.so
> 
> 
> The make ends with:
> 
> make[3]: Entering directory
> `/home/blake/Backup/gnusmalltalk.git/packages/net'
>  CCLD gnutls-wrapper

could you please build with make V=1 and pass the link line here? Either
-lgnutls is missing from it, at the wrong position.. but it will be easier
for me once I see the line.


holger

___
help-smalltalk mailing list
help-smalltalk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-smalltalk