{"id":1017,"date":"2017-02-10T17:45:38","date_gmt":"2017-02-10T17:45:38","guid":{"rendered":"http:\/\/ofalcao.pt\/blog\/?p=1017"},"modified":"2017-02-10T17:46:54","modified_gmt":"2017-02-10T17:46:54","slug":"using-ftdi-as-ir-3","status":"publish","type":"post","link":"https:\/\/ofalcao.pt\/blog\/2017\/using-ftdi-as-ir-3","title":{"rendered":"Using a FTDI adapter as an IR emitter &#8211; 3"},"content":{"rendered":"<div class=\"seriesmeta\">This post is part 3 of 5 of \u00a0<a href=\"https:\/\/ofalcao.pt\/blog\/series\/using-a-ftdi-adapter-as-an-ir\" class=\"series-287\" title=\"Using a FTDI adapter as an IR\">Using a FTDI adapter as an IR<\/a><\/div><p>Now back to where we extracted LIRC:<\/p>\n<pre>cd lirc-0.9.4d\r\n.\/configure<\/pre>\n<p>If all conditions are satisfied we get this at the end:<\/p>\n<pre>...\r\nchecking for FTDI... no\r\nchecking for FTDI... yes\r\n...\r\nSummary of selected options:\r\n----------------------------------------\r\nprefix:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/local\r\nsysconfdir:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ${prefix}\/etc\r\nx_progs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\r\nhost:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 armv5tejl-unknown-linux-gnueabi\r\nhost_os:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 linux-gnueabi\r\nforkpty:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -lutil\r\nusb_libs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -lusb -lusb-1.0\r\nlockdir:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/var\/lock\/lockdev\r\n\r\nConditionals:\r\n\r\nBUILD_ALSA_SB_RC:no\r\nBUILD_DSP:yes\r\n<strong><span style=\"color: #ff0000;\">BUILD_FTDI:yes<\/span><\/strong>\r\nBUILD_HIDDEV:yes\r\nBUILD_I2CUSER:yes\r\nBUILD_LIBALSA:no\r\nBUILD_LIBPORTAUDIO:no\r\nBUILD_USB:yes\r\nBUILD_XTOOLS:no\r\nHAVE_DOXYGEN:no\r\nHAVE_LIBUDEV:no\r\nHAVE_MAN2HTML:no\r\nHAVE_PYMOD_YAML:no\r\nINSTALL_ETC:yes\r\nNEED_PYTHON3:no\r\nSYSTEMD_INSTALL:yes\r\nDEVEL:no\r\nHAVE_UINPUT:yes\r\nDARWIN:no\r\nLINUX_KERNEL:yes<\/pre>\n<p>We may now proceed with<\/p>\n<pre>make<\/pre>\n<p>and in a perfect world or at least with my Ubuntu it will build everything fine. But on my EV3 for two times I got this:<\/p>\n<pre>CDPATH=\"${ZSH_VERSION+.}:\" &amp;&amp; cd . &amp;&amp; \/bin\/bash \/home\/robot\/lirc-0.9.4d\/missing aclocal-1.15 -I m4\r\n\/home\/robot\/lirc-0.9.4d\/missing: line 81: aclocal-1.15: command not found\r\nWARNING: 'aclocal-1.15' is missing on your system.\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 You should only need it if you modified 'acinclude.m4' or\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 'configure.ac' or m4 files included by 'configure.ac'.\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The 'aclocal' program is part of the GNU Automake package:\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;http:\/\/www.gnu.org\/software\/automake&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 It also requires GNU Autoconf, GNU m4 and Perl in order to run:\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;http:\/\/www.gnu.org\/software\/autoconf&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;http:\/\/www.gnu.org\/software\/m4\/&gt;\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;http:\/\/www.perl.org\/&gt;\r\nMakefile:479: recipe for target 'aclocal.m4' failed\r\nmake: *** [aclocal.m4] Error 127<\/pre>\n<p>That&#8217;s strange because my Ubuntu doesn&#8217;t have autoconf installed.<\/p>\n<p>I tried installing several packages but make always failed. After some googling I found a workaround. Is rather strange and honestly I don&#8217;t know why but it works:<\/p>\n<pre>sudo apt install automake m4 autoconf\r\nautoreconf -i<\/pre>\n<p>This wil take a lot of time (at least half an hour) but after that the compiling process works as expected (almost an hour more):<\/p>\n<pre>.\/configure\r\nmake\r\nsudo make install<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"seriesmeta\">This post is part 3  of 5 of \u00a0<a href=\"https:\/\/ofalcao.pt\/blog\/series\/using-a-ftdi-adapter-as-an-ir\" class=\"series-287\" title=\"Using a FTDI adapter as an IR\">Using a FTDI adapter as an IR<\/a><\/div><p>Now back to where we extracted LIRC: cd lirc-0.9.4d .\/configure If all conditions are satisfied we get this at the end: &#8230; checking for FTDI&#8230; no checking for FTDI&#8230; yes &#8230; Summary of selected options: &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- prefix:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/usr\/local sysconfdir:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ${prefix}\/etc x_progs:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0 host:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 armv5tejl-unknown-linux-gnueabi host_os:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 linux-gnueabi forkpty:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -lutil usb_libs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -lusb -lusb-1.0 lockdir:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/var\/lock\/lockdev Conditionals: BUILD_ALSA_SB_RC:no &hellip; <a href=\"https:\/\/ofalcao.pt\/blog\/2017\/using-ftdi-as-ir-3\" class=\"more-link\">Continuar a ler<span class=\"screen-reader-text\"> &#8220;Using a FTDI adapter as an IR emitter &#8211; 3&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"series":[287],"class_list":["post-1017","post","type-post","status-publish","format-standard","hentry","category-sem-categoria","series-using-a-ftdi-adapter-as-an-ir"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2Mhyv-gp","_links":{"self":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts\/1017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/comments?post=1017"}],"version-history":[{"count":0,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts\/1017\/revisions"}],"wp:attachment":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/media?parent=1017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/categories?post=1017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/tags?post=1017"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/series?post=1017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}