Closed GoogleCodeExporter closed 9 years ago
The problem is that goinstall compiles stats_http aswell as stats_none for some
reason.
- first fix is that http.HandleFunc passes a http.ResponseWriter argument as first argument (see http://code.google.com/r/sorosj-go9p/source/detail?r=d76e80d6a7a6cc6334c430e7b45a736bc1c1a4a1 )
- second is to unify the stats modules so the functions aren't declared twice, i have a rudimentary fix here http://code.google.com/r/sorosj-go9p/source/detail?r=c8567ff204f3ca8735dd52846065d94cf19aa1d1
The problem was that goinstall was trying to compile both stats_http and
stats_none. I'm not sure the second fix is pretty, but at least it compiles and
installs with goinstall
Original comment by sor...@gmail.com
on 3 Oct 2010 at 2:58
there are several other problems, including bugs with missing loggers.
Original comment by mirtchov...@gmail.com
on 19 Oct 2010 at 3:09
This issue was closed by revision 47d7b289cc.
Original comment by mirtchov...@gmail.com
on 29 Oct 2010 at 7:02
still doesn't install with goinstall, the commands i am trying are:
1, goinstall go9p.googlecode.com/hg/p (this works)
2, goinstall go9p.googlecode.com/hg/p/clnt (this doesn't work)
3, goinstall go9p.googlecode.com/hg/p/srv (this doesn't work either)
Original comment by sor...@gmail.com
on 26 Nov 2010 at 4:48
this is mainly due to incorrect use of the logging package: change all the
log.Stderr calls to log.Println and the package compiles (haven't tested with
goinstall since the repo is not in my control and i'm too lazy to fork it right
now ;)
Diffs attached
Original comment by sor...@gmail.com
on 26 Nov 2010 at 6:02
Attachments:
there are no more calls to log.Stderr in go9p. are you sure you've updated to
the latest revision?
Original comment by mirtchov...@gmail.com
on 26 Nov 2010 at 6:24
you're right, i had a stale hg repo hanging around. sorry.
well, both clnt and srv still fail goinstall with similar errors, dunno how
important (or possible) it is for you to make go9p compatible with goinstall.
The errors are attached.
Original comment by sor...@gmail.com
on 26 Nov 2010 at 6:40
Attachments:
ok, that particular bug is due to goinstall not using our makefile. i've
reintroduced a fix.
Original comment by mirtchov...@gmail.com
on 26 Nov 2010 at 6:56
Original issue reported on code.google.com by
sor...@gmail.com
on 24 Sep 2010 at 2:56