Groups 202 of 99+ julia-users › install from source error 5 posts by 2 authors Garrett Jenkinson 6/29/15 I am trying to install 0.3.10 from source on a RHEL 6.5 cluster, but keep getting an error. Here are the commands I used: mkdir julia ls cd julia/ git clone git://github.com/JuliaLang/julia.git git checkout release-0.3 make This fails with the error: cp: preserving permissions for `~/julia/julia/usr/lib/libopenlibm.so.1.0': Operation not supported make[3]: *** [install] Error 1 make[2]: *** [~/julia/julia/usr/lib/libopenlibm.a] Error 2 make[1]: *** [julia-release] Error 2 make: *** [release] Error 2 where I have replaced my directory structure (that has username details, etc) with "~" in the above error message. Here is the file permissions of the libopenlibm.so.1.0: -rwxr-xr-x+ It seems that the error is related to the ACL permissions (+ sign at end of permissions). I tried various setfacl commands (using -b and -k flags) to see if I could remove these acl permissions, but it does not correct the problem. Also, if it is relevant, I do not have root permissions on this machine since it is a computing cluster. Am I doing something wrong? Any thoughts on correcting this? Thanks, Garrett P.S. Here are my gcc specs (since I know you need the updated compiler, which I have): gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/cm/shared/apps/gcc/4.8.1/libexec/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.8.1/configure --prefix=/cm/shared/apps/gcc/4.8.1 --enable-languages=c,c++,fortran --with-gmp-include=/usr/src/redhat/BUILD/gcc-4.8.1-obj/../gcc-4.8.1/our-gmp --with-gmp-lib=/usr/src/redhat/BUILD/gcc-4.8.1-obj/../gcc-4.8.1/our-gmp --with-mpc-include=/usr/src/redhat/BUILD/gcc-4.8.1-obj/../gcc-4.8.1/our-mpc/src --with-mpc-lib=/usr/src/redhat/BUILD/gcc-4.8.1-obj/../gcc-4.8.1/our-mpc/src/.libs --with-mpfr-include=/usr/src/redhat/BUILD/gcc-4.8.1-obj/../gcc-4.8.1/our-mpfr/src --with-mpfr-lib=/usr/src/redhat/BUILD/gcc-4.8.1-obj/../gcc-4.8.1/our-mpfr/src/.libs Thread model: posix gcc version 4.8.1 (GCC) Tony Kelman 6/29/15 I'm guessing, but this might be due to some fragility with parallel make in the deps/Makefile on the release-0.3 branch. You can try make -C deps distclean-openlibm && make cleanall && make, see if things work better a second time around (cleanall does not clear out the large dependencies like llvm and openblas, so this shouldn't take too long). - show quoted text - Garrett Jenkinson 6/29/15 Thanks for the suggestion. I tried your suggestion and got the same error message as before. As a note, even though this is being done on a computing cluster, I logged into a single compute node and am not using the -j N flag to do parallel make. I am simply running the normal make command without any flags, and so I think everything should be acting serially as though I was just on a normal computer. - show quoted text - Tony Kelman 6/29/15 Hm, okay, I guess this isn't one I've seen before. Try editing the top-level Makefile, find the install: rule and see if you can add a - at the start of one of the lines to allow moving past the error. I suspect it's the loop over JL_PRIVATE_LIBS that's failing. You could also try modifying some of the cp flags in contrib/install.sh. - show quoted text - Garrett Jenkinson 6/30/15 I got it working. Thanks so much for your help! I tried your two suggestions, and it still gave me that error. So I grep'ed through the julia directory and found a bunch of 'Makefile' files inside the deps folder that were using the "cp" command with a "-a" flag set. I deleted any "-a" flag I could find and also put a "-" symbol in front of cp commands that had the "-p" flag set. After that the install worked (well the BLAS library failed but gave some pretty clear suggestions on re-running make with other flags set, which then worked). So thanks again, I really appreciate it, Garrett - show quoted text -