Skip to content

Instantly share code, notes, and snippets.

@pulketo
Created February 15, 2021 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pulketo/4334e3713b4bf9aca0a8ee583e448f2d to your computer and use it in GitHub Desktop.
Save pulketo/4334e3713b4bf9aca0a8ee583e448f2d to your computer and use it in GitHub Desktop.
cnagios on Centos 7
problem:
# ./configure
...
...
# make
/bin/cc -o perl.o -c perl.c -D_DEBUG_
perl.c:9:20: fatal error: EXTERN.h: No such file or directory
#include <EXTERN.h>
^
compilation terminated.
make: *** [perl.o] Error 1
--------------
solved by:
install perl-devel
then:
CFLAGS="-I/usr/lib64/perl5/CORE/" ./configure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment