Installing Erlang/OTP 17.5 on OSX - erlang

The official install instructions say:
If you want to build the wx application, you will need to get
wxWidgets-3.0 (wxWidgets-3.0.0.tar.bz2 from
http://sourceforge.net/projects/wxwindows/files/3.0.0/) or get it from
github with bug fixes:
$ git clone --branch WX_3_0_branch git#github.com:wxWidgets/wxWidgets.git
Who wouldn't want bug fixes:
$ git clone --branch WX_3_0_branch git#github.com:wxWidgets/wxWidgets.git
Cloning into 'wxWidgets'...
fatal: Remote branch WX_3_0_branch not found in upstream origin
Does anyone know where the bug fix version is located?
Response to comment:
With all caps, I get:
$ git clone --branch WX_3_0_BRANCH git#github.com:wxWidgets/wxWidgets.git
Cloning into 'wxWidgets'...
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
For future searchers: in order to use github commands like above, you need to setup ssh keys for your computer. I had already done that, but for some reason it didn't work a few hours later. Firewall problems at my new location? I don't know. I moved to a different location/server from where I was getting the Connection reset by peer error, and then I created a new ssh key, and I was able to download and install wxWidgets. The git clone command just downloads the source, so you probably want to be at the ~/Downloads prompt when you issue that command. The Erlang install directions tell you how to install wxWidgets.

The branch in question is named WX_3_0_BRANCH — all uppercase.

Related

Openedx devstack installation

Instructions of openedx devstack installation
I'm trying to install the openedx hawthorn release on my Mac. I followed the instructions, but when I ran make dev.clone, it gave me the error below:
fatal: not a git repository (or any of the parent directories): .git
make: *** [Makefile:41: dev.clone] Error 128
My command line
Any suggestions on how to resolve this issue?
after step 2,
edit the repo.sh file on line 93 like this:
cd $name
git checkout open-release/${OPENEDX_RELEASE}
cd ..
You need to add 1 & 3 line. And then follow further steps.
you can try the below command
make dev.clone.https
When you try to make dev.clone by default it uses ssh to clone the repository. In windows using ssh for git clone gives the error. So try using https for git clone.

Recieving objects too slow in Git

Before asking the question, I find a related post:
Git cloning stucks on receiving objects
But it seems it is fine, my Receiving objects is very slow.
Only 3.00 KiB/s, why it is so slow, because I am in China, the GFW affect?
I have tested open the VPN to turn over the GFW, and I can see facebook.com.
How to increase the internet speed when git clone ?
try
git config --global http.postBuffer 524288000
or
git config --global http.proxy proxy-listen-ip:proxy-listen-port
git config --global https.proxy proxy-listen-ip:proxy-listen-port
or
git config --global http.http://github.com.proxy proxy-listen-ip:proxy-listen-port
git config --global https.https://github.com.proxy proxy-listen-ip:proxy-listen-port
if your operating system is linux,
use proxychains (google it):
proxychains git clone url
or
click this link nslookup,choose the response ip whoes ttl value is minimal.
in this case, choose 151.101.76.249.
then add the ip to /etc/hosts, like this:
save, and maybe you need to restart the machine
Then,maybe you can enjoy it.
First of all have the very stable internet connection.
Check the stability of your connection in fast.com
If you are accessing the client network with VPN, then obviously the download speed will be reduced for the client websites.
I faced the same issue many times, tried in different ways like tortoise git, Git bash and CMD prompt. Atlast high speed and stable connection resolved my issue.
you can also get the time to finish the clone by using the below command,
"time git clone URL"

git clone can not work on my mac terminal

larrybin at LarrydeMacBook-Pro in ~/test_site
[$ git clone https://github.com/LarryBrin/coursera-test.git ]
Cloning into 'coursera-test' ...
Fatal unable to access 'https://github.com/LarryBrin/coursera-test.git/' : Failed to connect to github.com port 443: Operation timed out
I have searched on Google and StackOverflow throughout, but cannot find the answer. Can you tell what the problem is?
Check with this.
git clone git#github.com:LarryBrin/coursera-test.git
If you use http first set proxy and check with above command:
git config --global http.proxy [Ip_Address]:[port_number]

Git push failed when I updated the cocoaPods

In order to fit iOS 10,I have to update these 3-part in cocoaPods,so I had updated the cocoaPods to it's newest version.APP works fine,but when I use git push, the terminal require me to input username and password for github,however,the terminal showed:
fatal: Authentication failed for 'https://github.com/CocoaPods/Specs.git/'.
I am sure the username and password I put into is right.
Before I asked this question here I had ask for help on Google and find a solution:Pull first,then push.
But the embarrassing thing is that I had commit my code.That is to say,if I use git pull I will lose all my work today,that's terrible,so I wonder if there any better way to solve it.
When I hit git remote -v in terminal there showed something interesting:
origin https://github.com/CocoaPods/Specs.git (fetch)
origin https://github.com/CocoaPods/Specs.git (push)
I am surprised about how cocoaPods changed my project's remote url?
Finally I use git remote set-url origin xxx solve this problem.

Unable to negotiate a key exchange method with Mina deployment

I'm encountering a message like this while deploying with Mina, but not sure why Git is not able to pull the repo.
I've tried switching sshd_config due to Unable to negotiate a key exchange method message, but still can't figure things out. Thanks for helping.
-----> Creating a temporary build path
$ touch "deploy.lock"
$ mkdir -p "$build_path"
$ cd "$build_path"
-----> Cloning the Git repository
$ git clone "git#github.com:repo/project.git" "/home/deploy/project/scm" --bare
Cloning into bare repository '/home/deploy/project/scm'...
Unable to negotiate a key exchange method
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
! ERROR: Deploy failed.
-----> Cleaning up build
$ rm -rf "$build_path"
Unlinking current
$ rm -f "deploy.lock"
OK
! Command failed.
Failed with status 1 (19)
The issue is, that your local SSH client and the remote endpoint at GitHub are unable to agree on a common key exchange method.
This will mostly occur when you poked around with the set of available Key exchange methods or you are using a very old & outdated SSH client which does not support any method which is still regarded as safe.
Interestingly this only occurs on some GitHub Repos: I'm still able to pull from other reports.
To diagnose you can set the following environment variable to see more of the SSH output:
export GIT_SSH_COMMAND="ssh -vv"
To fix it, I added a custom entry in my config_ssh or ~/.ssh/.config allowing more legacy algorithms for that host. Please note this should appear above any Host * section:
# Github needs diffie-hellman-group-exchange-sha1 some of the
# time but not always.
Host github.com
KexAlgorithms curve25519-sha256#libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1

Resources