* cogito Mac OS X compatibility
@ 2005-07-08 23:34 Bryan Larsen
2005-07-09 13:40 ` Martin Langhoff
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Bryan Larsen @ 2005-07-08 23:34 UTC (permalink / raw)
To: git
On Mac OS X
$ cg-clone http://www.kernel.org/pub/scm/cogito/cogito.git
defaulting to local storage area
19:11:10
URL:http://www.kernel.org/pub/scm/cogito/cogito.git/refs/heads/master
[41/41] -> "refs/heads/origin" [1]
/Users/blarsen/bin/cg-pull: line 82: 0 + : syntax error: operand
expected (error token is " ")
cg-pull: objects pull failed
cg-init: pull failed
This appears to be some sort of weird shell thing. I've got bash 3.0
compiling in the background to see if that fixes the problem.
Cogito also appears to rely on the gnu tools. For instance, I've seen
the "-a" flag used with cp. OS X's default installation of cp doesn't
support -a. darwinports coreutils installs gnu cp as "gcp".
Myself, I can't live without cp -a, so have linked gcp to cp, but I
presume we want to be portable, at least to a certain degree.
Bryan
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: cogito Mac OS X compatibility
2005-07-08 23:34 cogito Mac OS X compatibility Bryan Larsen
@ 2005-07-09 13:40 ` Martin Langhoff
2005-07-09 16:50 ` Sven Verdoolaege
2005-07-10 14:29 ` Petr Baudis
2 siblings, 0 replies; 5+ messages in thread
From: Martin Langhoff @ 2005-07-09 13:40 UTC (permalink / raw)
To: Bryan Larsen; +Cc: git
On 7/9/05, Bryan Larsen <bryan.larsen@gmail.com> wrote:
> On Mac OS X
It also uses on GNU xargs, and the xargs options aren't compatible
between GNU and BSD xargs.
Sad thing is, some of the dependencies, like xargs, aren't available
in fink, so you can build your toolchaing or boot into GNU/LinuxPPC.
Debian actually has git (cogito?) experimental packages.
cheers,
martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cogito Mac OS X compatibility
2005-07-08 23:34 cogito Mac OS X compatibility Bryan Larsen
2005-07-09 13:40 ` Martin Langhoff
@ 2005-07-09 16:50 ` Sven Verdoolaege
2005-07-09 18:38 ` Bryan Larsen
2005-07-10 14:29 ` Petr Baudis
2 siblings, 1 reply; 5+ messages in thread
From: Sven Verdoolaege @ 2005-07-09 16:50 UTC (permalink / raw)
To: Bryan Larsen; +Cc: git
On Fri, Jul 08, 2005 at 07:34:55PM -0400, Bryan Larsen wrote:
> This appears to be some sort of weird shell thing. I've got bash 3.0
> compiling in the background to see if that fixes the problem.
>
Sounds like you're missing "stat" from coreutils.
skimo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cogito Mac OS X compatibility
2005-07-09 16:50 ` Sven Verdoolaege
@ 2005-07-09 18:38 ` Bryan Larsen
0 siblings, 0 replies; 5+ messages in thread
From: Bryan Larsen @ 2005-07-09 18:38 UTC (permalink / raw)
To: skimo; +Cc: git
> Sounds like you're missing "stat" from coreutils.
>
> skimo
>
Thanks. I've got it working to the point where it passes "make test"
now. All I had to do was install coreutils and findutils from
darwinports, and then make gcp, gstat and gnuxargs available under their
standard names.
Do the BSD's or Solaris have the same problem? Last time I used them
they didn't have the gnu options available on their standard utils, but
that was ages ago. If current BSD's have the problem, it might be worth
expending some effort to make cogito more portable. If it's only OS X...
Bryan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cogito Mac OS X compatibility
2005-07-08 23:34 cogito Mac OS X compatibility Bryan Larsen
2005-07-09 13:40 ` Martin Langhoff
2005-07-09 16:50 ` Sven Verdoolaege
@ 2005-07-10 14:29 ` Petr Baudis
2 siblings, 0 replies; 5+ messages in thread
From: Petr Baudis @ 2005-07-10 14:29 UTC (permalink / raw)
To: Bryan Larsen; +Cc: git
Dear diary, on Sat, Jul 09, 2005 at 01:34:55AM CEST, I got a letter
where Bryan Larsen <bryan.larsen@gmail.com> told me that...
> On Mac OS X
>
> $ cg-clone http://www.kernel.org/pub/scm/cogito/cogito.git
> defaulting to local storage area
> 19:11:10
> URL:http://www.kernel.org/pub/scm/cogito/cogito.git/refs/heads/master
> [41/41] -> "refs/heads/origin" [1]
> /Users/blarsen/bin/cg-pull: line 82: 0 + : syntax error: operand
> expected (error token is " ")
> cg-pull: objects pull failed
> cg-init: pull failed
That's strange. I assume you don't have the stat utility, but that
shouldn't matter - Cogito has own stat stub to use in those cases. Could
you please put some debugging stuff into stat() in cg-Xlib to see what's
going on? (Beware, cg-pull calls it with 2>/dev/null.) Thanks.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
<Espy> be careful, some twit might quote you out of context..
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-10 14:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-08 23:34 cogito Mac OS X compatibility Bryan Larsen
2005-07-09 13:40 ` Martin Langhoff
2005-07-09 16:50 ` Sven Verdoolaege
2005-07-09 18:38 ` Bryan Larsen
2005-07-10 14:29 ` Petr Baudis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).