move OSX tips to forum and link to from install/OSX
This commit is contained in:
parent
4395429ab1
commit
065a3e4d2b
3 changed files with 5 additions and 0 deletions
|
@ -1,12 +0,0 @@
|
|||
This is a tip for users who wish to use remotes which are based on OSX systems and have used macports to install some of the required utilities for git-annex to work.
|
||||
|
||||
The default behaviour of OSX's sshd is to have a "highly restricted" restricted environment. The defaults that it allows is
|
||||
|
||||
jtang@x00:~ $ ssh x00 echo \$PATH
|
||||
/usr/bin:/bin:/usr/sbin:/sbin
|
||||
|
||||
One solution is to enable *PermitUserEnvironment yes* in `/etc/sshd_config` and then in your own `~/.ssh/environment` file you could add something like (the below is an example)
|
||||
|
||||
PATH=/Users/jtang/bin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/Users/jtang/.cabal/bin:/opt/local/libexec/gnubin
|
||||
|
||||
If the above is not done, cloning from the OSX host will fail if git is not installed isn't /usr/bin (which it probably won't be).
|
|
@ -1,17 +0,0 @@
|
|||
This isn't really a bug of git-annex, but a problem with haskell-platform/ghc6.12.x so this post might need to be moved to a better place (maybe tips).
|
||||
|
||||
OSX's haskell-platform doesn't have the dynamic libraries available, as far as I know it just isn't supported therefore git-annex will always be statically built on OSX, so wrappers like <http://tsocks.sourceforge.net/> or [[!google dsocks]] for preloading connect() calls won't work.
|
||||
|
||||
<pre>
|
||||
jtang@x00:~/annex $ tsocks git annex get .
|
||||
dyld: could not load inserted library: /opt/local/lib/libtsocks.dylib
|
||||
|
||||
error: git-annex died of signal 5
|
||||
</pre>
|
||||
|
||||
The side effect of this means that users who are behind restrictive firewalls that allow only ssh via a socks proxy, they will need to configure ssh to use something like "http://bent.latency.net/bent/git/goto-san-connect-1.85/src/connect.html".
|
||||
|
||||
<pre>
|
||||
host remotemyhost
|
||||
ProxyCommand connect -S proxy.mydomain:1080 -R local %h %p
|
||||
</pre>
|
Loading…
Add table
Add a link
Reference in a new issue