Hello - I have been trying to build Julia on an Amazon web services instance and have run into (I think) two problems. The first is that I couldn't not find "gcc-fortran", so I installed "gcc-gfortran" instead, not knowing whether this would be an acceptable substitute. (I am listing this first issue in case it is relevant to the second problem.) The second problem is that the installation won't complete now, terminating with "Error 1" and "Error 2".
I was generally following the steps listed here to install Julia: https://gist.github.com/jiahao/7309987 I run into the first problem on line 11 and the second on line 15 (I skipped lines 4 and 8, if that's relevant). The first problem - When I ran: "sudo yum -y install git gcc-fortran" The message I got was: No package gcc-fortran available. Error: Nothing to do I looked for similarly named packages using: "yum list | grep -i fortran" And found "gcc-gfortran". I installed that instead - will it work as a substitute? (Maybe not?) The second problem - When I clone julia from git and run "make", it terminates with the error: /usr/bin/ld: /usr/lib/gcc/x86_64-amazon-linux/4.8.3/libgfortran.a(stop.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-amazon-linux/4.8.3/libgfortran.a: could not read symbols: Bad value collect2: error: ld returned 1 exit status make[2]: *** [libopenspecfun.so] Error 1 make[1]: *** [openspecfun/libopenspecfun.so] Error 2 make: *** [julia-deps] Error 2 The Linux version number is: Linux version 4.4.8-20.46.amzn1.x86_64 (mockbuild@gobi-build-60009) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) Any recommendations or advice you have would be most welcome! Thanks! ABB
