[getdns-api] Placement of the library vs. the examples in the doc
Paul Hoffman
paul.hoffman at vpnc.org
Wed May 21 19:16:50 MST 2014
# gcc -std=c99 -c -fPIC -pedantic -g -I./ -Werror -Wall -Wextra -c example-simple-answers.c
example-simple-answers.c:6:29: fatal error: getdns_libevent.h: No such file or directory
#include <getdns_libevent.h>
^
compilation terminated.
# dir /usr/local/include/
total 12
drwxr-xr-x 3 root root 4096 May 21 17:06 .
drwxr-xr-x 10 root root 4096 Apr 16 11:26 ..
drwxr-xr-x 2 root root 4096 May 21 18:21 getdns
# dir /usr/local/include/getdns/
total 60
drwxr-xr-x 2 root root 4096 May 21 18:21 .
drwxr-xr-x 3 root root 4096 May 21 17:06 ..
-rw-r--r-- 1 root root 2150 May 21 18:21 getdns_ext_libevent.h
-rw-r--r-- 1 root root 5252 May 21 18:21 getdns_extra.h
-rw-r--r-- 1 root root 38748 May 21 18:21 getdns.h
This was from installing the getdns-0.1.1 release. Do people think that the installer was wrong for creating a new sub-directory under the /usr/local/includes, or that the examples should be fixed?
--Paul Hoffman
More information about the getdns-api
mailing list