Re: problem installing latest cogito
From: dave morgan <hidden>
Date: 2016-06-15 22:42:17
On Sat, 21 Jan 2006 20:48:26 +0100, Petr Baudis [off-list ref] wrote:
Dear diary, on Sat, Jan 21, 2006 at 03:08:27PM CET, I got a letter where dave morgan [off-list ref] said that...quoted
sed -e 's/\${COGITO_LIB}/\${COGITO_LIB:-\/home\/david\/lib\/cogito\/}/g; \ s/\${COGITO_SHARE}/\${COGITO_SHARE:-\/home\/david\/share\/cogito\/}/g' \ $file > $file.new; \ cat $file.new > $file; rm $file.new; \ done sed: -e expression #1, char 145: unterminated address regex(145 is the total expression length.) Now, I'm at loss - this works here and I can see nothing wrong on the regexp - does anyone have any idea? What is your sed version?
~/cogito$ sed --version GNU sed version 4.1.2 (from Debian/testing)
quoted
net result - a pile of zero length files in /home/david/bin/ :-( can I just copy the cg-files from to cogito directory over?No, you would have to also set $COGITO_LIB and $COGITO_SHARE (or put cg-X* scripts to your bin directory as well).
I blundered about for 30 minutes with git-reset, and ended up here -
david@tower2:~/cogito$ cg-log | head
commit a9c75f3b8b1adb01859ff2c9b028f72a247837c6
tree c0c2b743d5dbacc33bced6ace62347724664c817
parent 653b039dbf989696160db56bb196a1584932fdeb
author Petr Baudis [off-list ref] Sat, 21 Jan 2006 02:28:30 +0100
committer Petr Baudis [off-list ref] Sat, 21 Jan 2006 02:28:30
+0100
Add support for cg-update -v
Makes it call cg-fetch with -v as well, to list all the changes
being
pulled.
and then make-install worked, and I seem to have a working cogito ...
but 'make test' fails -
*** t9400-clean.sh ***
* ok 1: initialize repo
* ok 2: cg-clean -n in top-level dir
* ok 3: cg-clean -Ddxqn in top-level dir
* ok 4: cg-clean -n in subdir
* FAIL 5: cg-clean in subdir
(cd 'repo dir' && cg-clean && check_loss)
* ok 6: cg-clean -d in subdir
* FAIL 7: cg-clean -x in subdir
(cd 'repo dir' && cg-clean -x && check_loss)
* FAIL 8: cg-clean in top-level dir
(cg-clean && check_loss)
* FAIL 9: cg-clean -x in top-level dir
(cg-clean -x && check_loss)
* FAIL 10: cg-clean -d in top-level dir
(cg-clean -d && check_loss)
* ok 11: cg-clean -D in top-level dir
* failed 5 among 11 test(s)
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/david/cogito/t'
make: *** [test] Error 2
is this expected?
best regards
Dave