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 to move julia repo, because of .julia\v0.3\ZMQ\deps\deps.jl #68

Closed
stonebig opened this issue Feb 8, 2015 · 5 comments
Closed

Comments

@stonebig
Copy link

stonebig commented Feb 8, 2015

Hello,

I'm trying to build a movable Ijulia+ipython, and I fall on a ZMQ module "absolute path" problem.
In the file .julia\v0.3\ZMQ\deps\deps.jl, there is a line 12 generated with the full 'original' directory of ZMQ:
@checked_lib zmq "D:\\result_tests\\WinPython-32bit-3.4.2.5_build3\\settings\\.julia\\v0.3\\ZMQ\\deps\\usr\\lib\\libzmq.DLL"

==> is this absolute path really necessary ?

@stevengj
Copy link
Contributor

stevengj commented Feb 9, 2015

@Keno, should this be a bindeps issue?

@stonebig
Copy link
Author

stonebig commented Feb 9, 2015

I have some side effects, after fixing manually this
https://groups.google.com/forum/#!topic/julia-users/aEj2V1vdbdQ

@stonebig
Copy link
Author

ok: side-effect was because I forgot to copy the hidden .git files.
The only issue to get a movable Julia/IJulia seems this non-"relative" path in .julia\v0.3\ZMQ\deps\deps.jl.
current state of file D:\WinPython\basedir34\buildFlavorJulia\winpython-3.4.2\settings\.julia\v0.3\ZMQ\deps:

`# Load dependencies
@checked_lib zmq "D:\\WinPython\\basedir34\\buildFlavorJulia\\winpython-3.4.2\\settings\\.julia\\v0.3\\ZMQ\\deps\\usr\\lib\\libzmq.DLL"

whish:

@checked_lib zmq ".\\usr\\lib\\libzmq.DLL"

@stonebig
Copy link
Author

What is curious is it is apparently the only Julia module (that I have) using an absolute path
==> shouldn't it be easy to fix ?

@stonebig
Copy link
Author

at least on writing, it looks possible to replace a "." per Base.source_path()\\
in https://github.com/JuliaLang/BinDeps.jl/blob/master/src/dependencies.jl around line 832
(I don't know where it is read after)

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

3 participants