Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnutls/gnutls.h: No such file or directory while installing latest cups 2.3.3 #5920

Closed
deltasata opened this issue May 7, 2021 · 1 comment
Assignees
Labels
question General usage question

Comments

@deltasata
Copy link

deltasata commented May 7, 2021

I am trying to install the latest version of cups 2.3.3, I was following https://fossies.org/linux/cups/INSTALL.md

After the make command, I got the foll error.

In file included from cups-private.h:21:0,
                 from auth.c:17:
http-private.h:70:14: fatal error: gnutls/gnutls.h: No such file or directory
 #    include <gnutls/gnutls.h>
              ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [../Makedefs:271: auth.o] Error 1

Note that I followed the step

sudo apt-get install autoconf build-essential libavahi-client-dev \
     libgnutls28-dev libkrb5-dev libnss-mdns libpam-dev \
     libsystemd-dev libusb-1.0-0-dev zlib1g-dev

before going to make

Most frustratingly, /usr/include/gnutls/gnutls.h is there but still I am getting this error.
Tried on a different computer with ubuntu 20.04 and got the same error despite having /usr/include/gnutls/gnutls.h.

@michaelrsweet
Copy link
Collaborator

@deltasata I'm not sure what is going on. Have you tried building the current OpenPrinting CUPS release(2.3.3op2) instead? It is possible there is an issue with the configure script, or maybe you are cross-compiling so /usr/include isn't in the list of include directories?

@michaelrsweet michaelrsweet self-assigned this May 9, 2021
@michaelrsweet michaelrsweet added the question General usage question label May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General usage question
Projects
None yet
Development

No branches or pull requests

2 participants