On Mon, Feb 09, 2015 at 06:35:59PM +0100, Igor Živković wrote: > On 2015-02-09 18:08, Ken Moffat wrote: > >On Mon, Feb 09, 2015 at 07:05:05AM +0100, Igor Živković wrote: > >>On 2015-02-09 02:55, Ken Moffat wrote: > >>> > >>> And now the question - We use --enable-dmx : why ? > >> > >>Probably because BLFS builds and installs almost every Xorg package. At > >>least dmxproto, libdmx and libXres are useless without that option > >>enabled > >>for the xorg-server. > >> > > > > Thanks. The way our Xorg packages are set out, it does not seem > >practical to make some protos and libs optional. But are you sure > >that libXres is useless without dmx ? A guick google suggests that > >e.g. Xvfb, xnest and Xephyr might need it. > > I'm not sure about Xephyr but Xvfb and Xnest only link to libXres if DMX is > enabled. > Gave it another build on 7.6, using
./configure --enable-dmx --enable-kdrive --enable-glamor \ --enable-install-setuid --enable-suid-wrapper followed by make and then a DESTDIR install as root. None of the xorg-server programs link to libXRes.so on this build of 1.17.0. Looking further, on this machine which is still running 1.16.3 none of the progs in /usr/bin use it. Of course, I do not have a lot of the packages which are in the book, but I think my Xorg builds are complete except for drivers not appropriate to the machine, some apps, most of hte old core fonts. Of the libraries, some plugins for lxpanel and xfce4/panel, and also libwnck-1.so, are using libXRes.so. And I *do* have Xdmx in the installed progs.. So, I do not agree that --enable-dmx is needed for those progs to link to libXres, unless there is also some other required dep which I did not install. Perhaps things have changed over the years. For libwnck-1 (2.30.7) configure looks for a function in -lXRes. lxpanel pulls in libwnck and so does xfce4-panel. Oh, the joys of this editing trade ;) ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
