microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.79k stars 6.3k forks source link

Help me #6445

Closed YarikTiutiunnyk closed 5 years ago

YarikTiutiunnyk commented 5 years ago

PS D:\MLpack\DEV\vcpkg> .\vcpkg install mlpack:x64-windows The following packages will be built and installed:

Call Stack (most recent call first): scripts/cmake/vcpkg_find_acquire_program.cmake:262 (vcpkg_download_distfile) ports/openblas/portfile.cmake:42 (vcpkg_find_acquire_program) scripts/ports.cmake:71 (include)

Error: Building package openblas:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with .\vcpkg update, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: openblas:x64-windows Vcpkg version: 2018.11.23-nohash

Additionally, attach any relevant sections from the log files above.

MVoz commented 5 years ago

cd D:/MLpack/DEV/vcpkg/downloads wget http://strawberryperl.com/download/5.24.1.1/strawberry-perl-5.24.1.1-32bit-portable.zip

or more..

copy strawberry-perl-5.24.1.1-32bit-portable.zip to folder D:/MLpack/DEV/vcpkg/downloads

JackBoosY commented 5 years ago

Hi @YarikTiutiunnyk, please download http://strawberryperl.com/download/5.24.1.1/strawberry-perl-5.24.1.1-32bit-portable.zip manually, put it into vcpkg/downloads/ and rerun install command .\vcpkg install mlpack:x64-windows. Thanks.

danieltuzes commented 5 years ago

@Voskrese are you sure @YarikTiutiunnyk has wget? @YarikTiutiunnyk: it seems that you cannot download http://strawberryperl.com/download/5.24.1.1/strawberry-perl-5.24.1.1-32bit-portable.zip, although the link is valid.

  1. Please check if you can reach the file, for example, with a browser.
  2. If you can, something prevents your script downloading the file. For me, it was my firewall that prohibited (AFAIK) cmake to access the internet. Try to allow your script to reach the file, for example, by configuring your firewall.
  3. If you cannot do step 2, @Voskrese suggested to download the file manually with another program, like the command line program wget, or you can also download it with a browser. After you got the file, copy it to vcpkg/downloads folder, D:/MLpack/DEV/vcpkg/downloads.
JackBoosY commented 5 years ago

@danieltuzes He obviously uses windows. Maybe we should prompt it in powershell. There are too many such problems.

YarikTiutiunnyk commented 5 years ago

but this comsnd also does not work and I you can't reach the file with a browser.

PS C:\Users\Yarik> cd D:\MLpack\DEV\vcpkg\downloads PS D:\MLpack\DEV\vcpkg\downloads> wget http://strawberryperl.com/download/5.24.1.1/strawberry-perl-5.24.1.1-32bit-portab le.zip wget : Unable to connect to the remote server At line:1 char:1

JackBoosY commented 5 years ago

@YarikTiutiunnyk Of course, you don't have wget. Can you download it using IE or other tools? Never mind. Can you use VPN or SS first?

danieltuzes commented 5 years ago

@JackBoosY it seems he has wget (I also have, it comes with many packages). If @YarikTiutiunnyk is right, and cannot access with a browser, there must some network problem.

@YarikTiutiunnyk I provide a link to my own server, you can download it from here: Replace AAA with (sorry, the link has been removed) http://AAA.hu/strawberry-perl-5.24.1.1-32bit-portable.zip

YarikTiutiunnyk commented 5 years ago

Thank you so much