I'm trying out the suggestion posted here:

https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/93413/comments/26

I must be missing a package.  When I try this step:

sudo debian/rules binary

I get the following output:

dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: libgcrypt-config: Command not found
make[1]: Entering directory `/usr/src/vpnc-0.4.0'
gcc -W -Wall -O0 -Wmissing-declarations -Wwrite-strings -g  -DVERSION=\"0.4.0\" 
 -c -o tunip.o tunip.c
tunip.c:84:20: error: gcrypt.h: No such file or directory
In file included from vpnc.h:24,
                 from tunip.c:87:
tunip.h:42: error: expected specifier-qualifier-list before ‘gcry_cipher_hd_t’
tunip.c: In function ‘encap_rawip_recv’:
tunip.c:189: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:190: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:191: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:192: error: ‘struct ike_sa’ has no member named ‘bufsize’
tunip.c: In function ‘encap_udp_recv’:
tunip.c:218: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:219: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:220: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:221: error: ‘struct ike_sa’ has no member named ‘bufsize’
tunip.c: In function ‘encap_any_decap’:
tunip.c:230: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:230: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:230: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:231: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:231: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:231: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:232: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c: In function ‘tun_send_ip’:
tunip.c:245: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:246: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:254: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c: In function ‘hmac_compute’:
tunip.c:283: error: ‘gcry_md_hd_t’ undeclared (first use in this function)
tunip.c:283: error: (Each undeclared identifier is reported only once
tunip.c:283: error: for each function it appears in.)
tunip.c:283: error: expected ‘;’ before ‘md_ctx’
tunip.c:289: warning: implicit declaration of function ‘gcry_md_open’
tunip.c:289: error: ‘md_ctx’ undeclared (first use in this function)
tunip.c:289: error: ‘GCRY_MD_FLAG_HMAC’ undeclared (first use in this function)
tunip.c:291: warning: implicit declaration of function ‘gcry_md_setkey’
tunip.c:293: warning: implicit declaration of function ‘gcry_md_write’
tunip.c:294: warning: implicit declaration of function ‘gcry_md_final’
tunip.c:295: warning: implicit declaration of function ‘gcry_md_read’
tunip.c:295: warning: assignment makes pointer from integer without a cast
tunip.c:304: warning: implicit declaration of function ‘gcry_md_close’
tunip.c: In function ‘encap_esp_encapsulate’:
tunip.c:328: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:328: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:328: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:329: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:334: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:334: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:335: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:339: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:339: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:340: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:340: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:342: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:342: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:342: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:343: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:343: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:343: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:345: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:345: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:351: warning: implicit declaration of function ‘gcry_create_nonce’
tunip.c:355: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:355: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:359: warning: implicit declaration of function ‘gcry_cipher_setiv’
tunip.c:359: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
tunip.c:360: warning: implicit declaration of function ‘gcry_cipher_encrypt’
tunip.c:360: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
tunip.c:364: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:364: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:370: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:370: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:371: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:372: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:372: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:373: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:374: error: ‘struct ike_sa’ has no member named ‘key_md’
tunip.c:375: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:377: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:377: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c: In function ‘encap_esp_send_peer’:
tunip.c:398: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:399: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:402: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:404: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:404: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:405: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:405: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:407: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:409: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:427: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:431: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:436: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:436: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:441: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:442: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c: In function ‘encap_udp_send_peer’:
tunip.c:456: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:457: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:460: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:462: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:462: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:463: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:463: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:465: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:470: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:471: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:472: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:475: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:475: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:480: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:482: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c: In function ‘encap_esp_recv_peer’:
tunip.c:494: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:494: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:495: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:496: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:496: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:498: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:498: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:498: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:508: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:510: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:510: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:511: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:512: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:512: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:513: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:515: error: ‘struct ike_sa’ has no member named ‘key_md’
tunip.c:531: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:531: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:532: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:537: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:537: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:538: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:539: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
tunip.c:540: warning: implicit declaration of function ‘gcry_cipher_decrypt’
tunip.c:540: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
tunip.c:544: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:544: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:545: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:547: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:547: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:548: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:549: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:549: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:550: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c:564: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:567: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:567: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:568: error: ‘struct ike_sa’ has no member named ‘var_header_size’
tunip.c: In function ‘process_socket’:
tunip.c:743: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:743: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:745: error: ‘struct ike_sa’ has no member named ‘buf’
tunip.c:745: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:746: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c:746: error: ‘struct ike_sa’ has no member named ‘bufpayload’
tunip.c:761: error: ‘struct ike_sa’ has no member named ‘buflen’
tunip.c: In function ‘vpnc_doit’:
tunip.c:968: error: ‘struct ike_sa’ has no member named ‘key_md’
tunip.c:969: error: ‘struct ike_sa’ has no member named ‘key_md’
tunip.c:972: warning: implicit declaration of function ‘gcry_cipher_open’
tunip.c:972: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
tunip.c:972: error: ‘GCRY_CIPHER_MODE_CBC’ undeclared (first use in this 
function)
tunip.c:973: warning: implicit declaration of function ‘gcry_cipher_setkey’
tunip.c:973: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
tunip.c:975: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
tunip.c:981: error: ‘struct ike_sa’ has no member named ‘key_md’
tunip.c:982: error: ‘struct ike_sa’ has no member named ‘key_md’
tunip.c:985: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
tunip.c:986: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
tunip.c:988: error: ‘struct ike_sa’ has no member named ‘cry_ctx’
make[1]: *** [tunip.o] Error 1
make[1]: Leaving directory `/usr/src/vpnc-0.4.0'
make: *** [build-stamp] Error 2


Does anyone have any ideas?  Thank you.

Alarik

-- 
vpnc dead peer detection disconnects immediately
https://bugs.launchpad.net/bugs/93413
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to