Skip to content

build error on Windows #28

@kafisatz

Description

@kafisatz

Issue 12 seems to be about windows binaries.
Is that the reason I cannot build this package on Windows?
Or can anyone tell me whey I encounter the error below?
If that is the case, I would suggest that the readme says so.


julia> BinDeps.debug("GraphViz")
INFO: Reading build script...
WARNING: BinDeps.shlib_ext is deprecated.
  likely near C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl:37
The package declares 2 dependencies.
 - Library "cgraph"
    - Providers:
      - Autotools Build
 - Library "gvc"
    - Providers:
      - Autotools Build

julia> Pkg.build("GraphViz")
INFO: Building GraphViz
WARNING: BinDeps.shlib_ext is deprecated.
  likely near C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl:37
==========================================[ ERROR: GraphViz ]===========================================

LoadError: None of the selected providers can install dependency cgraph.
Use BinDeps.debug(package_name) to see available providers

while loading C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl, in expression starting on line 43

========================================================================================================

============================================[ BUILD ERRORS ]============================================

WARNING: GraphViz had build errors.

 - packages with build errors remain installed in C:\Users\bernhard.konig\.julia\v0.6
 - build the package(s) and all dependencies with `Pkg.build("GraphViz")`
 - build a single package by running its `deps/build.jl` script

========================================================================================================

julia>

C:\Users\bernhard.konig>cd C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps

C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps>julia
Executing .juliarc.jl... done
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.0 (2017-06-19 13:05 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32

julia> include("build.jl")
WARNING: BinDeps.shlib_ext is deprecated.
  likely near C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl:37
ERROR: LoadError: None of the selected providers can install dependency cgraph.
Use BinDeps.debug(package_name) to see available providers

Stacktrace:
 [1] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at C:\Users\bernhard.konig\.julia\v0.6\BinDeps\src\dependencies.jl:922
 [2] satisfy!(::BinDeps.LibraryDependency) at C:\Users\bernhard.konig\.julia\v0.6\BinDeps\src\dependencies.jl:895
 [3] macro expansion at C:\Users\bernhard.konig\.julia\v0.6\BinDeps\src\dependencies.jl:950 [inlined]
 [4] anonymous at .\<missing>:?
 [5] include_from_node1(::String) at .\loading.jl:569
 [6] include(::String) at .\sysimg.jl:14
while loading C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl, in expression starting on line 43

julia> versioninfo()
Julia Version 0.6.0
Commit 903644385b* (2017-06-19 13:05 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)

julia>julia> BinDeps.debug("GraphViz")
INFO: Reading build script...
WARNING: BinDeps.shlib_ext is deprecated.
  likely near C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl:37
The package declares 2 dependencies.
 - Library "cgraph"
    - Providers:
      - Autotools Build
 - Library "gvc"
    - Providers:
      - Autotools Build

julia> Pkg.build("GraphViz")
INFO: Building GraphViz
WARNING: BinDeps.shlib_ext is deprecated.
  likely near C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl:37
==========================================[ ERROR: GraphViz ]===========================================

LoadError: None of the selected providers can install dependency cgraph.
Use BinDeps.debug(package_name) to see available providers

while loading C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl, in expression starting on line 43

========================================================================================================

============================================[ BUILD ERRORS ]============================================

WARNING: GraphViz had build errors.

 - packages with build errors remain installed in C:\Users\bernhard.konig\.julia\v0.6
 - build the package(s) and all dependencies with `Pkg.build("GraphViz")`
 - build a single package by running its `deps/build.jl` script

========================================================================================================

julia>

C:\Users\bernhard.konig>cd C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps

C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps>julia
Executing .juliarc.jl... done
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.0 (2017-06-19 13:05 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32

julia> include("build.jl")
WARNING: BinDeps.shlib_ext is deprecated.
  likely near C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl:37
ERROR: LoadError: None of the selected providers can install dependency cgraph.
Use BinDeps.debug(package_name) to see available providers

Stacktrace:
 [1] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at C:\Users\bernhard.konig\.julia\v0.6\BinDeps\src\dependencies.jl:922
 [2] satisfy!(::BinDeps.LibraryDependency) at C:\Users\bernhard.konig\.julia\v0.6\BinDeps\src\dependencies.jl:895
 [3] macro expansion at C:\Users\bernhard.konig\.julia\v0.6\BinDeps\src\dependencies.jl:950 [inlined]
 [4] anonymous at .\<missing>:?
 [5] include_from_node1(::String) at .\loading.jl:569
 [6] include(::String) at .\sysimg.jl:14
while loading C:\Users\bernhard.konig\.julia\v0.6\GraphViz\deps\build.jl, in expression starting on line 43

julia> versioninfo()
Julia Version 0.6.0
Commit 903644385b* (2017-06-19 13:05 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)

julia>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions