-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not possible to install Sundials on Windows due to creation of symbolic links (admin rights needed) #172
Comments
This is an upstream issue with the BinaryProvider.jl. @staticfloat ? |
In order to proceed, I tried to manually fix the installation: In file HOME.julia\packages\Sundials\LXBu\deps\build.jls uncommented lines 48-61
Copied manually directory HOME.julia\packages\Sundials\LXBu\deps\usr\bin to D:\otter\home.julia\packages\Sundials\LXBu\usr\bin. Executing the command
This was successful (and a correct deps.jl file was generated). Executing the command
gave many warnings (many packages seemed to be not yet adapted to Julia 0.7) and the following error:
Executing the command
did not do anything. Installing Compat:
was successfull. Executing the command:
Gave the same error as above. Any hint, how I could continue? |
Tried to install Sundials with the current stable release of Julia (v0.6.3) for Windows 64-bit.
This was successful (without any manual intervention). So, it seems that the BinaryProvider.jl used in Julia 0.7.0-beta introduced a new issue, as well as the missing Compat package. |
The compat thing was already fixed on master. I just setup the tagging. |
Made a new try: Used nightly build of Juila 0.7.0-Beta (downloaded July 10) and performed the steps from above. The error with "Compat" did no longer occur (due to your fix). However, now another error occurs ("AbstractODEIntegrator not defined"):
|
Yes that's expected because the v0.7 compatibility release hasn't come yet for Sundials.jl (hopefully this week though). But the binaries installed correctly? |
O.k. (I just wait).
This issue (creation of symbolic links) is still present. But this not so critical, because manually copying the files is possible. |
From @staticfloat on the Slack:
|
In this blog from Microsoft it is written:
An this Microsoft documentation states:
So, also for Windows 10 it would be better to not use symbolic links |
I think it would be easiest to discuss this in the #BinDeps2 Slack chatroom or the BinaryProvider.jl page. I'm just acting as the middleman here since this is really just due to how the binary providing system of Julia is setup (Sundials.jl is just using it). |
The fix is in the builder: SciML/SundialsBuilder#12 |
Just tagged Sundials.jl v1.6.0 which should have this all fixed up. |
I tried to install Sundials in Julia-0.7.0-beta with "add Sundials" on Windows 7 and this failed. The reason is that when unzipping
then the unzip-program tries to create symbolic links:
However, under Windows 7 and 10 creating symbolic links requires administrator rights (that I do not have). Would it be possible to change the setup-procedures so that no symbolic links are set?
The text was updated successfully, but these errors were encountered: