[Mesa-users] Using MESASDK w/o X11 package
Rob Farmer
r.j.farmer at uva.nl
Wed Feb 14 06:49:43 EST 2018
Hi
To disable needing X11 libraries you would need to edit
$MESA_DIR/utils/makefile_header
and replace:
USE_PGSTAR = YES
LOAD_PGPLOT = `mesasdk_pgplot_link` -lz
with:
USE_PGSTAR = NO
LOAD_PGPLOT =
and also replace
LOAD_HDF5 = `mesasdk_hdf5_link`
with
LOAD_HDF5 = `mesasdk_hdf5_link` -lz
This will disable your ability to generate pgplots.
Though if the system does have the X11 libraries, even without X11
forwarding, it can be useful to not disableX11 in mesa builds so that you
can still generate pgplots and just save them to disk (without displaying
them) then just copy them over from the remote machine to view them.
Let us know how it goes.
Rob
On 14 February 2018 at 12:11, Gururaj Wagle via Mesa-users <
mesa-users at lists.mesastar.org> wrote:
> Dear developers,
>
> I am trying to install MESA (10108) on a remote Intel desktop, which has a
> GNU/Linux system. The remote machine does not (and will not) have X11
> forwarding, it is purely computational machine. To avoid the hassle of
> having to manually install MESA (which would also require root access for
> installing ndiff etc)., I was wondering if I could use MESASDK (latest -
> 20180127), without X11 support, say, for example, commenting out the block
> from mesasdk_preq_check.sh that verifies the existence of X11 package. What
> else do I have to take care of, while using MESASDK and while installing
> MESA (changes in makefile, for example)?
>
> I already looked through archives for an answer, but in case if it already
> exists and I missed it, kindly point me to the solution.
>
> Thank you!
>
> In case if you need it:
> >> cat /proc/version
> Linux version 2.6.32-642.el6.x86_64 (mockbuild at x86-033.build.eng.
> bos.redhat.com) (gcc version
> 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) )
>
> >> ldd --version
> ldd (GNU libc) 2.12
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> Written by Roland McGrath and Ulrich Drepper.
>
> Best,
> Guru
>
> —
> Gururaj Wagle
> Research Associate
> Tata Institute of Fundamental Research,
> Homi Bhabha Center for Science Education,
> Mumbai, India
> O: (+91) 22 2507 2214
> gururaj[at]hbcse.tifr.res.in, gururaj.wagle[at]uky.edu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180214/4902f556/attachment.html>
More information about the Mesa-users
mailing list