Giter VIP home page Giter VIP logo

hs-socks's People

Contributors

eagletmt avatar erikd avatar fumieval avatar kazu-yamamoto avatar mietek avatar phadej avatar sjakobi avatar snoyberg avatar vincenthz avatar

Stargazers

 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

hs-socks's Issues

Support building against network-3.0.0.0

Fails with:

[6 of 7] Compiling Network.Socks5.Lowlevel ( Network/Socks5/Lowlevel.hs, dist/build/Network/Socks5/Lowlevel.o )

Network/Socks5/Lowlevel.hs:10:1: error:
    Could not load module ‘Network.BSD’
    It is a member of the hidden package ‘network-2.8.0.0’.
    Perhaps you need to add ‘network’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
   |
10 | import Network.BSD
   | ^^^^^^^^^^^^^^^^^^

Network.BSD now lives in its own package, network-bsd.

socks-0.5.2 does not compile with network-2.4.2.0

Network/Socks5.hs:77:50:
    Ambiguous occurrence `sClose'
    It could refer to either `Network.Socket.sClose',
                             imported from `Network.Socket' at Network/Socks5.hs:45:1-21
                          or `Network.sClose',
                             imported from `Network' at Network/Socks5.hs:51:1-14

Network/Socks5.hs:113:50:
    Ambiguous occurrence `sClose'
    It could refer to either `Network.Socket.sClose',
                             imported from `Network.Socket' at Network/Socks5.hs:45:1-21
                          or `Network.sClose',
                             imported from `Network' at Network/Socks5.hs:51:1-14
Failed to install socks-0.5.2

Example.hs needs an update

The file Example.hs uses the function socksConnectAddr which is marked as deprecated. Would be nice to update that to use its suggested replacement socksConnectWithSocket.

sock-0.5.5 does not build with ghc-7.4.2?

I tried to cabal install latest pandoc and with ghc-7.4.2 sock-0.5.5 failed to build:

build.log (root.log shows the base package versions)

Network/Socks5/Parse.hs:212:13:
    No instance for (Data.String.IsString ByteString)
      arising from the literal `""'
    Possible fix:
      add an instance declaration for (Data.String.IsString ByteString)
    In the pattern: ""
    In the pattern: (_, "")
    In a case alternative:
        (_, "") -> runParser (getMore >> skipWhile p) B.empty err ok

build failure against cereal-0.3.0.0

I get the following error when building against cereal-0.3.0.0. It works with cereal-0.3.5.2. Looks like socks needs a version constraint on cereal.

Network/Socks5/Command.hs:79:46: Not in scope: `runGetPartial'

Network/Socks5/Command.hs:80:12:
Not in scope: data constructor `Fail'

Network/Socks5/Command.hs:81:12:
Not in scope: data constructor `Partial'

Network/Socks5/Command.hs:82:12:
Not in scope: data constructor `Done'

Compilation error when using GHC 8.8.1

[1 of 7] Compiling Network.Socks5.Parse ( Network/Socks5/Parse.hs, dist/build/Network/Socks5/Parse.o )

Network/Socks5/Parse.hs:74:5: error:
    ‘fail’ is not a (visible) method of class ‘Monad’
   |
74 |     fail errorMsg = Parser $ \buf err _ -> err buf ("failed: " ++ errorMsg)
   |     ^^^^

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.