Skip to content

make: Could not find module 'PGF' #1

@steve3p0

Description

@steve3p0

My apologies I am a GF newbie. When I try to make the project I get the following error:

Translation-master$ make
cd Haskell/ &&\
gf --make --output-format=haskell ../GF/TransEng.gf ../GF/TransIta.gf > /dev/null &&\
cd ..
cd Haskell/ &&\
ghc --make -o translate Translator.hs &&\
cd ..
	
Trans.hs:4:18:
    Could not find module ‘PGF’
    Use -v to see a list of the files searched for.
Makefile:13: recipe for target 'translate' failed
make: *** [translate] Error 

I have installed both Haskell and GF. Haskell works. I have been using it all term for a class. As for GF, I just completed Lesson 1 from https://www.grammaticalframework.org/doc/tutorial/gf-tutorial.html

The only thing that I notice is that GF is built on a different Haskell version.
Haskell: The Glorious Glasgow Haskell Compilation System, version 7.10.3
GF: This is GF version 3.9. Built on linux/x86_64 with ghc-8.0, flags: interrupt server c-runtime

Can you explain to me how I can resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions