PowerShell / Win32-OpenSSH

Win32 port of OpenSSH
7.2k stars 739 forks source link

Compile in windows 10 #2230

Open s-nt-s opened 2 months ago

s-nt-s commented 2 months ago

Prerequisites

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

tgauth commented 2 months ago

Please follow https://github.com/PowerShell/Win32-OpenSSH/wiki/Building-OpenSSH-for-Windows-(using-LibreSSL-crypto) The instructions in the readme refer to building the upstream fork - OpenSSH/OpenSSH-Portable