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

Linux executable #1

Open
fe3dback opened this issue May 14, 2019 · 3 comments
Open

Linux executable #1

fe3dback opened this issue May 14, 2019 · 3 comments

Comments

@fe3dback
Copy link

fe3dback commented May 14, 2019

Hi, how to compile this to ubuntu? I want try this with wurstscript on wine.

I try make install, make jhcr, etc, with no result.

Current progress:

make jhcr
~/.cabal/bin/cabal v1-exec -- ghc  convert
[3 of 5] Compiling Jass.Parser      ( Jass/Parser.hs, Jass/Parser.o )

Jass/Parser.hs:23:1: error:
    Could not find module ‘Text.Megaparsec’
    Use -v to see a list of the files searched for.
   |
23 | import Text.Megaparsec
   | ^^^^^^^^^^^^^^^^^^^^^^

Jass/Parser.hs:24:1: error:
    Could not find module ‘Text.Megaparsec.Char’
    Perhaps you meant Text.Parsec.Char (from parsec-3.1.13.0)
    Use -v to see a list of the files searched for.
   |
24 | import Text.Megaparsec.Char
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Jass/Parser.hs:25:1: error:
    Could not find module ‘Text.Megaparsec.Char.Lexer’
    Use -v to see a list of the files searched for.
   |
25 | import qualified Text.Megaparsec.Char.Lexer as L
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Jass/Parser.hs:27:1: error:
    Could not find module ‘Control.Monad.Combinators.Expr’
    Use -v to see a list of the files searched for.
   |
27 | import Control.Monad.Combinators.Expr
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
make: *** [GNUmakefile:43: convert] Error 1

p.s. i do not know anything about cabal and haskel.

@lep
Copy link
Owner

lep commented May 15, 2019 via email

@fe3dback
Copy link
Author

look like some of packages is not installed. No idea hot to fix this :)

What i have now:

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.6.3
$ cabal --version
cabal-install version 2.4.1.0
compiled using version 2.4.1.0 of the Cabal library 
$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
$ git log
commit 083d660d0906825b09f17d054684706b72f9338e (HEAD -> master, origin/master, origin/HEAD)
Author: lep <[email protected]>
Date:   Thu Apr 25 00:55:18 2019 +0200

    Now uses Int16 to store jass types.

Try to make:

$ make
cabal v1-exec -- ghc  convert
[1 of 5] Compiling Data.Composeable ( Data/Composeable.hs, Data/Composeable.o )

Data/Composeable.hs:3:8: error:
    Could not find module ‘Prelude’
    Use -v to see a list of the files searched for.
  |
3 | module Data.Composeable
  |        ^^^^^^^^^^^^^^^^

Data/Composeable.hs:12:1: error:
    Could not find module ‘Data.Monoid’
    Use -v to see a list of the files searched for.
   |
12 | import Data.Monoid
   | ^^^^^^^^^^^^^^^^^^

Data/Composeable.hs:13:1: error:
    Could not find module ‘Control.Applicative’
    Use -v to see a list of the files searched for.
   |
13 | import Control.Applicative
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/Composeable.hs:14:1: error:
    Could not find module ‘Control.Monad.Identity’
    Use -v to see a list of the files searched for.
   |
14 | import Control.Monad.Identity
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/Composeable.hs:15:1: error:
    Could not find module ‘Control.Monad.Writer’
    Use -v to see a list of the files searched for.
   |
15 | import Control.Monad.Writer
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
make: *** [GNUmakefile:43: convert] Error 1
$ make init
cabal v1-sandbox init
Writing a default package environment file to
/home/neo/.wurst/tools/jhcr/cabal.sandbox.config
Creating a new sandbox at /home/fe3d/.wurst/tools/jhcr/.cabal-sandbox
cabal v1-install megaparsec lens optparse-applicative file-embed gitrev \
                     lca hashable dlist
<command line>: unknown package: rts
make: *** [GNUmakefile:59: init] Error 1

@lep
Copy link
Owner

lep commented May 16, 2019 via email

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

2 participants