Hi,

Mark Stosberg <[email protected]> writes:
> There is no INSTALL or README file. I did not know what to do next, so I was
> stuck. I even tried to read the source of "Setup.lhs" and "darcs.cabal", but
> neither contained useful hints in the headers that I saw.
oops! Thanks for the input.

> I'm very interested in alternatives to "make" and would gladly test again as
> a non-Haskeller if an INSTALL file was provided.
If you have "cabal-install" on your system, that is the "cabal" executable, you
should be able to run:

    $ cabal configure
    $ cabal build
    $ cabal install

and obtain working ~/.cabal/bin/darcs. Alternatively, if you don't have
cabal-intsall, you should be able to say:

    $ runghc ./Setup.lhs configure
    $ runghc ./Setup.lhs build
    $ runghc ./Setup.lhs install

but this will likely try a system-wide install. If you omit the install step,
you should find a darcs executable under dist/build/darcs/ -- you can copy it
somewhere or just run it from there.

I'll try to look around for a generic cabal INSTALL file that we could
distribute with darcs. Maybe
http://www.haskell.org/haskellwiki/Cabal/How_to_install_a_Cabal_package would
be a good starting point?

Yours,
   Petr.

-- 
Peter Rockai | me()mornfall!net | prockai()redhat!com
 http://blog.mornfall.net | http://web.mornfall.net

"In My Egotistical Opinion, most people's C programs should be
 indented six feet downward and covered with dirt."
     -- Blair P. Houghton on the subject of C program indentation
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to