<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><description>After their successes with the mechanics and Arduino Yun, Hans and Matilda decided to celebrate with a trip to the local inn, the &amp;quot;Adam and Eve&amp;quot;. They walked up to the bar and was greeted by the bartender. Whilst they were being served they noticed a</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Tue, 19 May 2015 09:57:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The solution here was to swap Python libraries from requests[security] to pycurl. Also rather than using Pip to install them, there&amp;#39;s already a precompiled package to be applied using OPKG&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-blog-small" href="/challengesprojects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---taming-the-python"&gt;Enchanted Objects Design Challenge - Taming the Python&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Tue, 05 May 2015 22:28:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Uurgh, managed to get OpenSSL to compile but now seem to have lost the ability to create a libffi shared library. Was previously using the linino image but when reflashed to fix problem with OpenSSL, I reverted to the standard Arduino image..&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Sun, 03 May 2015 18:04:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;So there&amp;#39;s two issues with installing OpenSSL, The first is that it needs PERL to configure it. That seems to be available over at &lt;a class="jive-link-external-small" href="http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/" rel="nofollow ugc noopener" target="_blank"&gt;http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/&lt;/a&gt; the second issue is that it OPKG depends on it, so removing it will break OPKG until I&amp;#39;ve got it back on again...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Having messed up that second point and re-installed my image, it would appear that Perl is also available on the main Arduino repository.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Perl also needed a bunch of modules. There were modules that I could download but they did not include things needed by OpenSSL. So I downloaded the 5.10.1 version of perl from &lt;a class="jive-link-external-small" href="http://www.cpan.org/src/README.html" rel="nofollow ugc noopener" target="_blank"&gt;&lt;span style="text-decoration:underline;"&gt;http://www.cpan.org/src/README.html&lt;/span&gt;&lt;/a&gt; and copied on on Exporter.pm, vars.pm,warnings.pm,&amp;nbsp; warnings\register.pm, strict.pm&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You can test this with&lt;/p&gt;&lt;p&gt;perl -e &amp;#39;use strict; print &amp;quot;ok&amp;quot;&amp;#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I also reinstall Make&lt;/p&gt;&lt;p&gt;opkg install make&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I then ran through the configure steps&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://wiki.openssl.org/index.php/Compilation_and_Installation" rel="nofollow ugc noopener" target="_blank"&gt;http://wiki.openssl.org/index.php/Compilation_and_Installation&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I had to re-add some of the execute x permissions to ./Config Utils/*.* and&amp;nbsp; as I&amp;#39;d unzipped on a Windows machine and the scripts had lost those.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;make depend&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;ran successfully&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;make all&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;ran successfully&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;make install&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Seems to have copied on the .so files but it&amp;#39;s reported the following error....&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;gcc -I.. -I../include&amp;nbsp; -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -O3 -fomit-frame-pointer -Wall&amp;nbsp;&amp;nbsp; -c -o md2test.o md2test.c&lt;br /&gt;md2test.c:1:10: error: expected &amp;#39;=&amp;#39;, &amp;#39;,&amp;#39;, &amp;#39;;&amp;#39;, &amp;#39;asm&amp;#39; or &amp;#39;__attribute__&amp;#39; before &amp;#39;.&amp;#39; token&lt;br /&gt; dummytest.c&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Need to review make all and see if we can build without tests, demos etc.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Mon, 27 Apr 2015 21:00:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Ok, so the above manual patching of the libffi source seems to have allowed me to build libffi and install it.&lt;/p&gt;&lt;p&gt;However it&amp;#39;s installed to /usr/local/ rather than /usr/ I&amp;#39;ve no idea what that means but I moved them over to the same folders as the others.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.linuxfromscratch.org/blfs/view/svn/introduction/position.html" rel="nofollow ugc noopener" target="_blank" title="http://www.linuxfromscratch.org/blfs/view/svn/introduction/position.html"&gt;The /usr Versus /usr/local Debate&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve re-read the manual and you can fix that with an option on configure.&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;You may want to tell configure where to install the libffi library and&lt;/p&gt;
&lt;p&gt;header files. To do that, use the --prefix configure switch.&amp;nbsp; Libffi&lt;/p&gt;
&lt;p&gt;will install under /usr/local by default. &lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Also this whole build process did not copy on the headers so I&amp;#39;ve copied those in from /mnt/sda1/libffi-3.0.13/mips-unknown-linux-gnu/include to /usr/include/libffi&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The error of the day is now....&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=creating+build%2Ftemp.linux-mips-2.7%2Fsrc%2Fcryptography%2Fhazmat%2Fbindings%2F__pycache__%0A++++mips-openwrt-linux-uclibc-gcc+-fno-strict-aliasing+-Os+-pipe+-mips32r2+-mtune%3Dmips32r2+-fno-caller-saves+-fhonour-copts+-Wno-error%3Dunused-but-set-variable+-msoft-float+-DNDEBUG+-Os+-pipe+-mips32r2+-mtune%3Dmips32r2+-fno-caller-saves+-fhonour-copts+-Wno-error%3Dunused-but-set-variable+-msoft-float+-fPIC+-I%2Fusr%2Finclude%2Fpython2.7+-c+src%2Fcryptography%2Fhazmat%2Fbindings%2F__pycache__%2F_Cryptography_cffi_f3e4673fx399b1113.c+-o+build%2Ftemp.linux-mips-2.7%2Fsrc%2Fcryptography%2Fhazmat%2Fbindings%2F__pycache__%2F_Cryptography_cffi_f3e4673fx399b1113.o%0A++++src%2Fcryptography%2Fhazmat%2Fbindings%2F__pycache__%2F_Cryptography_cffi_f3e4673fx399b1113.c%3A216%3A25%3A+fatal+error%3A+openssl%2Faes.h%3A+No+such+file+or+directory%0A+++++%23include+%3Copenssl%2Faes.h%3E]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&amp;quot;To fix this problem, you have to install &lt;strong&gt;OpenSSL development package&lt;/strong&gt;, which is available in standard repositories of all modern Linux distributions.&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Except for Arduino...&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So I&amp;#39;m guessing I need to repeat my steps with ffi but with openssl...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://www.openssl.org/source/" rel="nofollow ugc noopener" target="_blank" title="https://www.openssl.org/source/"&gt;https://www.openssl.org/source/&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Mon, 27 Apr 2015 20:40:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;There&amp;#39;s a couple of references to this issue&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://ghc.haskell.org/trac/ghc/ticket/9513?cversion=0&amp;amp;cnum_hist=3" rel="nofollow" target="_blank"&gt;https://ghc.haskell.org/trac/ghc/ticket/9513?cversion=0&amp;amp;cnum_hist=3&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://lists.gnu.org/archive/html/discuss-gnustep/2010-01/msg00035.html" rel="nofollow" target="_blank"&gt;http://lists.gnu.org/archive/html/discuss-gnustep/2010-01/msg00035.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tried copying the install-sh into my mips-unknown-linum-gnu folder and that does seem to have moved me onto a different error ldconfig: not found which I&amp;#39;m guessing as a missing dependency. I&amp;#39;ve logged an error on github for this&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://github.com/atgreen/libffi/issues/189" rel="nofollow ugc noopener" target="_blank" title="https://github.com/atgreen/libffi/issues/189"&gt;https://github.com/atgreen/libffi/issues/189&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=root%40EnchantedCottage%3A%2Fmnt%2Fsda1%2Flibffi-3.0.13%23+opkg+install+ldconfig%0AInstalling+ldconfig+%280.9.33.2-1%29+to+root...%0ADownloading+http%3A%2F%2Fdownloads.openwrt.org%2Fbarrier_breaker%2F14.07%2Far71xx%2Fgeneric%2Fpackages%2Fbase%2Fldconfig_0.9.33.2-1_ar71xx.ipk.%0AConfiguring+ldconfig.]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This time it does seem to have installed libffi but there&amp;#39;s one line &amp;quot;ldconfig: /usr/local/lib/libffi.so.6 is not a symlink&amp;quot; which might still be an error&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=root%40EnchantedCottage%3A%2Fmnt%2Fsda1%2Flibffi-3.0.13%23+make+install%0AMAKE+mips-unknown-linux-gnu+%3A+0+*+install%0Amake%5B1%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%27%0AMaking+install+in+include%0Amake%5B2%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Finclude%27%0Amake%5B3%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Finclude%27%0Amake%5B3%5D%3A+Nothing+to+be+done+for+%60install-exec-am%27.%0A..%2F..%2Finstall-sh+-c+-d+%27%2Fusr%2Flocal%2Flib%2Flibffi-3.0.13%2Finclude%27%0A..%2Finstall-sh+-c+-m+644+ffi.h+ffitarget.h+%27%2Fusr%2Flocal%2Flib%2Flibffi-3.0.13%2Finclude%27%0Amake%5B3%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Finclude%27%0Amake%5B2%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Finclude%27%0AMaking+install+in+testsuite%0Amake%5B2%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Ftestsuite%27%0Amake%5B3%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Ftestsuite%27%0Amake%5B3%5D%3A+Nothing+to+be+done+for+%60install-exec-am%27.%0Amake%5B3%5D%3A+Nothing+to+be+done+for+%60install-data-am%27.%0Amake%5B3%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Ftestsuite%27%0Amake%5B2%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Ftestsuite%27%0AMaking+install+in+man%0Amake%5B2%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Fman%27%0Amake%5B3%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Fman%27%0Amake%5B3%5D%3A+Nothing+to+be+done+for+%60install-exec-am%27.%0A..%2F..%2Finstall-sh+-c+-d+%27%2Fusr%2Flocal%2Fshare%2Fman%2Fman3%27%0A..%2Finstall-sh+-c+-m+644+..%2F..%2Fman%2Fffi.3+..%2F..%2Fman%2Fffi_call.3+..%2F..%2Fman%2Fffi_prep_cif.3+..%2F..%2Fman%2Fffi_prep_cif_var.3+%27%2Fusr%2Flocal%2Fshare%2Fman%2Fman3%27%0Amake%5B3%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Fman%27%0Amake%5B2%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%2Fman%27%0Amake%5B2%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%27%0Amake%5B3%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%27%0A..%2Finstall-sh+-c+-d+%27%2Fusr%2Flocal%2Flib%27%0A%2Fbin%2Fash+.%2Flibtool+++--mode%3Dinstall+..%2Finstall-sh+-c+++libffi.la+%27%2Fusr%2Flocal%2Flib%27%0Alibtool%3A+install%3A+..%2Finstall-sh+-c+.libs%2Flibffi.so.6.0.1+%2Fusr%2Flocal%2Flib%2Flibffi.so.6.0.1%0Alibtool%3A+install%3A+%28cd+%2Fusr%2Flocal%2Flib+%26%26+%7B+cp+-pR+-f+libffi.so.6.0.1+libffi.so.6+%7C%7C+%7B+rm+-f+libffi.so.6+%26%26+cp+-pR+libffi.so.6.0.1+libffi.so.6%3B+%7D%3B+%7D%29%0Alibtool%3A+install%3A+%28cd+%2Fusr%2Flocal%2Flib+%26%26+%7B+cp+-pR+-f+libffi.so.6.0.1+libffi.so+%7C%7C+%7B+rm+-f+libffi.so+%26%26+cp+-pR+libffi.so.6.0.1+libffi.so%3B+%7D%3B+%7D%29%0Alibtool%3A+install%3A+..%2Finstall-sh+-c+.libs%2Flibffi.lai+%2Fusr%2Flocal%2Flib%2Flibffi.la%0Alibtool%3A+install%3A+..%2Finstall-sh+-c+.libs%2Flibffi.a+%2Fusr%2Flocal%2Flib%2Flibffi.a%0Alibtool%3A+install%3A+chmod+644+%2Fusr%2Flocal%2Flib%2Flibffi.a%0Alibtool%3A+install%3A+ranlib+%2Fusr%2Flocal%2Flib%2Flibffi.a%0Alibtool%3A+finish%3A+PATH%3D%22%2Fbin%3A%2Fsbin%3A%2Fusr%2Fbin%3A%2Fusr%2Fsbin%3A%2Fsbin%22+ldconfig+-n+%2Fusr%2Flocal%2Flib%0Aldconfig%3A+%2Fusr%2Flocal%2Flib%2Flibffi.so.6+is+not+a+symlink%0A----------------------------------------------------------------------%0ALibraries+have+been+installed+in%3A%0A+++%2Fusr%2Flocal%2Flib%0A%0AIf+you+ever+happen+to+want+to+link+against+installed+libraries%0Ain+a+given+directory%2C+LIBDIR%2C+you+must+either+use+libtool%2C+and%0Aspecify+the+full+pathname+of+the+library%2C+or+use+the+%60-LLIBDIR%27%0Aflag+during+linking+and+do+at+least+one+of+the+following%3A%0A+++-+add+LIBDIR+to+the+%60LD_LIBRARY_PATH%27+environment+variable%0A+++++during+execution%0A+++-+add+LIBDIR+to+the+%60LD_RUN_PATH%27+environment+variable%0A+++++during+linking%0A+++-+use+the+%60-Wl%2C-rpath+-Wl%2CLIBDIR%27+linker+flag%0A%0ASee+any+operating+system+documentation+about+shared+libraries+for%0Amore+information%2C+such+as+the+ld%281%29+and+ld.so%288%29+manual+pages.%0A----------------------------------------------------------------------%0A..%2Finstall-sh+-c+-d+%27%2Fusr%2Flocal%2Fshare%2Finfo%27%0A..%2Finstall-sh+-c+-m+644+..%2Fdoc%2Flibffi.info+%27%2Fusr%2Flocal%2Fshare%2Finfo%27%0A..%2Finstall-sh+-c+-d+%27%2Fusr%2Flocal%2Flib%2Fpkgconfig%27%0A..%2Finstall-sh+-c+-m+644+libffi.pc+%27%2Fusr%2Flocal%2Flib%2Fpkgconfig%27%0Amake%5B3%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%27%0Amake%5B2%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%27%0Amake%5B1%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.0.13%2Fmips-unknown-linux-gnu%27]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Fri, 24 Apr 2015 22:07:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Running configure for ffi gave me an error about grep which I&amp;#39;d seen when doing the attempt at Python2.7.9&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=checking+for+grep+that+handles+long+lines+and+-e...+configure%3A+error%3A+no+acceptable+grep+could+be+found+in+%2Fbin%3A%2Fsbin%3A%2Fusr%2Fbin%3A%2Fusr%2Fsbin%3A%2Fusr%2Fxpg4%2Fbin]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I found a fix for grep but then realised I&amp;#39;d not got &amp;quot;make&amp;quot;, again I had see then when doing the Python build (which is when I was on the Linino distribution) so I got it from there.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=opkg+update%0Aopkg+install+libpcre%0Aopkg+upgrade+grep%0Awget+http%3A%2F%2Fdownload.linino.org%2Flinino_distro%2Fmaster%2Flatest%2Fpackages%2Fmake_3.81-1_ar71xx.ipk%0Aopkg+install+make_3.81-1_ar71xx.ipk]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So that allowed me to continue with&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=.%2Fconfigure%0Amake]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Both which seemed to run without error.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;However &amp;quot;make install&amp;quot; reported a problem&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=root%40EnchantedCottage%3A%2Fmnt%2Fsda1%2Flibffi-3.2.1%23+make+install%0AMAKE+mips-unknown-linux-uclibc+%3A+0+*+install%0Amake%5B1%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.2.1%2Fmips-unknown-linux-uclibc%27%0AMaking+install+in+include%0Amake%5B2%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.2.1%2Fmips-unknown-linux-uclibc%2Finclude%27%0Amake%5B3%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.2.1%2Fmips-unknown-linux-uclibc%2Finclude%27%0Amake%5B3%5D%3A+Nothing+to+be+done+for+%60install-exec-am%27.%0A+..%2F..%2Finstall-sh+-c+-d+%27%2Fusr%2Flocal%2Flib%2Flibffi-3.2.1%2Finclude%27%0A+..%2Finstall-sh+-c+-m+644+ffi.h+ffitarget.h+%27%2Fusr%2Flocal%2Flib%2Flibffi-3.2.1%2Finclude%27%0A%2Fbin%2Fash%3A+..%2Finstall-sh%3A+not+found%0Amake%5B3%5D%3A+***+%5Binstall-nodist_includesHEADERS%5D+Error+127%0Amake%5B3%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.2.1%2Fmips-unknown-linux-uclibc%2Finclude%27%0Amake%5B2%5D%3A+***+%5Binstall-am%5D+Error+2%0Amake%5B2%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.2.1%2Fmips-unknown-linux-uclibc%2Finclude%27%0Amake%5B1%5D%3A+***+%5Binstall-recursive%5D+Error+1%0Amake%5B1%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.2.1%2Fmips-unknown-linux-uclibc%27%0Amake%3A+***+%5Binstall%5D+Error+2]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I ran &amp;quot;make install&amp;quot; from the include directory and that fixed the /bin/ash: ../install-sh: not found error.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=make+install%0Amake%5B1%5D%3A+Entering+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.2.1%2Fmips-unknown-linux-uclibc%2Finclude%27%0Amake%5B1%5D%3A+Nothing+to+be+done+for+%60install-exec-am%27.%0A+..%2F..%2Finstall-sh+-c+-d+%27%2Fusr%2Flocal%2Flib%2Flibffi-3.2.1%2Finclude%27%0A+..%2F..%2Finstall-sh+-c+-m+644+ffi.h+ffitarget.h+%27%2Fusr%2Flocal%2Flib%2Flibffi-3.2.1%2Finclude%27%0Amake%5B1%5D%3A+Leaving+directory+%60%2Fmnt%2Fsda1%2Flibffi-3.2.1%2Fmips-unknown-linux-uclibc%2Finclude%27]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The Pip install requests[security] still errored saying that it could not find the files so I copied the header files to /usr/include/libffi&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now my error is:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=++Running+setup.py+install+for+cffi%0A++++Complete+output+from+command+%2Fusr%2Fbin%2Fpython+-c+%22import+setuptools%2C+tokenize%3B__file__%3D%27%2Ftmp%2Fpip-build-DTUFkL%2Fcffi%2Fsetup.py%27%3Bexec%28compile%28getattr%28tokenize%2C+%27open%27%2C+open%29%28__file__%29.read%28%29.replace%28%27%5Cr%5Cn%27%2C+%27%5Cn%27%29%2C+__file__%2C+%27exec%27%29%29%22+install+--record+%2Ftmp%2Fpip-GNE657-record%2Finstall-record.txt+--single-version-externally-managed+--compile%3A%0A++++running+install%0A++++running+build%0A++++running+build_py%0A++++creating+build%0A++++creating+build%2Flib.linux-mips-2.7%0A++++creating+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fcommontypes.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2F__init__.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fmodel.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fvengine_gen.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Flock.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fvengine_cpy.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fcparser.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fffiplatform.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fapi.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fbackend_ctypes.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fverifier.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++copying+cffi%2Fgc_weakref.py+-%3E+build%2Flib.linux-mips-2.7%2Fcffi%0A++++running+build_ext%0A++++building+%27_cffi_backend%27+extension%0A++++creating+build%2Ftemp.linux-mips-2.7%0A++++creating+build%2Ftemp.linux-mips-2.7%2Fc%0A++++mips-openwrt-linux-uclibc-gcc+-fno-strict-aliasing+-Os+-pipe+-mips32r2+-mtune%3Dmips32r2+-fno-caller-saves+-fhonour-copts+-Wno-error%3Dunused-but-set-variable+-msoft-float+-DNDEBUG+-Os+-pipe+-mips32r2+-mtune%3Dmips32r2+-fno-caller-saves+-fhonour-copts+-Wno-error%3Dunused-but-set-variable+-msoft-float+-fPIC+-DUSE__THREAD+-I%2Fusr%2Finclude%2Fffi+-I%2Fusr%2Finclude%2Flibffi+-I%2Fusr%2Finclude%2Fpython2.7+-c+c%2F_cffi_backend.c+-o+build%2Ftemp.linux-mips-2.7%2Fc%2F_cffi_backend.o%0A++++mips-openwrt-linux-uclibc-gcc+-shared+-L%2Fhome%2Fjenkins%2Fjenkins%2Fjobs%2Fyun-openwrt%2Fworkspace%2Fstaging_dir%2Ftarget-mips_r2_uClibc-0.9.33.2%2Fusr%2Flib+-L%2Fhome%2Fjenkins%2Fjenkins%2Fjobs%2Fyun-openwrt%2Fworkspace%2Fstaging_dir%2Ftarget-mips_r2_uClibc-0.9.33.2%2Flib+-L%2Fhome%2Fjenkins%2Fjenkins%2Fjobs%2Fyun-openwrt%2Fworkspace%2Fstaging_dir%2Ftoolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2%2Fusr%2Flib+-L%2Fhome%2Fjenkins%2Fjenkins%2Fjobs%2Fyun-openwrt%2Fworkspace%2Fstaging_dir%2Ftoolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2%2Flib+build%2Ftemp.linux-mips-2.7%2Fc%2F_cffi_backend.o+-lffi+-o+build%2Flib.linux-mips-2.7%2F_cffi_backend.so%0A++++%2Fusr%2Fbin%2Fld%3A+cannot+find+-lffi%0A++++collect2%3A+error%3A+ld+returned+1+exit+status%0A++++error%3A+command+%27mips-openwrt-linux-uclibc-gcc%27+failed+with+exit+status+1%0A%0A++++----------------------------------------%0A++++Command+%22%2Fusr%2Fbin%2Fpython+-c+%22import+setuptools%2C+tokenize%3B__file__%3D%27%2Ftmp%2Fpip-build-DTUFkL%2Fcffi%2Fsetup.py%27%3Bexec%28compile%28getattr%28tokenize%2C+%27open%27%2C+open%29%28__file__%29.read%28%29.replace%28%27%5Cr%5Cn%27%2C+%27%5Cn%27%29%2C+__file__%2C+%27exec%27%29%29%22+install+--record+%2Ftmp%2Fpip-GNE657-record%2Finstall-record.txt+--single-version-externally-managed+--compile%22+failed+with+error+code+1+in+%2Ftmp%2Fpip-build-DTUFkL%2Fcffi]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Fri, 24 Apr 2015 06:07:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;After several hours of searching I gave up. As I&amp;#39;d spotted that option in the newer GCC headers I thought I&amp;#39;d try installing a newer GCC.&lt;/p&gt;&lt;p&gt;I found one over at OpenWRT&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ref: &lt;a class="jive-link-external-small" href="http://www.dd-wrt.com/phpBB2/viewtopic.php?p=919720" rel="nofollow ugc noopener" target="_blank"&gt;http://www.dd-wrt.com/phpBB2/viewtopic.php?p=919720&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a class="jive-link-external-small" href="http://noblepepper.com/wp/blog/2014/10/22/gcc-g-on-an-arduino-yun/" rel="nofollow ugc noopener" target="_blank"&gt;http://noblepepper.com/wp/blog/2014/10/22/gcc-g-on-an-arduino-yun/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I had to remove the old version and install the newer one. This is a bit of a risky process according to opkg as I had to remove an &amp;quot;essential&amp;quot; package to replace it with the newer one.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=opkg+remove+yun-gcc%0Acd+%2Fmnt%2Fsda1%2F%0Awget+http%3A%2F%2Fdownloads.openwrt.org%2Fsnapshots%2Ftrunk%2Far71xx%2Fgeneric%2Fpackages%2Fpackages%2Fgcc_4.8.3-1_ar71xx.ipk%0Awget+http%3A%2F%2Fdownloads.openwrt.org%2Fbarrier_breaker%2F14.07%2Far71xx%2Fgeneric%2Fpackages%2Fbase%2Flibstdcpp_4.8-linaro-1_ar71xx.ipk%0Aopkg+--force-remove+--force-removal-of-essential-packages+remove+libstdcpp%0Aopkg+--force-remove+remove+gcc%0Aopkg+install+libstdcpp_4.8-linaro-1_ar71xx.ipk%0Aopkg+install+gcc_4.8.3-1_ar71xx.ipk]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now the pip install requests[security] gave me an error about not finding Python.h. The Linux forums suggested I needed to install the Python-dev package. Something that does not seem to exist for the Yun. So I downloaded 2.7.3 Python and extracted files using tar -xz -f Python-2.7.3.tgz. Next I copied Python.h to /usr/include/python2.7&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;That produced an other error about patchlevel.h so I copied the whole of the /include folder into /usr/include/python2.7.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My latest error is &amp;quot;fatal error: ffi.h: No such file or directory&amp;quot;, I&amp;#39;ve got the ffi source but there&amp;#39;s no ffi.h header, I&amp;#39;m guessing that the configure script will build one of those. Let&amp;#39;s hope I have more luck with that than the configure script for Python 2.7.9 which kept telling me that my int has size 0.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Thu, 23 Apr 2015 21:14:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Running &amp;quot;&lt;span lang="EN-GB"&gt;opkg install binutils&amp;quot; g&lt;/span&gt;ot rid of my &amp;quot;as&amp;quot; error. Now just have the -fhonour-copts issue, there&amp;#39;s no mention of that option in the cffi package.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=Collecting+cffi%3E%3D0.8+%28from+cryptography%3E%3D0.7-%3EpyOpenSSL-%3Erequests%5Bsecurity%5D%29%0A++Using+cached+cffi-0.9.2.tar.gz%0A++++Complete+output+from+command+python+setup.py+egg_info%3A%0A++++cc1%3A+error%3A+unrecognized+command+line+option+%27-fhonour-copts%27%0A++++cc1%3A+error%3A+unrecognized+command+line+option+%27-fhonour-copts%27%0A++++cc1%3A+error%3A+unrecognized+command+line+option+%27-fhonour-copts%27%0A++++cc1%3A+error%3A+unrecognized+command+line+option+%27-fhonour-copts%27%0A++++++++No+working+compiler+found%2C+or+bogus+compiler+options%0A++++++++passed+to+the+compiler+from+Python%27s+distutils+module.%0A++++++++See+the+error+messages+above.%0A++++++++%28If+they+are+about+-mno-fused-madd+and+you+are+on+OS%2FX+10.8%2C%0A++++++++see+http%3A%2F%2Fstackoverflow.com%2Fquestions%2F22313407%2F+.%29%0A++++----------------------------------------%0A++++Command+%22python+setup.py+egg_info%22+failed+with+error+code+1+in+%2Ftmp%2Fpip-build-dN9Psq%2Fcffi]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I just can&amp;#39;t work out where that option might be set.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=root%40EnchantedCottage%3A%2Fmnt%2Fsda1%2FPython%23+gcc+-v%0AUsing+built-in+specs.%0ACOLLECT_GCC%3Dgcc%0ACOLLECT_LTO_WRAPPER%3D%2Fusr%2Fbin%2F..%2Flibexec%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.2%2Flto-wrapper%0ATarget%3A+mips-openwrt-linux-uclibc%0AConfigured+with%3A+..%2Fyun-gcc-4.6.2%2Fconfigure+--host%3Dmips-openwrt-linux-uclibc+--target%3Dmips-openwrt-linux-uclibc+--prefix%3D%2Fhome%2Fjenkins%2Fjenkins%2Fjobs%2Fyun-openwrt%2Fworkspace%2Fstaging_dir%2Ftarget-mips_r2_uClibc-0.9.33.2%2Fyun-gcc+--disable-subdir-texinfo+MAKEINFO%3Dmissing+--disable-decimal-float+--disable-libquadmath+--disable-lto+--enable-languages%3Dc%2Cc%2B%2B%0AThread+model%3A+posix%0Agcc+version+4.6.2+%28GCC%29]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There also seems to be headers for both 4.6.2 and 4.6.3 but I can&amp;#39;t see how you&amp;#39;d change that. The 4.6.3 headers do actually mention -fhonor-copts in options.h&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There&amp;#39;s nothing in ENV either than mentions this.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can anyone give me a point in the right direction?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Thu, 23 Apr 2015 09:17:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Just realised &amp;quot;as&amp;quot; is the GNU assembler, that seems to be in the bintools package, I&amp;#39;ll check if installing that removes the errors.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Thu, 23 Apr 2015 07:36:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Given my difficulty getting Python to compile I though I&amp;#39;d try a smaller challenge. The &amp;quot;pip install requests[security]&amp;quot; needs a compiler to install so I&amp;#39;ve checked that. It&amp;#39;s currently erroring with&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=%3Erequests%5Bsecurity%5D%29%0A++Using+cached+cffi-0.9.2.tar.gz%0A++++Complete+output+from+command+python+setup.py+egg_info%3A%0A++++mips-openwrt-linux-uclibc-gcc%3A+error+trying+to+exec+%27as%27%3A+execvp%3A+No+such+file+or+directory%0A++++cc1%3A+error%3A+unrecognized+command+line+option+%27-fhonour-copts%27%0A++++cc1%3A+error%3A+unrecognized+command+line+option+%27-fhonour-copts%27%0A++++mips-openwrt-linux-uclibc-gcc%3A+error+trying+to+exec+%27as%27%3A+execvp%3A+No+such+file+or+directory%0A++++cc1%3A+error%3A+unrecognized+command+line+option+%27-fhonour-copts%27%0A++++cc1%3A+error%3A+unrecognized+command+line+option+%27-fhonour-copts%27%0A%0A++++++++No+working+compiler+found%2C+or+bogus+compiler+options%0A++++++++passed+to+the+compiler+from+Python%27s+distutils+module.%0A++++++++See+the+error+messages+above.%0A++++++++%28If+they+are+about+-mno-fused-madd+and+you+are+on+OS%2FX+10.8%2C%0A++++++++see+http%3A%2F%2Fstackoverflow.com%2Fquestions%2F22313407%2F+.%29%0A%0A++++----------------------------------------%0A++++Command+%22python+setup.py+egg_info%22+failed+with+error+code+1+in+%2Ftmp%2Fpip-build-ZTXAdi%2Fcffi]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Tue, 21 Apr 2015 13:47:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;strong&gt;pip install requests[security]&lt;/strong&gt; works nicely on my dev machine.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Compiling Python 2.7.9 is complaining on the Yun. Looks like I need to decipher the configuration shell script and/or the header files, neither look particularly appealing. Here&amp;#39;s my configure.log.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=configure%3A7169%3A+gcc+-c+-g+-O2++conftest.c+%3E%265%0A++++++++In+file+included+from+%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fstdio.h%3A34%3A0%2C%0A+++++++++++++++++from+conftest.c%3A74%3A%0A++++++++%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fstddef.h%3A212%3A23%3A+error%3A+duplicate+%27unsigned%27%0A++++++++%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fstddef.h%3A212%3A23%3A+error%3A+two+or+more+data+types+in+declaration+specifiers%0A++++++++In+file+included+from+%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fpthread.h%3A26%3A0%2C%0A+++++++++++++++++++++from+%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fbits%2FuClibc_mutex.h%3A15%2C%0A+++++++++++++++++++++from+%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fbits%2FuClibc_stdio.h%3A107%2C%0A+++++++++++++++++++++from+%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fstdio.h%3A72%2C%0A+++++++++++++++++++++from+conftest.c%3A74%3A%0A++++++++%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Ftime.h%3A61%3A19%3A+error%3A+two+or+more+data+types+in+declaration+specifiers%0A++++++++%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Ftime.h%3A177%3A17%3A+error%3A+two+or+more+data+types+in+declaration+specifiers%0A++++++++In+file+included+from+conftest.c%3A76%3A0%3A%0A++++++++%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fsys%2Ftypes.h%3A67%3A17%3A+error%3A+two+or+more+data+types+in+declaration+specifiers%0A++++++++%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fsys%2Ftypes.h%3A72%3A18%3A+error%3A+two+or+more+data+types+in+declaration+specifiers%0A++++++++%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fsys%2Ftypes.h%3A82%3A17%3A+error%3A+two+or+more+data+types+in+declaration+specifiers%0A++++++++%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fsys%2Ftypes.h%3A90%3A19%3A+error%3A+two+or+more+data+types+in+declaration+specifiers%0A++++++++%2Fusr%2Flib%2Fgcc%2Fmips-openwrt-linux-uclibc%2F4.6.3%2Finclude%2Fsys%2Ftypes.h%3A90%3A19%3A+error%3A+two+or+more+data+types+in+declaration+specifiers%0A++++++++conftest.c%3A+In+function+%27main%27%3A%0A++++++++conftest.c%3A110%3A12%3A+error%3A+size+of+array+%27test_array%27+is+negative%0A++++++++configure%3A7169%3A+%24%3F+%3D+1]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The issue seems to be documented here but with no prescribed cure&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44961" rel="nofollow ugc noopener" target="_blank" title="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44961"&gt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44961&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Mon, 20 Apr 2015 10:32:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>fvan</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;It&amp;#39;s been said by others before, but I really like the way you bring your story &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-165c152a-b61d-4778-85b7-c27ac28fcb43/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Enchanted Objects Design Challenge - The snake, the troll and the fighting dwarves</title><link>https://community.element14.com/challenges-projects/design-challenges/enchanted-objects/b/blog/posts/enchanted-objects-design-challenge---the-snake-the-troll-and-the-fighting-dwarves</link><pubDate>Mon, 20 Apr 2015 10:12:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:165c152a-b61d-4778-85b7-c27ac28fcb43</guid><dc:creator>Workshopshed</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I tried installing the security fixes with&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;pip install requests[security]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;that gave me errors about not having a gcc so I&amp;#39;ve installed that too. Then I got a new error about not having the Python.h file. I tried to install the package for that but it was not listed.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So I&amp;#39;m currently going down the approach of compiling 2.7.9 from scratch but it the snake is fighting me all the way!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=20492&amp;AppID=117&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>