[ANNOUNCE] xorg-server 1.7.99.2

Dan Nicholson dbn.lists at gmail.com
Sun Dec 20 11:58:08 PST 2009


On Sun, Dec 20, 2009 at 11:24 AM, Stephan Raue <mailinglists at openelec.tv> wrote:
> Zitat von Dan Nicholson <dbn.lists at gmail.com>:
>
>> On Sun, Dec 20, 2009 at 5:19 AM, Stephan Raue <mailinglists at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross-fontpath.patch
Type: application/mbox
Size: 2237 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20091220/32141083/attachment.bin>


More information about the xorg mailing list