Hi Aaron, Thank you very much, this solved my problem.
Regards, Abhijit On Wednesday 19 July 2017 10:15 PM, Aaron Plattner wrote:
On 07/18/2017 11:49 PM, abhijit wrote:Hi, I am trying to build xserver 1.17.1 for imx57 based board. But cross compiled executable is trying to pick libraries and drivers from NFS root file system path. Following is the configuration command, > ./configure --enable-maintainer-mode --host=arm-xilinx-linux-gnueabi --prefix=/media/VAYAVYA/freedreno_proj/xserver/installsTry using typical settings for the directories and then installing with DESTDIR. So I guess that would be, (stealing the options from Arch Linux): ./configure --host=arm-xilinx-linux-gnueabi \ --prefix=/usr \ --libexecdir=/usr/lib/xorg-server \ --sysconfdir=/etc \ --localstatedir=/var \ --with-xkb-path=/usr/share/X11/xkb \ --with-xkb-output=/var/lib/xkb \ --with-fontrootdir=/usr/share/fonts DESTDIR=/media/VAYAVYA/freedreno_proj/xserver/installs make -j`nproc` installLIBS="-lm -ldl" --with-log-dir=/var/log/ Following is snippet of /var/log/Xorg.0.log from target, /media/VAYAVYA/freedreno_proj/xserver/installs/lib/xorg/protocol.txt (==) ModulePath set to " /media/VAYAVYA/freedreno_proj/xserver/installs/" (EE) Failed to load module "glx" (module does not exist, 0) (II) LoadModule: "dri" (WW) Warning, couldn't open module dri (II) UnloadModule: "dri" (EE) Failed to load module "dri" (module does not exist, 0) (II) LoadModule: "dri2" Can some one help me what are proper configuration options. I tried following, but it xserver is trying to install in /usr/lib/xorg/modules, which is system root directory. ./configure --enable-maintainer-mode --host=arm-xilinx-linux-gnueabi --prefix=/media/VAYAVYA/freedreno_proj/xserver/installs LIBS=-lm -ldl --with-log-dir=/var/log/ --with-module-dir=/usr/lib/xorg/modules --with-dri-driver-path=/usr/lib/dri Thanks, Abhijit
_______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
