[mesa-users] Help, error compiling mesa on 64-bit Ubuntu

Matt Coleman mcoleman at physics.ucsb.edu
Sun Jan 15 15:56:58 EST 2012


Hi Richard,

Thank you, running "export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu" fixed
that problem and I was able to install MESA using the mesasdk.

On Sun, Jan 15, 2012 at 6:39 AM, Richard Townsend
<townsend at astro.wisc.edu>wrote:

> Hi Matt --
>
> Before compiling with the SDK, could you try running this command:
>
> export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
>
> (for bash), or
>
> setenv LIBRARY_PATH /usr/lib/x86_64-linux-gnu
>
> (for tcsh). This should fix the issue with the missing crt1.o etc. If it
> works, you can add it to the appropriate login scripts. FYI, this is an
> ongoing bug with
>
> cheers,
>
> Rich
>
>
> On Jan 14, 2012, at 9:53 PM, Richard Townsend wrote:
>
> > Hi Matt --
> >
> > This is a known problem with the SDK, which I'm still trying to rectify.
> >
> > cheers,
> >
> > Rich
> >
> > On Jan 14, 2012, at 7:58 PM, Matt Coleman wrote:
> >
> >> Hi MESA users,
> >>
> >> I have been having problems installing MESA on 64-bit Ubuntu, both when
> I compile it using mesasdk and without. Any help would be greatly
> appreciated.
> >>
> >>
> >> With mesasdk I get the following:
> >>
> >> checking if ndiff is installed ...
> >> yes!
> >>
> >> /home/mcoleman/mesa/const
> >> building const package.
> >>
> >> make: `libconst.a' is up to date.
> >> make: `libconst.a' is up to date.
> >> gfortran -fopenmp -o ../tester test_const.o -L../../make -lconst
> >> /usr/bin/ld: cannot find crt1.o: No such file or directory
> >> /usr/bin/ld: cannot find crti.o: No such file or directory
> >> collect2: error: ld returned 1 exit status
> >> make: *** [tester] Error 1
> >>
> >>
> ------------------------------------------------------------------------------------------
> >>
> >> Compiling directly (without mesasdk) I get to module 'num' then it
> fails with the following output:
> >>
> >> /home/mcoleman/mesa/num
> >> building num package.
> >>
> >> gfortran -fno-range-check -fopenmp -I../public -I../private
> -I../../include -Wunused-value -Werror -W -fimplicit-none -O2 -c
> -ffixed-form -ffixed-line-length-132 ../private/mod_root.f
> >> ../private/mod_root.f:38.132:
> >>
> >>
> >> 1
> >> Fatal Error: Wrong module version '7' (expected '6') for file
> 'const_def.mod' opened at (1)
> >> make: *** [mod_root.o] Error 1
> >>
> >> /home/mcoleman/mesa/num/make
> >> FAILED
> >>
> >>
> >> Thanks,
> >>
> >> --
> >> - Matt
> >>
> ------------------------------------------------------------------------------
> >> RSA(R) Conference 2012
> >> Mar 27 - Feb 2
> >> Save $400 by Jan. 27
> >> Register now!
> >>
> http://p.sf.net/sfu/rsa-sfdev2dev2_______________________________________________
> >> mesa-users mailing list
> >> mesa-users at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/mesa-users
> >
> >
> >
> ------------------------------------------------------------------------------
> > RSA(R) Conference 2012
> > Mar 27 - Feb 2
> > Save $400 by Jan. 27
> > Register now!
> > http://p.sf.net/sfu/rsa-sfdev2dev2
> > _______________________________________________
> > mesa-users mailing list
> > mesa-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
>


-- 
- Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20120115/0dd16e2d/attachment.html>


More information about the Mesa-users mailing list