On Sun, Dec 20, 2009 at 11:24 AM, Stephan Raue <mailingli...@openelec.tv> wrote:
> Zitat von Dan Nicholson <dbn.li...@gmail.com>:
>
>> On Sun, Dec 20, 2009 at 5:19 AM, Stephan Raue <mailingli...@openelec.tv>
>> wrote:
>>>
>>> Hi all,
>>>
>>> when i am crosscompiling xorg-server i get an error from configure:
>>> checking for /etc/X11/fontpath.d... configure: error: cannot check for
>>> file existence when cross compiling
>>>
>>> is it possible to make this easyer for crosscompiling without patching
>>> configure.ac and configure in an release?
>>
>> That's just the way AC_CHECK_FILE works. Since you're cross-compiling,
>> it doesn't think it's appropriate to check for files on the build
>> system to determine behavior. It continues, right? It should just give
>> you the fallback behavior. If you want to specify the fontpath, use
>> --with-default-font-path.
>
> no it doesnt continue, and i have already set --with-default-font-path ...

It looks like there's multiple issues with this approach, but the
attached should fix the cross compiling problem. We also need to
address the fact the file test won't resolve all the way when
$sysconfdir is not specified on the command line. E.g.,
sysconfdir=${prefix}/etc by default, and then test -r
"${sysconfdir}/X11/fontpath.d" fails:

checking for ${prefix}/etc/X11/fontpath.d... no

--
Dan

Attachment: cross-fontpath.patch
Description: application/mbox

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to