git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-viz tool for visualising commit trees

From
OAOlivier Andrieu <oandrieu@nerim.net>
Date
Apr 21, 2005, 11:31 UTC
Message-ID
<20050421.133136.78712855.oandrieu@nerim.net>
In-Reply-To
<20050421092120.GA20626@elte.hu>
 > Ingo Molnar [Thu, 21 Apr 2005]:
 > 
 > * Olivier Andrieu <oandrieu@nerim.net> wrote:
 > 
 > > There, here's a tarball :
 > >   http://oandrieu.nerim.net/monotone-viz/git-viz-0.1.tar.gz
 > 
 > i'm trying to build it under Fedora Core 4 (devel), and there are two 
 > problems:
 > 
 >  - the build scripts seem to assume that "." is in PATH (or that the 
 >    needed viz_style.ml/etc. scripts are in the PATH).

I'm not sure what's wrong here. It works fine for me when I run make in the source directory and I don't have "." in PATH.

 > adding "." to the PATH worked around this issue, a number of files built 
 > fine, but then it hit the next problem:
 > 
 >  ocamlopt.opt  -I /usr/lib/ocaml/lablgtk2 -I glib -I crypto -pp  -c viz_style.ml
 >  sh: - : invalid option
 >  Usage:  sh [GNU long option] [option] ...
 >          sh [GNU long option] [option] script-file ...
 >  GNU long options:
 >  [...]
 >  Preprocessor error
 >  make: *** [viz_style.cmx] Error 2

That's probably because the configure script didn't find camlp4. Camlp4 is a preprocessor for ocaml, it's needed for compiling this file (viz_style.ml). Camlp4 is built with the ocaml compilers but some package it separately. Try to find and install some ocaml-camlp4 (or camlp4) package and then re-run configure.

The configure script should signal an error when it doesn't find camlp4, I'll change that.

-- 
   Olivier
Previous: Remi VanicatNext: Ingo Molnar
Message 8 of 17 in “git-viz tool for visualising commit trees”
  1. Petr BaudisApr 17, 2005
  2. Ingo MolnarApr 20, 2005
  3. Petr BaudisApr 20, 2005
  4. Olivier AndrieuApr 20, 2005
  5. Olivier AndrieuApr 21, 2005
  6. Ingo MolnarApr 21, 2005
  7. Remi VanicatApr 21, 2005
  8. Olivier AndrieuApr 21, 2005
  9. Ingo MolnarApr 21, 2005
  10. Vincent HanquezApr 21, 2005
  11. Olivier AndrieuApr 21, 2005
  12. Ingo MolnarApr 21, 2005
  13. Ingo MolnarApr 21, 2005
  14. Ingo MolnarApr 21, 2005
  15. Petr BaudisApr 21, 2005
  16. Olivier AndrieuApr 21, 2005
  17. Ingo MolnarApr 21, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.