Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RSyslog: users

Is this compile error just a missing pkg

 

 

RSyslog users RSS feed   Index | Next | Previous | View Threaded


reader at newsguy

Feb 16, 2012, 4:53 PM

Post #1 of 3 (694 views)
Permalink
Is this compile error just a missing pkg

Compiling rsyslog-5.8.7 on gentoo linux, the build ends with an error
involving a missing gcrypt.h file.

Hope its not too jumbled up by mail encoding. But you can see the
last line about gcrypt.h: No such file or directory.

Anyone know what it means


[...]

missing-format-attribute -c -o lmnsd_ptcp_la-nsdsel_ptcp.lo `test -f 'nsdsel_ptcp.c' || echo './'`nsdsel_ptcp.
c
CC lmnsd_ptcp_la-nsdpoll_ptcp.lo
/bin/sh ../libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread
-I../runtime -I.. -O2 -march=i686 -pipe -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -W
missing-format-attribute -c -o lmnsd_ptcp_la-nsdpoll_ptcp.lo `test -f 'nsdpoll_ptcp.c' || echo './'`nsdpoll_pt
cp.c
CC lmnsd_gtls_la-nsd_gtls.lo
/bin/sh ../libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread
-I../runtime -I.. -O2 -march=i686 -pipe -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -
Wmissing-format-attribute -c -o lmnsd_gtls_la-nsd_gtls.lo `test -f 'nsd_gtls.c' || echo './'`nsd_gtls.c
nsd_gtls.c:32:20: fatal error: gcrypt.h: No such file or directory
compilation terminated.

[...]


_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/


david at lang

Feb 16, 2012, 5:21 PM

Post #2 of 3 (685 views)
Permalink
Re: Is this compile error just a missing pkg [In reply to]

It means that there is a missing dependancy on some package

going to the debian package contect tool (packages.debian.org), debian
has this file in a package libgcrypt11-dev

I don't know what package name gentoo would use for this, but lookg for
libgcrypt or similar

If you have it installed, it could be that the rsyslog build is looking in
the wrong place, see if you have gcrypt.h anywhere on your system.

David Lang

On Thu, 16 Feb 2012, Harry Putnam wrote:

> Compiling rsyslog-5.8.7 on gentoo linux, the build ends with an error
> involving a missing gcrypt.h file.
>
> Hope its not too jumbled up by mail encoding. But you can see the
> last line about gcrypt.h: No such file or directory.
>
> Anyone know what it means
>
>
> [...]
>
> missing-format-attribute -c -o lmnsd_ptcp_la-nsdsel_ptcp.lo `test -f 'nsdsel_ptcp.c' || echo './'`nsdsel_ptcp.
> c
> CC lmnsd_ptcp_la-nsdpoll_ptcp.lo
> /bin/sh ../libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread
> -I../runtime -I.. -O2 -march=i686 -pipe -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -W
> missing-format-attribute -c -o lmnsd_ptcp_la-nsdpoll_ptcp.lo `test -f 'nsdpoll_ptcp.c' || echo './'`nsdpoll_pt
> cp.c
> CC lmnsd_gtls_la-nsd_gtls.lo
> /bin/sh ../libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread
> -I../runtime -I.. -O2 -march=i686 -pipe -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -
> Wmissing-format-attribute -c -o lmnsd_gtls_la-nsd_gtls.lo `test -f 'nsd_gtls.c' || echo './'`nsd_gtls.c
> nsd_gtls.c:32:20: fatal error: gcrypt.h: No such file or directory
> compilation terminated.
>
> [...]
>
>
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/


reader at newsguy

Feb 18, 2012, 6:48 AM

Post #3 of 3 (692 views)
Permalink
Re: Is this compile error just a missing pkg [In reply to]

david [at] lang writes:

> going to the debian package contect tool (packages.debian.org), debian
> has this file in a package libgcrypt11-dev
>
> I don't know what package name gentoo would use for this, but lookg
> for libgcrypt or similar
>
> If you have it installed, it could be that the rsyslog build is
> looking in the wrong place, see if you have gcrypt.h anywhere on your
> system.

This is for a gentoo system and I found a similar named package,
installed it and now rsyslog compiles smoothly... thanks.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/

RSyslog users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.