Coder Social home page Coder Social logo

mediawiki's People

Contributors

sof avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

danem belovachap

mediawiki's Issues

Missing build-dep network-uri

MediaWiki/Util/Fetch.hs:28:8:
    Could not find module ‘Network.URI’
    It is a member of the hidden package ‘network-uri-2.6.0.1’.
    Perhaps you need to add ‘network-uri’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

ghc version: ghc-7.8.3-2
Cabal version: 1.20.0.3-2
OS: Linux
network-uri should be added to build-deps

When that's done I get these errors:

MediaWiki/API.hs:58:40:
    Couldn't match type ‘text-1.1.1.3:Data.Text.Internal.Text’
                  with ‘[Char]’
    Expected type: String
      Actual type: text-1.1.1.3:Data.Text.Internal.Text
    In the expression: showMIMEType form_mime_ty
    In the expression: ("Content-Type", showMIMEType form_mime_ty)

MediaWiki/API.hs:64:30:
    Couldn't match type ‘[Char]’
                  with ‘text-1.1.1.3:Data.Text.Internal.Text’
    Expected type: SubType
      Actual type: [Char]
    In the first argument of ‘Application’, namely
      ‘"x-www-form-urlencoded"’
    In the expression: Application "x-www-form-urlencoded"
    In an equation for ‘form_mime_ty’:
        form_mime_ty = Application "x-www-form-urlencoded"

I got these on both Windows and Linux.

Broken Dependencies

Currently this library doesn't compile due to its .cabal file not specifying version bounds. The network package no longer exports the network-uri package which has been moved to network-uri. Furthermore, the mime package has switched from String to Text since version 4.0. A quick fix would to simply specify the versions in the cabal file.

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.