From: Biucchi Gabriele <biucchi@tiscali.de>
To: buildroot@busybox.net
Subject: [Buildroot] problems and solutions for tinyx
Date: Mon Jul 24 04:25:11 2006 [thread overview]
Message-ID: <44C4AD92.7000205@tiscali.de> (raw)
I want only to point out some problems I had with tinyx and the
solutions that work with me: I hope, this can help somebody.
1) change in tinyx-config.patch
tinyx-config.patch starts with:
--- xc/config/cf/host.def~ 2005-04-02 14:51:31.000000000 -0700
+++ xc/config/cf/host.def 2005-04-26 01:22:00.000000000 -0600
but I think it should be:
--- xc-011010/config/cf/host.def~ 2005-04-02 14:51:31.000000000 -0700
+++ xc-011010/config/cf/host.def 2005-04-26 01:22:00.000000000 -0600
2) change in tinyx.mk
Some programs (like rxvt) need x-includes and x-libraries in
$(STAGING_DIR)/usr/X11R6/ , but tinyx.mk does not install anything there.
A naif solution consists to copy everything from $(TINYX_DIR)/exports/
into $(STAGING_DIR)/usr/X11R6/, substituting the line
tinyx: zlib $(TINYX_LIBX)/libX11.so.6.2 $(TINYX_BINX)/Xfbdev
with the following lines (please note the "-L" option used with cp):
$(STAGING_DIR)/usr/X11R6/lib/libX11.so.6.2: $(TINYX_LIBX)/libX11.so.6.2
mkdir -p $(STAGING_DIR)/usr/X11R6/lib
mkdir -p $(STAGING_DIR)/usr/X11R6/include
cp -fRL $(TINYX_DIR)/exports/include/* $(STAGING_DIR)/usr/X11R6/include/
cp -fRL $(TINYX_DIR)/exports/lib/* $(STAGING_DIR)/usr/X11R6/lib/
tinyx: zlib $(TINYX_LIBX)/libX11.so.6.2 $(TINYX_BINX)/Xfbdev
$(STAGING_DIR)/usr/X11R6/lib/libX11.so.6.2
3) another change in tinyx.mk
The $PATH variable includes "/usr/bin/X11", but there is nothing there.
A solution is to create a symbolic link between "/usr/bin/X11" and
"/usr/X11R6/bin", putting in the tinyx.mk the line
ln -s /usr/X11R6/bin $(TARGET_DIR)/usr/bin/X11
Best regards,
Gabriele
___________________________________________________________
Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
next reply other threads:[~2006-07-24 4:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-24 4:25 Biucchi Gabriele [this message]
2006-07-24 10:23 ` [Buildroot] where to put patches for packages? Marc Lindahl
2006-07-24 11:08 ` Erik Andersen
2006-07-24 11:19 ` Marc Lindahl
2006-07-24 11:26 ` Erik Andersen
2006-07-24 11:12 ` [Buildroot] problems and solutions for tinyx Erik Andersen
2006-07-25 4:26 ` Biucchi Gabriele
2006-07-26 12:11 ` Erik Andersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44C4AD92.7000205@tiscali.de \
--to=biucchi@tiscali.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.