Skip to content

Cygwin #27

Description

It says here:

http://wikipedia.org/wiki/Pkgsrc

that pkgsrc supports Cygwin - where can I find the pkg_add tool for Cygwin?

Activity

  1. iamleot commented on Jul 29, 2018

    @iamleot
    Member
  2. iamleot commented on Jul 29, 2018

    @iamleot
    Member
  3. krytarowski commented on Oct 9, 2018

    @krytarowski
    Member

    Is this solved?

  4. jsonn commented on Oct 10, 2018

    @jsonn
    Member

    Noone provides binary packages for cygwin.

  5. krytarowski commented on Oct 10, 2018

    @krytarowski
    Member

    Cygwin (and all other handled OSes) are community driven and the project can promise only source repository. Everything else what comes in a binary format is a matter of downstream vendor to build and distribute binary packages.

    If that vendor takes part in the community, it can put the packages on shared ftp.

    http://cdn.netbsd.org/pub/pkgsrc/packages/

    Right now nobody is actively collaborating from the Cygwin community so we cannot do much beyond shipping with source form.

    The source distribution of pkgsrc might not be the proper place for prompt for binary packages, at least it probably won't get much traction here.

  6. michaeldexter commented on Jun 20, 2019

    @michaeldexter

    I tried pkgsrc on Cygwin today and while it works, it is poorly documented and many packages fail to build, notably, devel/libtool-base, which is needed by devel/flex, which is needed by several packages I tried. I can install the same version of libtool in Cygwin but I do not know how to force use of it.

    A few tips:

    At a minimum you will want to install the gcc-core and libgcc1 packages in Cygwin.

    From the command line: ./setup-x86.exe -q -P gcc-core libgcc1

    Download and extract the pkgsrc tree as per the documentation and run the bootstrap script. I suggest you save the output with the script(1) command.

    You will want to add these paths to /etc/profile (one is for Cygwin itself):

    if [ ${CYGWIN_NOWINPATH-addwinpath} = "addwinpath" ] ; then
    PATH="/usr/pkg/bin:/usr/pkg/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin${PATH:+:${PATH}}"
    else
    PATH="/usr/pkg/bin:/usr/pkg/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin"
    fi

    Log in again to receive the correct paths and you should be able to enter a specific package and type "bmake", rather than the traditional "make" and note that make from Cygwin will fail.

    That said, could someone please look at building devel/libtool-base ?

    Thanks!

  7. added a commit that references this issue on Aug 25, 2019
  8. 210 remaining items

  9. added 6 commits that reference this issue on May 15, 2026
    82b684b
    ae62a69
    cdde127
    b7a106b
    8959d89
    271029e
  10. added a commit that references this issue on Jun 24, 2026
  11. added a commit that references this issue on Jul 26, 2026
    9cb29e0
  12. added a commit that references this issue on Aug 25, 2026
  13. added a commit that references this issue on Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions