ncurses
$ cd Open_Source_packages
$ source source.me
$ tar -xzvf ncurses-5.7.tar.gz
$ cd ncurses-5.7
$ ./xbuild.sh build
WD My Cloud EX2 has an Marvell Armada-370 CPU (Marvell PJ4Bv7 Processor rev 1 (v7l)) with 512MB RAM.
This device uses 32-bit binaries with 64K page size. WD releases a cross-compilation environment as part of its "WD My Cloud EX2 GPL Source Code". Download it from WD support page (making sure it matches your firmware version) and follow the instructions in My_Cloud_EX2_Release_Notes_GPL_*.txt to setup the environment. I recommend using a Debian OS.
The following packages are required to use the cross-compilation environment: build-essential automake lib32z1
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA512 | |
| GPG Key Transition | |
| For a number of reasons, I've recently set up a new OpenPGP key, and | |
| will be transitioning away from my old one. | |
| the old key was: |
cd $GOROOT/src
GOOS=linux GOARCH=386 ./make.bash --no-clean
Source:
| package xmpp | |
| import ( | |
| "errors" | |
| "fmt" | |
| "log" | |
| "net" | |
| "net/url" | |
| "github.com/miekg/dns" |
| $ go get github.com/agl/go-gtk | |
| # github.com/agl/go-gtk/gdk | |
| ../../agl/go-gtk/gdk/gdk.go:91:23: warning: 'gdk_color_parse' is deprecated [-Wdeprecated-declarations] | |
| /usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: 'gdk_color_parse' has been explicitly marked deprecated here | |
| ../../agl/go-gtk/gdk/gdk.go:105:42: warning: 'gdk_cursor_new' is deprecated [-Wdeprecated-declarations] | |
| /usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: 'gdk_cursor_new' has been explicitly marked deprecated here | |
| # github.com/agl/go-gtk/gtk | |
| In file included from $WORK/github.com/agl/go-gtk/gtk/_obj/_cgo_export.c:2: | |
| ../../agl/go-gtk/gtk/gtk.go:325:9: warning: 'gtk_widget_get_double_buffered' is deprecated [-Wdeprecated-declarations] | |
| /usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkwidget.h:879:23: note: 'gtk_widget_get_double_buffered' has been explicitly marked deprecated here |
It initialliy failed with:
$ go get github.com/mattn/go-gtk/gtk
# github.com/mattn/go-gtk/gdk
../../mattn/go-gtk/gdk/gdk_darwin.go:5:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
^
1 error generated.
Related issues:
| #!/bin/bash | |
| brew update | |
| brew install asciidoc openssl lcov dmalloc | |
| # add asciidoc config to whatever shell you use | |
| # required by asciidoc. See brew info asciidoc | |
| echo "export XML_CATALOG_FILES=/usr/local/etc/xml/catalog" > .bashrc | |
| git clone https://git.torproject.org/tor.git |