Skip to content

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

Closed
jhauga wants to merge 10 commits into
curl:masterfrom
jhauga:cygwin-install
Closed

jhauga wants to merge 10 commits into
curl:masterfrom
jhauga:cygwin-install

Conversation

@jhauga

@jhauga jhauga commented May 29, 2025 •

Copy link
Copy Markdown
Contributor

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

bagder commented May 30, 2025

Copy link
Copy Markdown
Member

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.

Comment thread docs/INSTALL.md Outdated
Comment thread docs/INSTALL.md
Comment thread docs/INSTALL.md Outdated
Comment thread docs/INSTALL.md Outdated
Comment thread docs/INSTALL.md Outdated
Comment thread docs/INSTALL.md Outdated
@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
Comment thread docs/INSTALL.md Outdated
Comment thread docs/INSTALL.md Outdated
Comment thread docs/INSTALL.md
@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

bagder commented Jun 5, 2025

Copy link
Copy Markdown
Member

@vszakats is there a 👍 from you on this?

@vszakats

vszakats commented Jun 5, 2025

Copy link
Copy Markdown
Member

@vszakats is there a 👍 from you on this?

Yes, looking good!

@bagder bagder closed this in 3035b8e Jun 5, 2025
@bagder

bagder commented Jun 5, 2025

Copy link
Copy Markdown
Member

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