From: Alessandro P. <ale...@gm...> - 2010-12-03 16:35:53
|
Hi Larry, let me share with you my experience. First of all, on which OS are you trying to install mesa ? Consider that on linux Ubuntu the libX11.a file is in /usr/lib/ and not in /usr/X11R6/lib as you are using in your makefile. To use pgplot you need also to change the path " /Users/bpaxton/pgplot_gfortran_gcc/lib" to the correct path where you have your pgplot software. In my case I installed pgplot in "/usr/local/pgplot/". To find out where do you have pgplot (assuming you have already installed it) you can type from a terminal "whereis pgplot". Then copy the path to the makefile_header and recompile. Cheers, A. On Fri, Dec 3, 2010 at 1:47 AM, Aaron Dotter <aar...@gm...> wrote: > Hi Larry, > > It looks like you've got a non-default option set in your > utils/makefile_header (likely not your fault). Assuming that you are not > trying to install the PGplot interface to star, just edit the following > lines in mesa/utils/makefile_header: > > ifeq ($(FC),gfortran) > > #USE_PGSTAR = NO > #LOAD_PGPLOT = > USE_PGSTAR = YES > LOAD_PGPLOT = -L/Users/bpaxton/pgplot_gfortran_gcc/lib -lpgplot > -L/usr/X11R6/lib -lX11 -lpng > > to look like this > > ifeq ($(FC),gfortran) > > USE_PGSTAR = NO > LOAD_PGPLOT = > #USE_PGSTAR = YES > #LOAD_PGPLOT = -L/Users/bpaxton/pgplot_gfortran_gcc/lib -lpgplot > -L/usr/X11R6/lib -lX11 -lpng > > and run the install script again. Please let us know if this does not fix > your problem. > > Best wishes, > Aaron > > > > On Thu, Dec 2, 2010 at 5:48 PM, Larry Pinsonneault <lpi...@ha...>wrote: > >> Installing Mesa version 2808 failed with error message : >> >> " >> /astro/mesa/star >> building star package. >> >> make: `libstar.a' is up to date. >> gfortran -fno-range-check -fopenmp -o ../star \ >> run_star_extras.o run_star.o run.o -L../../make -lstar >> -L../../../lib -ldiffusion -lionization -lmlt -latm -lother_atm -lkaro >> -lcolors -leos -lother_eos -lkap -lother_kap -ljina -lweak -lnet >> -lscreen -lrates -lneu -lchem -linterp_2d -linterp_1d -lnum -lutils >> -lalert -lconst -lmtx -lmesalapack -lmesablas >> -L/Users/bpaxton/pgplot_gfortran_gcc/lib -lpgplot -L/usr/X11R6/lib -lX11 >> -lpng >> /usr/bin/ld: cannot find -lX11 >> collect2: ld returned 1 exit status >> make: *** [star] Error 1 >> >> /astro/mesa/star/test/make >> FAILED >> " >> >> This says that file 'libX1.a' could not be found. 'locate libX11.a' found >> nothing also. >> >> How do I find or create this file? >> >> Larry Pinsonneault >> >> >> ------------------------------------------------------------------------------ >> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! >> Tap into the largest installed PC base & get more eyes on your game by >> optimizing for Intel(R) Graphics Technology. Get started today with the >> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. >> http://p.sf.net/sfu/intelisp-dev2dev >> _______________________________________________ >> mesa-users mailing list >> mes...@li... >> https://lists.sourceforge.net/lists/listinfo/mesa-users >> > > > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > mesa-users mailing list > mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa-users > > |