On Thu, Mar 3, 2016 at 9:07 AM, Stefan Karpinski <[email protected]> wrote:
> What is the content of /etc/issue – i.e. what is the Linux distro and what
> is the output of `gcc --version`?

>From the output,the gcc version seems to be 4.8.3

>
> On Thu, Mar 3, 2016 at 8:52 AM, Chris Wade <[email protected]>
> wrote:
>>
>> the linux version is
>> 4.1.13-19.31.amzn1.x86_64 GNU/Linux
>>
>>
>> On 03/03/2016 13:42, Stefan Karpinski wrote:
>>
>> I was wondering about the Linux version, not what AMI. If it's an older
>> version of CentOS, for example, it may have a version of GCC that's too old.
>>
>> On Thu, Mar 3, 2016 at 4:08 AM, Chris <[email protected]>
>> wrote:
>>>
>>> Linuz VM is running: Amazon Linux AMI ElasticBeanstalk
>>> 4.1.13-19.31.amzn1.x86_64 GNU/Linux
>>>
>>> On Wednesday, March 2, 2016 at 6:17:25 PM UTC, Stefan Karpinski wrote:
>>>>
>>>> What version of Linux is the VM running?
>>>>
>>>> On Wed, Mar 2, 2016 at 12:06 PM, Chris <[email protected]>
>>>> wrote:
>>>>>
>>>>> Im trying to install julia on amazon linux instance.
>>>>>
>>>>> i ran:
>>>>>
>>>>> sudo yum -y install clang m4 patch ncurses-devel python-devel
>>>>> git clone https://github.com/JuliaLang/julia.git
>>>>> cd julia
>>>>> git checkout v0.4.3
>>>>> make
>>>>>
>>>>> that failed on fortran
>>>>> so i ran:
>>>>>
>>>>> sudo yum -y install gcc-gfortran
>>>>>
>>>>> then ran 'make'
>>>>> but get this 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
>>>>>
>>>>> it seems to be something to do with fortran, but i cannot understand
>>>>> what i need to do?
>>>>> I also tried make -fPIC, but PIC is not a target.
>>>>>
>>>>
>>
>>
>

Reply via email to