Bug 20981 - libX11 fails to cross-compile
Summary: libX11 fails to cross-compile
Status: RESOLVED DUPLICATE of bug 6669
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-31 12:53 UTC by Sven Rebhan
Modified: 2009-03-31 12:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch for makekeys (1.79 KB, patch)
2009-03-31 12:53 UTC, Sven Rebhan
no flags Details | Splinter Review
Patch for the XTRANS_CONNECTION_FLAGS macro (460 bytes, patch)
2009-03-31 12:54 UTC, Sven Rebhan
no flags Details | Splinter Review

Description Sven Rebhan 2009-03-31 12:53:25 UTC
Created attachment 24406 [details] [review]
Patch for makekeys

libX11 fails to cross-compile because makekeys needs to be called during the
build process. For cross-compilation this must fail as makekeys was compiled
with the target compiler. The following patch checks if we cross-compile and
creates a noinstallable xmakekeys which is used during build.

Another issue is that calling autoreconf fails because the XTRANS_CONNECTION_FLAGS macro is unknown. Patch attached also.

Created and tested against libX11-1.1.5.
Comment 1 Sven Rebhan 2009-03-31 12:54:18 UTC
Created attachment 24407 [details] [review]
Patch for the XTRANS_CONNECTION_FLAGS macro
Comment 2 Julien Cristau 2009-03-31 12:56:51 UTC
first issue is already fixed. second patch is wrong, you need the macros from xtrans when running aclocal.

*** This bug has been marked as a duplicate of bug 6669 ***
Comment 3 Alan Coopersmith 2009-03-31 12:58:59 UTC
The second patch should not be applied - XTRANS_CONNECTION_FLAGS is required
- you must have libxtrans correctly installed before building libX11 and
the xtrans.m4 installed should be in a path that your aclocal either finds
by default or you specify with the -I flag to the autoconf commands.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.