{"id":542,"date":"2010-03-07T00:15:09","date_gmt":"2010-03-06T23:15:09","guid":{"rendered":"http:\/\/www.gennard.net\/blog\/?p=542"},"modified":"2010-03-07T00:15:09","modified_gmt":"2010-03-06T23:15:09","slug":"building-rsync-for-the-pogoplug","status":"publish","type":"post","link":"http:\/\/www.gennard.net\/blog\/2010\/03\/building-rsync-for-the-pogoplug\/","title":{"rendered":"Building rsync for the pogoplug"},"content":{"rendered":"<p>I finally managed to get a cross compiler that works with the pogoplug, I first tried various custom build of the GNU C++ cross compiler on the Mac but none of them succeeded in creating binaries that  were compatible with my little pink pogoplug.<\/p>\n<p>Anyway, instead of boring you with various evening&#8217;s development woos&#8230; I will just tell you what I ended up doing which was to use VirtuaBox with ubuntu x86 and use <a href=\"http:\/\/pogoplug.com\/opensource\/pogoplug-gcc.tar.bz2\">this tar file<\/a> (eg: bunzip2 it, tar xvf into $HOME)<\/p>\n<p>Then to compile it I first had to setup the makefile for rsync:<\/p>\n<p><code code=\"bash\" width=\"800\" lines=\"-1\" nowrap=\"0\"><br \/>\n# export PATH=$HOME\/pogoplug-gcc\/bin:$PATH<br \/>\n# CC=arm-none-linux-gnueabi-gcc .\/configure --build=arm-linux<br \/>\n --host=arm-none-linux-gnueabi --target=arm-linux<br \/>\n<\/code><\/p>\n<p>Then to build is was easy&#8230; I just did&#8230;<\/p>\n<p><code code=\"bash\" width=\"800\" lines=\"-1\" nowrap=\"0\"><br \/>\n# CC=arm-none-linux-gnueabi-gcc  make<br \/>\n<\/code><\/p>\n<p>Next, I found a small USB thumb drive, formatted in ext3 using ubuntu, placed it into the pogoplug, logged into it, remount&#8217;ed the drives using:<\/p>\n<p><code code=\"bash\" width=\"800\" lines=\"-1\" nowrap=\"0\"><br \/>\n# mount -o remount exec \/tmp\/.cemnt\/mnt_sdb1<br \/>\n<\/code><\/p>\n<p>You may need to change the mnt point, use mount to find it..<\/p>\n<p>Now you will be able to use rsync via ssh and use &#8211;rsync-path to point to rsync on your ext3 drive.<\/p>\n<p>I required, I make the rsync exe + md5 sum available&#8230; just shout!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally managed to get a cross compiler that works with the pogoplug, I first tried various custom build of the GNU C++ cross compiler on the Mac but none of them succeeded in creating binaries that were compatible with &hellip; <a href=\"http:\/\/www.gennard.net\/blog\/2010\/03\/building-rsync-for-the-pogoplug\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,27],"tags":[62,63,80,223,224],"_links":{"self":[{"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/posts\/542"}],"collection":[{"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/comments?post=542"}],"version-history":[{"count":0,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/posts\/542\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/media?parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/categories?post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gennard.net\/blog\/wp-json\/wp\/v2\/tags?post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}