git & ocssw install
git & ocssw install
Hi, I'm trying to install the ocssw processor on ubuntu 14.04 but am running into a problem with git I think.
I rebuilt git from source as described here (https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=27714) and made sure its pointing to the latest version (2.11.0) but I still get an error after running the ocssw install.
./install_ocssw.py --install-dir=/home/seadas/ocssw --git-branch=7.3 --aqua --seawifs
Installing common (2 of 15)
fatal: unable to access 'https://oceandata.sci.gsfc.nasa.gov/ocssw/common.git/': gnutls_handshake() failed: Handshake failed
Error - Could not run "cd /home/seadas/ocssw/run/data/common; git fetch -q > /dev/null"
not sure what else to try?
Caren
I rebuilt git from source as described here (https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=27714) and made sure its pointing to the latest version (2.11.0) but I still get an error after running the ocssw install.
./install_ocssw.py --install-dir=/home/seadas/ocssw --git-branch=7.3 --aqua --seawifs
Installing common (2 of 15)
fatal: unable to access 'https://oceandata.sci.gsfc.nasa.gov/ocssw/common.git/': gnutls_handshake() failed: Handshake failed
Error - Could not run "cd /home/seadas/ocssw/run/data/common; git fetch -q > /dev/null"
not sure what else to try?
Caren
Filters:
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
git & ocssw install
could you type
$ which git
to make sure the path is setup to use the new git and change your branch to "--git-branch=v7.3"
$ which git
to make sure the path is setup to use the new git and change your branch to "--git-branch=v7.3"
git & ocssw install
thanks, here's the output. it gets a little further into the install but fails with same error.
seadas@seadas:~$ which git
/usr/bin/git
seadas@seadas:~$ ./install_ocssw.py --install-dir=/home/seadas/ocssw --git-branch=v7.3 --aqua --seawifs
Cloning into '/home/seadas/ocssw/run/data/common'...
Receiving objects: 100% (182/182), 1.18 GiB | 83.91 MiB/s, done.
Resolving deltas: 100% (60/60), done.
Checking out files: 100% (112/112), done.
fatal: unable to access 'https://oceandata.sci.gsfc.nasa.gov/ocssw/common.git/': gnutls_handshake() failed: Handshake failed
Error - Could not run "cd /home/seadas/ocssw/run/data/common; git fetch -q > /dev/null"
seadas@seadas:~$ which git
/usr/bin/git
seadas@seadas:~$ ./install_ocssw.py --install-dir=/home/seadas/ocssw --git-branch=v7.3 --aqua --seawifs
Cloning into '/home/seadas/ocssw/run/data/common'...
Receiving objects: 100% (182/182), 1.18 GiB | 83.91 MiB/s, done.
Resolving deltas: 100% (60/60), done.
Checking out files: 100% (112/112), done.
fatal: unable to access 'https://oceandata.sci.gsfc.nasa.gov/ocssw/common.git/': gnutls_handshake() failed: Handshake failed
Error - Could not run "cd /home/seadas/ocssw/run/data/common; git fetch -q > /dev/null"
git & ocssw install
You are using
/usr/bin/git
which is probably still Ubuntu's old version. What is echo $PATH
? The directory where the new git resides should come before/usr/bin
. Another option is to uninstall the Ubuntu version using your package manager (if this fails because some other package depends on git, there is a way to create a "dummy" package to inform the package manager that a suitable git is available). To make sure the new git version will work, try:$ cd /home/seadas/ocssw/run/data/common
$ <path_to_new_git> fetch -v
git & ocssw install
I un-installed git and started over, and everything has installed fine now. thanks!