Skip to content

INSTALL.md: cygwin details and add source code link #17485

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

Closed
wants to merge 10 commits into from

Conversation

jhauga
Copy link
Contributor

@jhauga jhauga commented May 29, 2025

Added more details to help with cygwin install, adding links to curl source code (where relevant) to help save people a little time.

The cygwin install process I used for the instructions are:

  1. Windows Sandox

  2. Install winget

  3. Install cygwin

  4. Download curl source code:

    • curl https://mirrors.kernel.org/sources.redhat.com/cygwin/x86_64/release/curl/curl-8.13.0-1-src.tar.xz -o src.tar.xz
    • tar -xJf src.tar.xz && rm src.tar.xz
    • move curl-8.13.0-1.src\curl-8.13.0.tar.xz curl.tar.xz
    • tar -xJf curl.tar.xz && rm curl.tar.xz
    • move curl-8.13.0 curl
    • cd curl
    • sh configure --without-ssl
    • make - ${test_commands}
  5. Run curl ${test_commands}:
    - src\curl --help
    - src\curl http://example.com
    - src\curl -I http://example.com
    - src\curl -H "accept-language: en-US,en;q=0.9" http://example.com
    - src\curl -L http://example.com

Added more details to help with cygwin install, adding links to curl source code where relevant to help save people a little time. 

The cygwin install process I used for the instructions are:

  1. Windows Sandox
  2. Install winget 
  3. Install cygwin
  4. Download curl source code:
     - curl https://mirrors.kernel.org/sources.redhat.com/cygwin/x86_64/release/curl/curl-8.13.0-1-src.tar.xz -o src.tar.xz
     - tar -xJf src.tar.xz && rm src.tar.xz
     - move curl-8.13.0-1.src\curl-8.13.0.tar.xz curl.tar.xz
     - tar -xJf curl.tar.xz && rm curl.tar.xz
     - move curl-8.13.0 curl
     - cd curl
     - sh configure --without-ssl
     - make
     - ${test_commands}
     
  5. Run curl ${test_commands}:
     - src\curl --help
     - src\curl http://example.com
     - src\curl -I http://example.com     
     - src\curl -H "accept-language: en-US,en;q=0.9" http://example.com
     - src\curl -L http://example.com
@jhauga jhauga marked this pull request as draft May 30, 2025 00:01
jhauga added 3 commits May 29, 2025 20:19
Correct errors from spellcheck, badwords-synopsis, and mischecks.
Correct errors from spellcheck, badwords-synopsis, and mischecks.
Correct error from spellcheck.
@jhauga jhauga marked this pull request as ready for review May 30, 2025 00:44
@bagder
Copy link
Member

bagder commented May 30, 2025

links to curl source code

But they link to different anchors on the download page, which seems mostly wrong. Most of the specific packages listed on the download page are not source code at all so several links are definitely wrong. I think it is better to direct users to the curl release tarballs at the top of the download page. Probably then completely without any fragment in the URL.

@jhauga jhauga marked this pull request as draft May 30, 2025 21:45
jhauga and others added 3 commits May 30, 2025 17:54
Commit suggestions.

Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>
Removed the redundant links to curl source code.
@jhauga jhauga marked this pull request as ready for review May 30, 2025 23:12
@jhauga jhauga marked this pull request as draft May 31, 2025 05:41
jhauga and others added 2 commits May 31, 2025 01:46
Implement suggestions.

Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>
Tested build without suggested packages. It worked.
@jhauga jhauga marked this pull request as ready for review May 31, 2025 06:28
@bagder bagder requested a review from vszakats May 31, 2025 13:21
Change cygwin setup-x86_64 syntax that provides better search search results.
@bagder
Copy link
Member

bagder commented Jun 5, 2025

@vszakats is there a 👍 from you on this?

@vszakats
Copy link
Member

vszakats commented Jun 5, 2025

@vszakats is there a 👍 from you on this?

Yes, looking good!

@bagder bagder closed this in 3035b8e Jun 5, 2025
@bagder
Copy link
Member

bagder commented Jun 5, 2025

Thanks!

@jhauga jhauga deleted the cygwin-install branch June 5, 2025 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants