Skip to content
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

Problem installing on Win7 64 bit #79

Closed
simonp0420 opened this issue Apr 27, 2015 · 5 comments
Closed

Problem installing on Win7 64 bit #79

simonp0420 opened this issue Apr 27, 2015 · 5 comments

Comments

@simonp0420
Copy link

Running Julia 0.3.7. I don't believe this is the same as #69 because 1) I have administrator privileges on this account and 2) I have closed and restarted Julia and performed a Pkg.build("ZMQ") several times with the same result. Here is the error message:


julia> Pkg.build("ZMQ")
INFO: Building WinRPM
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/repomd.xml INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/repomd.xml INFO: Building ZMQ
INFO: Updating WinRPM package list
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/repomd.xml INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/repomd.xml INFO: Nothing to do
===================================================[ ERROR: ZMQ ]====================================================


Provider PackageManager failed to satisfy dependency zmq
while loading c:\home\simonp\.julia\v0.3\ZMQ\deps\build.jl, in expression starting on line 22

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


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


WARNING: ZMQ had build errors.

 - packages with build errors remain installed in c:\home\simonp\.julia\v0.3
 - build the package(s) and all dependencies with `Pkg.build("ZMQ")`
 - build a single package by running its `deps/build.jl` script

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

and here is the output of run(ls -al $JULIA_HOME):

julia> run(`ls -al $JULIA_HOME`)
total 82520
drwxr-xr-x    1 simonp   Administ    12288 Apr 15 14:12 .
drwxr-xr-x    1 simonp   Administ     4096 Apr 15 14:13 ..
-rwxr-xr-x    1 simonp   Administ  1422336 Mar 24 00:09 7z.dll
-rwxr-xr-x    1 simonp   Administ   284160 Mar 24 00:09 7z.exe
-rwxr-xr-x    1 simonp   Administ        9 Mar 24 00:09 echo.bat
-rwxr-xr-x    1 simonp   Administ  1511558 Mar 24 00:09 julia-debug.exe
-rwxr-xr-x    1 simonp   Administ  1515541 Mar 23 23:58 julia.exe
-rwxr-xr-x    1 simonp   Administ   461473 Mar 23 23:48 libRmath-julia.dll
-rwxr-xr-x    1 simonp   Administ   165774 Mar 23 23:57 libamd.dll
-rwxr-xr-x    1 simonp   Administ   539210 Mar 23 23:52 libarpack.dll
-rwxr-xr-x    1 simonp   Administ   170563 Mar 23 23:57 libcamd.dll
-rwxr-xr-x    1 simonp   Administ   168317 Mar 23 23:57 libccolamd.dll
-rwxr-xr-x    1 simonp   Administ  1201904 Mar 23 23:57 libcholmod.dll
-rwxr-xr-x    1 simonp   Administ   150422 Mar 23 23:57 libcolamd.dll
-rwxr-xr-x    1 simonp   Administ   128422 Mar 23 23:01 libdSFMT.dll
-rwxr-xr-x    1 simonp   Administ   157852 Mar 24 00:09 libexpat-1.dll
-rwxr-xr-x    1 simonp   Administ  2671246 Mar 23 23:41 libfftw3.dll
-rwxr-xr-x    1 simonp   Administ  2714228 Mar 23 23:41 libfftw3f.dll
-rwxr-xr-x    1 simonp   Administ    77331 Feb 17 22:43 libgcc_s_seh-1-copy.dll
-rwxr-xr-x    1 simonp   Administ    82064 Mar 24 00:09 libgcc_s_seh-1.dll
-rwxr-xr-x    1 simonp   Administ  1224211 Feb 17 22:43 libgfortran-3-copy.dll
-rwxr-xr-x    1 simonp   Administ  1265423 Mar 24 00:09 libgfortran-3.dll
-rwxr-xr-x    1 simonp   Administ   696676 Mar 23 23:48 libgmp.dll
-rwxr-xr-x    1 simonp   Administ   189211 Mar 23 22:59 libgrisu.dll
-rwxr-xr-x    1 simonp   Administ 52686917 Mar 24 00:09 libjulia-debug.dll
-rwxr-xr-x    1 simonp   Administ 54149145 Mar 23 23:58 libjulia.dll
-rwxr-xr-x    1 simonp   Administ  1879617 Mar 23 23:50 libmpfr.dll
-rwxr-xr-x    1 simonp   Administ 36463350 Mar 23 23:04 libopenblas.dll
-rwxr-xr-x    1 simonp   Administ   368370 Mar 14 04:06 libopenlibm.dll
-rwxr-xr-x    1 simonp   Administ   385223 Mar 23 23:01 libopenspecfun.dll
-rwxr-xr-x    1 simonp   Administ   497261 Mar 23 23:04 libpcre.dll
-rwxr-xr-x    1 simonp   Administ   168706 Mar 23 23:04 libpcrecpp-0.dll
-rwxr-xr-x    1 simonp   Administ   119463 Mar 23 23:04 libpcreposix.dll
-rwxr-xr-x    1 simonp   Administ   323603 Feb 17 22:43 libquadmath-0-copy.dll
-rwxr-xr-x    1 simonp   Administ   331171 Mar 24 00:09 libquadmath-0.dll
-rwxr-xr-x    1 simonp   Administ   374402 Mar 23 23:57 libspqr.dll
-rwxr-xr-x    1 simonp   Administ    18963 Feb 17 22:43 libssp-0-copy.dll
-rwxr-xr-x    1 simonp   Administ    21512 Mar 24 00:09 libssp-0.dll
-rwxr-xr-x    1 simonp   Administ   931347 Feb 17 22:43 libstdc++-6-copy.dll
-rwxr-xr-x    1 simonp   Administ  1005001 Mar 24 00:09 libstdc++-6.dll
-rwxr-xr-x    1 simonp   Administ   116295 Mar 23 23:57 libsuitesparse_wrapper.dll
-rwxr-xr-x    1 simonp   Administ  1111453 Mar 23 23:57 libumfpack.dll
-rwxr-xr-x    1 simonp   Administ  1118274 Mar 23 23:01 libuv-11.dll
-rwxr-xr-x    1 simonp   Administ      899 Mar 24 00:09 prepare-julia-env.bat
-rwxr-xr-x    1 simonp   Administ      413 Mar 24 00:09 test-julia.bat
-rwxr-xr-x    1 simonp   Administ    91219 Mar 24 00:09 zlib1.dll

When I look in the directory c:\home\simonp\.julia\v0.3\WinRPM/deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin I do see that there is a file named libzmq.dll there. Any help resolving this would be appreciated!

@tkelman
Copy link
Contributor

tkelman commented Apr 30, 2015

Try deleting everything named -copy.dll under JULIA_HOME then re-run Pkg.build("ZMQ") and see if that helps. OpenSUSE bumped the gcc cross-compilers to 5.1.0 recently.

@simonp0420
Copy link
Author

There seems to be something wrong with the libzmq.dll installed in the .julia\v0.3\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin directory. If I cd into this directory and try to load the DLL, I get the following:

julia> dlopen(joinpath(pwd(),"libzmq.dll"))
ERROR:
 in dlopen at c.jl:19

If I replace this version with a version from an older package installation, it works:

julia> dlopen(joinpath(pwd(),"libzmq.dll"))
Ptr{Void} @0x000000002131b8c0

Let me know if there are any other tests or observations I could provide to help debug this issue.

@simonp0420
Copy link
Author

Sorry, I didn't see @tkelman's response until after I just posted. I will try what you suggested.

@simonp0420
Copy link
Author

Success! Thanks for the help, closing the issue.

@tkelman
Copy link
Contributor

tkelman commented Apr 30, 2015

Glad that fixed it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants