Quantcast

Error on gnupg-2.1.20 installation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error on gnupg-2.1.20 installation

Antonino Augusta

Hi,

I hope someone can help me with the following.

I have already installed successfully (on linux) the following packages:

     npth      
    libgpg-error 
    libgcrypt  
    libksba 
    libassuan 

When I try to install the gnupg-2.1.20 package, during the make i receive the following error message:


sysutils.c: In function â€˜gnupg_inotify_watch_socket’:
sysutils.c:1163: error: ‘IN_EXCL_UNLINK’ undeclared (first use in this function)
sysutils.c:1163: error: (Each undeclared identifier is reported only once
sysutils.c:1163: error: for each function it appears in.)
make[2]: *** [libcommon_a-sysutils.o] Error 1
make[2]: Leaving directory `/root/GnuPG_Pkgs/gnupg-2.1.20/common'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/root/GnuPG_Pkgs/gnupg-2.1.20/common'
make: *** [check-recursive] Error 1

Many thanks,

  Antonino


_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error on gnupg-2.1.20 installation

Daniel Kahn Gillmor-7
On Wed 2017-05-10 09:51:32 +0000, Antonino Augusta wrote:

> When I try to install the gnupg-2.1.20 package, during the make i receive the following error message:
>
>
> sysutils.c: In function ‘gnupg_inotify_watch_socket’:
> sysutils.c:1163: error: ‘IN_EXCL_UNLINK’ undeclared (first use in this function)
> sysutils.c:1163: error: (Each undeclared identifier is reported only once
> sysutils.c:1163: error: for each function it appears in.)
> make[2]: *** [libcommon_a-sysutils.o] Error 1
> make[2]: Leaving directory `/root/GnuPG_Pkgs/gnupg-2.1.20/common'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/root/GnuPG_Pkgs/gnupg-2.1.20/common'
> make: *** [check-recursive] Error 1
On most GNU/Linux systems, this inotify definition is typically made
available by either your libc development package, or by headers
supplied by Linux dev packages.

On debian, you'll need the libc6-dev package, which i can't imagine you
could have even gotten this far without having it available.

This line should also only be compiled if the C preprocessor has defined
HAVE_INOTIFY_INIT, in which case you should already have #include
<sys/inotify.h>, which is where the IN_EXCL_UNLINK definition is
typically located.

So i'm perplexed why you'd be running into this.  perhaps your copy of
inotify.h is really old or something?  what OS are you using?

if you "grep -r IN_EXCL_UNLINK /usr/include" does anything show up?

   --dkg

_______________________________________________
Gnupg-users mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

signature.asc (847 bytes) Download Attachment
Loading...