[Mesa-users] Installation problem about mesasdk

Hailiang Chen chlcrazyboy at gmail.com
Wed Nov 28 12:23:39 EST 2018


Hi Rich,

Thanks for your reply. It doesn’t work on my computer.

I solved this problem by replacing “LIBS=“-lX11 $LIBS”” with “LIBS = “-L/usr/X11/lib64 -lX11 $LIBS””  in the mesasdk_preq_check.sh file.


Best wishes,
Hailiang 



> 在 2018年11月28日,16:47,RICHARD H D TOWNSEND <townsend at astro.wisc.edu> 写道:
> 
> Hi Hailiang --
> 
> Thanks for your report. Please can you try the following command:
> 
> export LDFLAGS=-L/usr/X11/lib64
> 
> ...before running the MESA SDK initialization script. Hopefully, that will fix things.
> 
> cheers,
> 
> Rich
> 
>> On Nov 26, 2018, at 10:16 AM, Hailiang Chen via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>> 
>> Dear all,
>> 
>> I have some difficulty in installing the mesasdk.
>> The following is the error message from the terminal:
>> 
>> mesasdk_init.csh: checking prerequisites
>> mesasdk_init.csh: missing prerequisites:
>> X11 library
>> Please visit http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Prerequisites and review the prerequisites required for use of the MESA SDK
>> 
>> The error message from config.log file:
>> 
>> mesasdk_preq_check.sh:2387: checking for XOpenDisplay in -lX11
>> mesasdk_preq_check.sh:2417: gcc -o conftest -g -O2   conftest.c -lX11  -lz  >&5
>> /afs/mpa/@sys/system/MPA-9.20/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.3.
>> 0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lX11
>> collect2: error: ld returned 1 exit status
>> 
>> 
>> I am sure X11 is installed on this computer.
>> It seems I have to replace -lX11 with -L/usr/X11/lib64.
>> Is there anyone who can tell me where should I modify in mesasdk_preq_check.sh file?
>> Thanks in advance.
>> 
>> 
>> Best wishes,
>> Hailiang 
>> 
>> _______________________________________________
>> mesa-users at lists.mesastar.org
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>> 
> 




More information about the Mesa-users mailing list