all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: emacs-devel@gnu.org
Subject: Latest git sources fail to compile w/gnutls on debian stable
Date: Sun, 30 Apr 2017 10:28:12 -0400	[thread overview]
Message-ID: <86h916otqb.fsf@local.lan> (raw)

My setup:
  Debian stable (jessie) running in vbox vm on windows 10 64bit

As a longtime user of gnus and emacs I compile from source
periodically.

Attempting to build latest emacs I run into a problem gnutls not being
available.  This is not a new problem for me.

I've had this failure for good few months but was able to compile
--with-gnutls=no and still have gnus work on nntp (mostly gmane)
imap (some on google some on fastmail.fm).  Seems to find a way to negotiate with imap servers
using gnutls-cli.... that is without any thing special done. 

However doing that (compiling --with-gnutls=no) this time and I find I
cannot access the imap groups .. some on google and some on fastmail.fm

So, on latest sources:

  ./configure --prefix=/usr/local/src/vcs/git/test --with-x=yes
       --with-x-toolkit=athena  --with-imagemagick
           --with-gpm --with-sound=no
  [...]
  
  configure: error: The following required libraries were not found:
      gnutls
  Maybe some development libraries/packages are missing?
  If you don't want to link with them give
     --with-gnutls=no
  as options to configure

I have these gnutls related pkgs installed:

  i A libcurl3-gnutls       - easy-to-use client-side URL transfer libra
  i   libgnutls-deb0-28     - GNU TLS library - main runtime library    
  i   libgnutls-openssl27   - GNU TLS library - OpenSSL wrapper         
  i A libneon27-gnutls      - HTTP and WebDAV client library (GnuTLS ena

I suspect it might be the dev pkgs that is needed:

  libgnutls-dev

But when I try to install it, I run into a complicated dependency
problem I don't know how to solve:

  aptitude install libgnutls-dev

  The following NEW packages will be installed:
    libgcrypt11{a} libgcrypt11-dev{ab} libgcrypt20-dev{a} libgnutls-dev{b} 
    libgnutls26{a} libgnutlsxx27{a} libgpg-error-dev{a} libp11-kit-dev{a} 
    libtasn1-3{a} libtasn1-3-dev{a} 
  0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
  Need to get 2,990 kB of archives. After unpacking 7,831 kB will be used.
  The following packages have unmet dependencies:
   libgnutls-dev : Depends: libgnutls-openssl27 (= 2.12.20-8+deb7u5) but 3.3.8-6+deb8u4 is installed.
   libgcrypt11-dev : Breaks: libgnutls-dev (< 2.12.23-18) but 2.12.20-8+deb7u5 is to be installed.
  The following actions will resolve these dependencies:

       Keep the following packages at their current version:
  1)     libgnutls-dev [Not Installed]                      

  Accept this solution? [Y/n/q/?]

The offered solution ends with libngutls-dev NOT installed.

I walked thru several other solutions by pressing `. <ENTER>'

But none of the first 6 offer a way to end up with libgnutls-dev
installed.  I quite after 6 offerings.

I'm not even sure that is the missing pkg to allow emacs to compile
with gnutls...

I'm not really eager to meddle with my OS... I'm running stable for a
reason. 

I considered compiling gnutls from source and started into doing that,
but decided that was a good bit more complicated and  out of my skill range.

Hopefully someone here will have experience compiling emacs with gnutls
and will know or have a good idea what needs to be done here.




             reply	other threads:[~2017-04-30 14:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-30 14:28 Harry Putnam [this message]
2017-04-30 21:35 ` Latest git sources fail to compile w/gnutls on debian stable Paul Eggert
2017-04-30 23:19   ` Harry Putnam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86h916otqb.fsf@local.lan \
    --to=reader@newsguy.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.