mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] build failure in xorg-lib-xt
@ 2014-06-13 14:51 Richard Cochran
  2014-06-13 15:18 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Cochran @ 2014-06-13 14:51 UTC (permalink / raw)
  To: ptxdist

Dear list,

Using the latest git ptxdist, the libXt library does not compile. You
get an error like this.

target: xorg-lib-xt.compile
---------------------------

make[1]: Entering directory `/home/richard/git/DistroKit/platform-pengutronix-beagleboneti/build-target/libXt-1.1.3'
make  all-recursive
make[2]: Entering directory `/home/richard/git/DistroKit/platform-pengutronix-beagleboneti/build-target/libXt-1.1.3'
Making all in util
make[3]: Entering directory `/home/richard/git/DistroKit/platform-pengutronix-beagleboneti/build-target/libXt-1.1.3/util'
  CC     makestrs.o
  GEN    makestrs.1
makestrs.c:30:21: fatal error: X11/Xos.h: No such file or directory

The 'makestrs' program is for the host (build) machine. You can work
around this problem by installing the Debian x11proto-core-dev
package, but I guess that is not the solution.

What is the correct ptxdist way to solve this issue?

Thanks,
Richard


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] build failure in xorg-lib-xt
  2014-06-13 14:51 [ptxdist] build failure in xorg-lib-xt Richard Cochran
@ 2014-06-13 15:18 ` Michael Olbrich
  2014-06-13 18:03   ` [ptxdist] [PATCH] xorg-lib-xt: fix the build Richard Cochran
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2014-06-13 15:18 UTC (permalink / raw)
  To: ptxdist

On Fri, Jun 13, 2014 at 04:51:13PM +0200, Richard Cochran wrote:
> Dear list,
> 
> Using the latest git ptxdist, the libXt library does not compile. You
> get an error like this.
> 
> target: xorg-lib-xt.compile
> ---------------------------
> 
> make[1]: Entering directory `/home/richard/git/DistroKit/platform-pengutronix-beagleboneti/build-target/libXt-1.1.3'
> make  all-recursive
> make[2]: Entering directory `/home/richard/git/DistroKit/platform-pengutronix-beagleboneti/build-target/libXt-1.1.3'
> Making all in util
> make[3]: Entering directory `/home/richard/git/DistroKit/platform-pengutronix-beagleboneti/build-target/libXt-1.1.3/util'
>   CC     makestrs.o
>   GEN    makestrs.1
> makestrs.c:30:21: fatal error: X11/Xos.h: No such file or directory
> 
> The 'makestrs' program is for the host (build) machine. You can work
> around this problem by installing the Debian x11proto-core-dev
> package, but I guess that is not the solution.
> 
> What is the correct ptxdist way to solve this issue?

Probably adding "select HOST_XORG_PROTO_X" to the xorg-lib-Xt.in

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] [PATCH] xorg-lib-xt: fix the build
  2014-06-13 15:18 ` Michael Olbrich
@ 2014-06-13 18:03   ` Richard Cochran
  2014-06-16 19:00     ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Cochran @ 2014-06-13 18:03 UTC (permalink / raw)
  To: ptxdist


The libXt library requires X11/Xos.h in order to build the 'makestrs'
program for the host (build) machine. While this header may be available
on the build machine by chance, still the right way is to provide the
needed header in sysroot-host.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
---
 rules/xorg-lib-Xt.in |    1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/xorg-lib-Xt.in b/rules/xorg-lib-Xt.in
index 7f69679..370f509 100644
--- a/rules/xorg-lib-Xt.in
+++ b/rules/xorg-lib-Xt.in
@@ -3,6 +3,7 @@
 config XORG_LIB_XT
 	tristate
 	prompt "libXt"
+	select HOST_XORG_PROTO_X
 	select XORG_PROTO_X
 	select XORG_PROTO_KB
 	select XORG_LIB_X11
-- 
1.7.10.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH] xorg-lib-xt: fix the build
  2014-06-13 18:03   ` [ptxdist] [PATCH] xorg-lib-xt: fix the build Richard Cochran
@ 2014-06-16 19:00     ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2014-06-16 19:00 UTC (permalink / raw)
  To: ptxdist

On Fri, Jun 13, 2014 at 08:03:54PM +0200, Richard Cochran wrote:
> 
> The libXt library requires X11/Xos.h in order to build the 'makestrs'
> program for the host (build) machine. While this header may be available
> on the build machine by chance, still the right way is to provide the
> needed header in sysroot-host.
> 
> Signed-off-by: Richard Cochran <richardcochran@gmail.com>

Thanks, applied.

Michael

> ---
>  rules/xorg-lib-Xt.in |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/rules/xorg-lib-Xt.in b/rules/xorg-lib-Xt.in
> index 7f69679..370f509 100644
> --- a/rules/xorg-lib-Xt.in
> +++ b/rules/xorg-lib-Xt.in
> @@ -3,6 +3,7 @@
>  config XORG_LIB_XT
>  	tristate
>  	prompt "libXt"
> +	select HOST_XORG_PROTO_X
>  	select XORG_PROTO_X
>  	select XORG_PROTO_KB
>  	select XORG_LIB_X11
> -- 
> 1.7.10.4
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-16 19:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-13 14:51 [ptxdist] build failure in xorg-lib-xt Richard Cochran
2014-06-13 15:18 ` Michael Olbrich
2014-06-13 18:03   ` [ptxdist] [PATCH] xorg-lib-xt: fix the build Richard Cochran
2014-06-16 19:00     ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox