JuliaML / LIBSVM.jl

LIBSVM bindings for Julia
Other
88 stars 35 forks source link

Error building LIBSVM #62

Closed ZhangAngus closed 3 years ago

ZhangAngus commented 3 years ago

When I try to install the LIBSVM, error occurred in building process.

   Building LIBSVM ───→ `E:\iCode\.julia\packages\LIBSVM\5Z99T\deps\build.log`
┌ Error: Error building `LIBSVM`:
│ [ Info: Downloading LIBSVM binary
│ ┌ Error: Download failed: curl: (22) The requested URL returned error: 403 Forbidden
│ └ @ Base download.jl:43
│ ERROR: LoadError: failed process: Process(`'C:\Windows\System32\curl.exe' -s -S -g -L -f -o 'E:\iCode\.julia\packages\LIBSVM\5Z99T\deps\libsvm.dll' 'http://web.ics.purdue.edu/~finej/libsvm-3.22_1.dll'`, ProcessExited(22)) [22]
│
│ Stacktrace:
│  [1] pipeline_error at .\process.jl:525 [inlined]
│  [2] download_curl(::String, ::String, ::String) at .\download.jl:44
│  [3] download(::String, ::String) at .\download.jl:62
│  [4] top-level scope at E:\iCode\.julia\packages\LIBSVM\5Z99T\deps\build.jl:6
│  [5] include(::String) at .\client.jl:439
│  [6] top-level scope at none:5
│ in expression starting at E:\iCode\.julia\packages\LIBSVM\5Z99T\deps\build.jl:2
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\Operations.jl:892

From the error message, we can clear see that it was stopped in the download step. So I try to visit the URL. http://web.ics.purdue.edu/~finej/libsvm-3.22_1.dll

The webpage returns 403 Forbidden error. It seems that file is no longer available. Detailed message:

Forbidden
You don't have permission to access /~finej/libsvm-3.22_1.dll on this server.

So, is there any other way to obtain the libsvm-3.22_1.dll file. Thank you.

barucden commented 3 years ago

Possibly related with #59?

iblislin commented 3 years ago

What's your Julia version? This pkg requires Julia 1.3+.

ZhangAngus commented 3 years ago

Problem solved with new edition of LIBSVM.