JuliaML / LIBSVM.jl

LIBSVM bindings for Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error building LIBSVM

ZhangAngus opened this issue · comments

commented

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.

Possibly related with #59?

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

commented

Problem solved with new edition of LIBSVM.