I want to make Cygwin my default julia working env. It proved that I can dive into julia successfully within cygwin. However, when I want to use package ,say
using Distributions
, the cmd throwed error message told me that : ArgumentError: distribution not found in path
Well, it's clear I have not added the package path to cygwin, an action I take for granted in windows cmd.
Can linux command like
export PATH=/cgdrive/c/ .. julia package path .. :$PATH
resolve my problem?
Some suggest that run a login terminal in Julia, my HOME is set differently than outside of Cygwin. I could set the environment variable JULIA_PKGDIR to your normal package directory. Then the question is , to which I add these path in cygwin, via which command ("export" as I guess?). Detailed guide will be highly appreciated.
Moreover, When I try to compile Julia source code within Cygwin, some problem raised at the make stage (I use chinese version)
Note that I have installed the m4 package during the installation of cygwin
zhanglu@ZhangLu ~/julia
$ make -j 4
cp /home/zhanglu/julia/usr/bin
cp /home/zhanglu/julia/usr/tools
cp: 在'/home/zhanglu/julia/usr/bin' 后缺少了要操作的目标文件(lack operator objective file)
Try 'cp --help' for more information.
make: *** [Makefile:316:/home/zhanglu/julia/usr/bin/libgfortran-3.dll] 错误 1
make: *** 正在等待未完成的任务....
cp: 在'/home/zhanglu/julia/usr/tools' 后缺少了要操作的目标文件(lack operator objective file)
Try 'cp --help' for more information.
make: *** [Makefile:316:/home/zhanglu/julia/usr/tools/libgfortran-3.dll] 错误 1
Ϊ C:\cygwin64\home\zhanglu\julia\usr\share\julia\base <<===>> base ▒▒▒▒▒▒▒▒▒▒
Ϊ C:\cygwin64\home\zhanglu\julia\usr\share\julia\test <<===>> test ▒▒▒▒▒▒▒▒▒
How to fix these errors?