Hello Axel, thank you very much! There is such a library: libX11-devel. I installed it and ran 'makeall install' without editing the -L and -I options, and the 10 X11-related compilation errors are no longer occurring.
I'll follow up in a separate email to talk further about this. Philip [Radiance-dev] specifying X11 location*Axel Jacobs* jacobs.axel at gmail.com <radiance-dev%40radiance-online.org?Subject=Re%3A%20%5BRadiance-dev%5D%20specifying%20X11%20location&In-Reply-To=%3C51634ff4-3606-39df-f98a-ff42c5a23e8e%40gmail.com%3E> *Wed Apr 4 12:27:48 PDT 2018* - Previous message (by thread): [Radiance-dev] specifying X11 location <https://radiance-online.org/pipermail/radiance-dev/2018-April/001745.html> - Next message (by thread): [Radiance-dev] specifying X11 location <https://radiance-online.org/pipermail/radiance-dev/2018-April/001747.html> - *Messages sorted by:* [ date ] <https://radiance-online.org/pipermail/radiance-dev/2018-April/date.html#1746> [ thread ] <https://radiance-online.org/pipermail/radiance-dev/2018-April/thread.html#1746> [ subject ] <https://radiance-online.org/pipermail/radiance-dev/2018-April/subject.html#1746> [ author ] <https://radiance-online.org/pipermail/radiance-dev/2018-April/author.html#1746> ------------------------------ If you're compiling Radiance yourself, you not only need the X11 libs, but also the X11-development libs, as well as a few other build dependencies. Is there something like libX11-dev for Amazon LINUX? A On 04/04/18 18:54, Philip Schwarz wrote: >* Hello, *> >* In https://github.com/NREL/Radiance/blob/master/noX11.help <https://github.com/NREL/Radiance/blob/master/noX11.help> I see the *>* following: *> >* If you have X11 installed but in a non-standard location, you only *>* need to edit the rmake script to add the needed -I and -L options. *> > >* I think that by 'add the needed -I and -L options." it really means *>* modify the existing -I and -L options to reflect the location of X11. *>* Is that right? *> >* In https://github.com/NREL/Radiance/blob/master/makeall#L113 <https://github.com/NREL/Radiance/blob/master/makeall#L113> I see *> >* set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib *>* -I/usr/include/X11 -DNOSTEREO" *> >* Am I right in thinking that I just need to replace /usr/X11R6/lib and/or *>* /usr/include/X11with alternative absolute paths, and the build should work? *> >* My X11 installation consists of the following four files: *> >* /usr/lib64/libX11-xcb.so.1 *> >* /usr/lib64/libX11-xcb.so.1.0.0 *> >* /usr/lib64/libX11.so.6 *> >* /usr/lib64/libX11.so.6.3.0 *> > >* How should I change the -L and -I options. Do I need to have both -L and *>* -I or just one of them? *> >* Is this what I need?: *> >* set mach="-Dlinux -D_FILE_OFFSET_BITS=64 -L/usr/lib64 -I/usr/lib64 *>* -DNOSTEREO" *> >* When I run makeall install, I am given the opportunity to change the *>* line interactively. Is that all I need to do, or should I make the *>* change myself directly to the makeall file? *> >* Thank you in advance for your help. *> >* Philip Schwarz *> >* P.S. If the solution involves setting up symbolic links (preferably *>* not), can you please go into details? Thanks. *> > > > >* On 4 April 2018 at 16:05, Philip Schwarz *>* <philip.johann.schwarz at googlemail.com <https://www.radiance-online.org/mailman/listinfo/radiance-dev> *>* <mailto:philip.johann.schwarz at googlemail.com <https://www.radiance-online.org/mailman/listinfo/radiance-dev>>> wrote: *> >* Hello, *> > >* I am trying to install radiance on Linux 64 (in a docker container *>* based onhttps://hub.docker.com/_/amazonlinux/ *>* <https://hub.docker.com/_/amazonlinux/ <https://hub.docker.com/_/amazonlinux/>>) *> > >* When I run ‘makeall install’ I get 10 errors of the following *>* type:*fatal error:*X11/Xlib.h: No such file or directory *> > >* I believe this is because I don’t have X11 installed. I have *>* a/usr/lib64/X11 directory but it is empty. *> > >* There is a library for amazonlinux called libX11 *>* (https://aws.amazon.com/amazon-linux-ami/2017.09-packages/ <https://aws.amazon.com/amazon-linux-ami/2017.09-packages/> *>* <https://aws.amazon.com/amazon-linux-ami/2017.09-packages/ <https://aws.amazon.com/amazon-linux-ami/2017.09-packages/>>), so I *>* installed it: yum install libX11-1.6.0. *> > >* I can ask what was installed: *> > >* sh-4.2# repoquery --list libX11 *> >* /usr/lib/libX11-xcb.so.1 *> >* /usr/lib/libX11-xcb.so.1.0.0 *> >* /usr/lib/libX11.so.6 *> >* /usr/lib/libX11.so.6.3.0 *> >* /usr/lib64/libX11-xcb.so.1 *> >* /usr/lib64/libX11-xcb.so.1.0.0 *> >* /usr/lib64/libX11.so.6 *> >* /usr/lib64/libX11.so.6.3.0 *> >* sh-4.2# *> > >* How do I now change the -L option of the rmake command to reflect my *>* environment? *> > >* The current value is‘-L/usr/X11R6/lib’ *> > >* I tried changing it to ‘-L/usr/lib64’but I still get the X11-related *>* fatal errors. *> > >* I also tried copying the libX11 files from /usr/lib/ to *>* /usr/lib64/X11 and setting -L to '-L/usr/lib64/X11' but I get the *>* same errors. *> > >* Have you come across this problem before? *> > >* Any suggestions as to how to address the problem? *> > >* Thank you in advance for your help. *> > >* Philip Schwarz *> > > > >* _______________________________________________ *>* Radiance-dev mailing list *>* Radiance-dev at radiance-online.org <https://www.radiance-online.org/mailman/listinfo/radiance-dev> *>* https://www.radiance-online.org/mailman/listinfo/radiance-dev <https://www.radiance-online.org/mailman/listinfo/radiance-dev> *> ------------------------------ - Previous message (by thread): [Radiance-dev] specifying X11 location <https://radiance-online.org/pipermail/radiance-dev/2018-April/001745.html> - Next message (by thread): [Radiance-dev] specifying X11 location <https://radiance-online.org/pipermail/radiance-dev/2018-April/001747.html> - *Messages sorted by:* [ date ] <https://radiance-online.org/pipermail/radiance-dev/2018-April/date.html#1746> [ thread ] <https://radiance-online.org/pipermail/radiance-dev/2018-April/thread.html#1746> [ subject ] <https://radiance-online.org/pipermail/radiance-dev/2018-April/subject.html#1746> [ author ] <https://radiance-online.org/pipermail/radiance-dev/2018-April/author.html#1746> ------------------------------ More information about the Radiance-dev mailing list <https://www.radiance-online.org/mailman/listinfo/radiance-dev>
_______________________________________________ Radiance-dev mailing list [email protected] https://www.radiance-online.org/mailman/listinfo/radiance-dev
