Coder Social home page Coder Social logo

c-repl's People

Contributors

evmar avatar mbrubeck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c-repl's Issues

Hexpat 0.9 dependency stops installation on Ubuntu

Hi, I'd love to try c-repl, but depending on Hexpat 0.9 stops me from trying.

I would happily install hexpat 0.9 via Cabal, but It fails with the following:

$ cabal install hexpat-0.9
Resolving dependencies...
Configuring hexpat-0.9...
Preprocessing library hexpat-0.9...
Building hexpat-0.9...
[1 of 5] Compiling Text.XML.Expat.IO ( Text/XML/Expat/IO.hs, dist/build/Text/XML/Expat/IO.o )

Text/XML/Expat/IO.hs:211:5:
    `rnf' is not a (visible) method of class `NFData'

Text/XML/Expat/IO.hs:211:35: Not in scope: `rnf'    

Text/XML/Expat/IO.hs:223:5:
    `rnf' is not a (visible) method of class `NFData'

Text/XML/Expat/IO.hs:223:46: Not in scope: `rnf'
cabal: Error: some packages failed to install:
hexpat-0.9 failed during the building phase. The exception was:
ExitFailure 1

I could use Hexpat versions 0.14 and above, but they seem to have a different API and have lost the parseTree' method of Text.XML.Expat.Tree in favour of parse', so that when trying to compile c-repl, I get the following:

$ cabal install
Resolving dependencies...
Configuring c-repl-0.1...
Preprocessing executables for c-repl-0.1...
Building c-repl-0.1...
[    2 of 5] Compiling GCCXML           ( GCCXML.hs, dist/build/c-repl/c-repl-tmp/GCCXML.o )

GCCXML.hs:123:18: Not in scope: `Expat.parseTree''
cabal: Error: some packages failed to install:
c-repl-0.1 failed during the building phase. The exception was:
ExitFailure 1

I don't speak Haskell, unfortunately, and the API has changed enough for me to be unable to fix it and propose a pull request.

While I will eventually get around to fixing my inability to speak Haskell, I figured I'd raise this here in the meantime :)

Trouble when calling cabal configure

First of all, I want to thank you for the awesome work. It's a bummer this is discontinued.

Anyways, maybe someone is also having the same problem when cabal configure is called:

Warning: The configure command is a part of the legacy v1 style of cabal
usage.

Please switch to using either the new project style and the new-configure
command or the legacy v1-configure alias as new-style projects will become the
default in the next version of cabal-install. Please file a bug if you cannot
replicate a working v1- use case with the new-style commands.

For more information, see: https://wiki.haskell.org/Cabal/NewBuild

Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
[__0] trying: c-repl-0.1 (user goal)
[__1] unknown package: readline (dependency of c-repl)
[__1] fail (backjumping, conflict set: c-repl, readline)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: c-repl, readline
Trying configure anyway.
[1 of 1] Compiling Main             ( dist/setup/setup.hs, dist/setup/Main.o )

dist/setup/setup.hs:1:1: error:
    Could not find module ‘Prelude’
    There are files missing in the ‘base-4.12.0.0’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
  |
1 | #! /usr/bin/env runhaskell
  | ^

dist/setup/setup.hs:10:3: error:
    Could not find module ‘Control.Applicative’
    There are files missing in the ‘base-4.12.0.0’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
10 |   import Control.Applicative
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^

dist/setup/setup.hs:11:3: error:
    Could not find module ‘Distribution.Simple’
    There are files missing in the ‘Cabal-2.4.0.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
11 |   import Distribution.Simple
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^

dist/setup/setup.hs:12:3: error:
    Could not find module ‘Distribution.PackageDescription’
    There are files missing in the ‘Cabal-2.4.0.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
12 |   import Distribution.PackageDescription
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dist/setup/setup.hs:13:3: error:
    Could not find module ‘Distribution.Simple.LocalBuildInfo’
    There are files missing in the ‘Cabal-2.4.0.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
13 |   import Distribution.Simple.LocalBuildInfo
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dist/setup/setup.hs:14:3: error:
    Could not find module ‘Distribution.Simple.Setup’
    There are files missing in the ‘Cabal-2.4.0.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
14 |   import Distribution.Simple.Setup
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dist/setup/setup.hs:15:3: error:
    Could not find module ‘Distribution.Simple.Program’
    There are files missing in the ‘Cabal-2.4.0.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
15 |   import Distribution.Simple.Program
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dist/setup/setup.hs:16:3: error:
    Could not find module ‘Distribution.Simple.Utils’
    There are files missing in the ‘Cabal-2.4.0.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
16 |   import Distribution.Simple.Utils
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dist/setup/setup.hs:17:3: error:
    Could not find module ‘Distribution.Verbosity’
    There are files missing in the ‘Cabal-2.4.0.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
17 |   import Distribution.Verbosity
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dist/setup/setup.hs:18:3: error:
    Could not find module ‘System.FilePath’
    There are files missing in the ‘filepath-1.4.2.1’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
18 |   import System.FilePath ((</>))
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

dist/setup/setup.hs:19:3: error:
    Could not find module ‘System.Posix.Files’
    There are files missing in the ‘unix-2.7.2.2’ package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
   |
19 |   import System.Posix.Files
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^

I wonder if there's an easy fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.