That really helped us. Thanks a lot. <br><br><br><b><i>"R.L. Horn" <lists@eastcheap.org></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Wed, 8 Nov 2006, Arun Raghavendra Murthy wrote:<br><br>> Hi All,<br>> I sucessfully cross compiled and installed X11R7.1<br>> Now i copied the installed files onto the target.I am getting the folloeing<br>> error on running startx.<br>> Any suggestion.........<br>><br>> Thanks and Regards<br>> Arun Murthy<br>> **********************************************************<br>> X Window System Version 7.1.0<br>> Release Date: 22 May 2006<br><br>> (==) Log file: "/tmp/x7.1/var/log/Xorg.0.log", Time: Tue Nov 7 16:46:57<br><br>Where is X installed on the target system?<br><br>It looks as though you specified a temporary directory for the prefix and <br>later moved X elsewhare.<br><br>This is what the Developer's Guide seems
to suggest. Unfortunately, it's <br>just plain wrong.<br><br>The prefix should reflect where X will actually be installed. DESTDIR is <br>used to install to temporary directories (i.e. make DESTDIR=[somethihg] <br>install).<br><br>Unfortunately, you can't readily use DESTDIR in building xorg since <br>"prefix" is hardcoded into the pkg-config files. This is particularly <br>vexing when cross-compiling.<br><br>The easiest solution might be to install to something like <br>/usr/X11R7-[arch] or /opt/X11R7-[arch]. You can then point symlinks to it <br>on the target system as desired.<br><br>Another approach that just might work would be to set up an environment as <br>follows (let's assume X will be installed in /usr/X11R7):<br><br> DESTDIR=[some temp dir]<br> PKG_CONFIG_PATH=$DESTDIR/usr/X11R7/lib/pkgconfig<br> ACLOCAL="alocal -I $DESTDIR/usr/X11R7/share/aclocal"<br> PKG_CONFIG="my-pkg-config"<br><br>"my-pkg-config" is a shell script (maybe a bash script
if "$?" isn't <br>universal):<br><br> #! /bin/sh<br> # Granted this looks odd, but we want the exit value to be that of<br> # pkg-config, not sed.<br> result=`pkg-config $@`<br> retval=$?<br> echo "$result" | sed "s,/usr/X11R7,$DESTDIR/usr/X11R7,g"<br> exit $retval<br><br>Then build as normal, specifying /usr/X11R7 as prefix (and keep your <br>fingers crossed). I tried it with the xclock source and the resultant <br>Makefile *looks* okay.<br>_______________________________________________<br>xorg mailing list<br>xorg@lists.freedesktop.org<br>http://lists.freedesktop.org/mailman/listinfo/xorg<br></blockquote><br><p>
<hr size=1>Cheap Talk? <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Check out</a> Yahoo! Messenger's low PC-to-Phone call rates.