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

error: cannot find 'SOCK_DGRAM' in scope on UBUNTU #16

Open
daewonyoon opened this issue Jun 10, 2022 · 1 comment
Open

error: cannot find 'SOCK_DGRAM' in scope on UBUNTU #16

daewonyoon opened this issue Jun 10, 2022 · 1 comment

Comments

@daewonyoon
Copy link

I tried to test your ConfigParser package on Ubuntu 20.04.

  • added .package(url: "https://github.com/Ponyboy47/ConfigParser.git", from: "0.4.0"), in my Package.swift.
  • typed swift run and got error messages like following and for SOCK_STREAM.
.build/checkouts/Pathman/Sources/Pathman/CInterop/socket/SocketType.swift:18:55: 
error: cannot find 'SOCK_DGRAM' in scope
    public static let datagram = SocketType(rawValue: SOCK_DGRAM)

Package.resolved has

    {
      "identity" : "configparser",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Ponyboy47/ConfigParser.git",
      "state" : {
        "revision" : "b7d9b1df44b17e108bba16839ee693092cb4cfb6",
        "version" : "0.4.0"
      }
    },
    {
      "identity" : "errno",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Ponyboy47/ErrNo",
      "state" : {
        "revision" : "178566b112afe6bef3770678f1bbab6e5c626993",
        "version" : "0.5.2"
      }
    },
    {
      "identity" : "pathman",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Ponyboy47/Pathman.git",
      "state" : {
        "revision" : "e8d3e299f53a47c93aa6ebfc0d65d2798a4e769d",
        "version" : "0.20.1"
      }
    },
@Ponyboy47
Copy link
Owner

Hi @daewonyoon, unfortunately as I now work for Apple I am not permitted to do any personal open source development and will be unable to fix this bug. If you have the time and are able to submit a pull request I would be happy to merge it through!

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