Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install instructions no longer works due to cabal new-install #41

Open
anka-213 opened this issue Sep 11, 2024 · 0 comments
Open

Install instructions no longer works due to cabal new-install #41

anka-213 opened this issue Sep 11, 2024 · 0 comments

Comments

@anka-213
Copy link
Member

Nowadays the default behavior of cabal is to not install libraries globally by default, so these instructions in the readme no longer work:

To get started

Compile the software. You need

With these in place, you can simply type

$ make

You should make the executable gfud available on your path; otherwise you can call it with

$ ./gfud

In the same directory.

The executable gfud has several modes and options.
Calling it without any arguments prints out a help message.

gfud typically reads and writes standard IO, and file arguments are used only when many files of different kinds have to be read.
For most commands, the input is UD trees in the CoNLL format, which can be read from files in two ways:

$ gfud ... <file.conllu
$ cat file.conllu | gfud ...

We could either change the recommendation to

  1. Install the PGF library using cabal old-install
  2. Install the PGF library using cabal install --lib
  3. Probably easiest: Skip the step of first installing the PGF library and recomend building gf-ud using cabal or stack.

On a side-note, these instructions also mention gfud instead of the new name gf-ud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant