From 8d2a87581b4daa47fad6471c7d9f4e4776ecc476 Mon Sep 17 00:00:00 2001 From: milisbir Date: Mon, 5 Feb 2018 18:48:05 +0200 Subject: [PATCH] go --- talimatname/genel/g/go/README | 34 ---------------------------------- talimatname/genel/g/go/talimat | 28 ---------------------------- 2 files changed, 62 deletions(-) delete mode 100644 talimatname/genel/g/go/README delete mode 100644 talimatname/genel/g/go/talimat diff --git a/talimatname/genel/g/go/README b/talimatname/genel/g/go/README deleted file mode 100644 index ae15e4d9a..000000000 --- a/talimatname/genel/g/go/README +++ /dev/null @@ -1,34 +0,0 @@ -Notes -===== - -You must have ``CONFIG_IP_MULTICAST`` enabled in your kernel -for several of the go tests to pass and the buidl to -succeed. - -You probably want to ensure you have -the following setup either temporarily -in your ``$HOME/.bashrc`` or ``$HOME/.profile`` -or ``/etc/profile`` or similar. - -.. code-block:: sh - - export GOROOT=/usr/lib/go - - -Go Language Installation - Step by Step ------------------------------- -You will need to this step just one, but pay attention to each step before you go to next one: -0 - Go to your home directory, e.g.: cd /home/user -1 - Get the binary of 1.4 stable version of Go, e.g. 1.4.2: https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz -2 - Extrat the file in your home directory, e.g.: tar -xzf go1.4.2.linux-amd64.tar.gz and name it go1.4 -3 - Set the GOROOT and PATH, e.g.: export GOROOT=/home/user/go; export PATH=$PATH:/home/user/go/bin -4 - Create a directory to clone the last version of Go, e.g.: mkdir ~/gonew; cd ~/gonew -5 - Get the source code of Go from Github = git clone git://github.com/golang/go -6 - Go to the source directory, e.g.: cd go/src -7 - Set CGO_ENABLED and GOROOT_BOOTSTRAP, e.g.: CGO_ENABLED=0; GOROOT_BOOTSTRAP=/home/user/go1.4 -8 - Compile the new version of Go: GOROOT_FINAL=/usr/local ./make.bash -9 - Sudo privileges and copy the GO to /usr/local, e.g.: cp -rf /home/user/go /usr/local -10 - Reset PATH variable to the original value -11 - Set the new GOROOT and PATH, e.g.: export GOROOT=/usr/local/go; export PATH=$PATH:/usr/local/go/bin -12 - Put GOROOT and PATH in your startup script - diff --git a/talimatname/genel/g/go/talimat b/talimatname/genel/g/go/talimat deleted file mode 100644 index f3e8f87c0..000000000 --- a/talimatname/genel/g/go/talimat +++ /dev/null @@ -1,28 +0,0 @@ -# Tanım: GO Programlama dili -# URL: http://golang.org/ -# Paketçi: milisarge@gmail.com -# Gerekler: - -isim=go -surum=1.4.3 -devir=1 -kaynak=(https://storage.googleapis.com/golang/${isim}${surum}.src.tar.gz) - - -derle() { - - cd $SRC/go/src - export CGO_ENABLED=0 - bash make.bash --no-clean - - install -d $PKG/usr/lib - cp -r $SRC/go $PKG/usr/lib/ - - install -d $PKG/usr/bin - ln -s /usr/lib/go/bin/go $PKG/usr/bin/ - ln -s /usr/lib/go/bin/gofmt $PKG/usr/bin/ - - find $PKG \( -name "*.a" -o -name "*.go" \) -exec chmod 644 '{}' \; - find $PKG \( -name "README*" -o -name "AUTHORS" -o -name "TODO" \) -delete - rm $PKG/usr/lib/go/src/*.bat -}