PowerShell / PowerShell/Win32-OpenSSH

Compile in windows 10

Open
#2,230 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Build Issue-Question Waiting on Author
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Steps to reproduce

I can't compile this project in Windows 10

Expected behavior
# As said in https://github.com/PowerShell/openssh-portable?tab=readme-ov-file#building-from-git
git clone https://github.com/openssh/openssh-portable # or https://anongit.mindrot.org/openssh.git
cd openssh-portable
autoreconf
./configure
make && make tests
Actual behavior
git clone https://github.com/openssh/openssh-portable # or https://anongit.mindrot.org/openssh.git
cd openssh-portable
autoreconf
autoreconf : El término 'autoreconf' no se reconoce como nombre de un cmdlet, función, archivo de script o programa ejecutable. Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso,
compruebe que dicha ruta es correcta e inténtelo de nuevo.
En línea: 1 Carácter: 1
+ autoreconf
+ ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (autoreconf:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


And in https://www.gnu.org/software/autoconf/ there is no info about install autoconf in windows
Error details
PS> Get-Error
Get-Error : El término 'Get-Error' no se reconoce como nombre de un cmdlet, función, archivo de script o programa ejecutable. Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso,
compruebe que dicha ruta es correcta e inténtelo de nuevo.
En línea: 1 Carácter: 1
+ Get-Error
+ ~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-Error:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Environment data
PS>$PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.4291
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.4291
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Version

latest

Visuals

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked README build instructions and the reported failure at the autoreconf command in PowerShell 5.1 on Windows 10. Determine the supported Windows prerequisites or build path, then verify that the project compiles and that make tests can run successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, git, shell
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.