[getdns-api] Placement of the library vs. the examples in the doc
Paul Hoffman
paul.hoffman at vpnc.org
Thu May 22 04:16:50 CEST 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
_______________________________________________
getdns-api mailing list
getdns-api at vpnc.org
More information about the spec
mailing list