Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Including wine package - Reg
Date: Tue, 9 Apr 2013 23:22:31 +0200	[thread overview]
Message-ID: <20130409232231.0b261d1a@skate> (raw)
In-Reply-To: <CAGK4xy7fch-cGi66rLovOo8mRvRrif7Pzg_MF89vy46H5VH0SQ@mail.gmail.com>

Dear Arunkumar Vijayakumar,

On Wed, 10 Apr 2013 02:49:24 +0530, Arunkumar Vijayakumar wrote:

> I found the issue with the cross compiler and fixed it. Now when I tried
> executing wine package using
> $ make wine v=1 in buildroot
> 
> It throwed an error stating to use --with-wine-tools for cross compiling,
> hence I used
> WINE_CONF_OPT = --with-wine-tools=$(BUILD_DIR)/wine-$(WINE_VERSION)

This looks odd. Why would the wine package require a reference to its
own source directory? Doesn't sound correct.

> Again I got an error of missing Xlib/Xfree86 package, though I have
> installed those using apt-get install xorg xorg-dev *libx*11-dev in my
> ubuntu 12.04 desktop system.
> 
> But it didnt work hence i forced to use the following line in .mk file and
> it got worked.
> WINE_CONF_OPT += --x-libraries=/usr/lib/X11
> WINE_CONF_OPT += --x-includes=/usr/include/X11
> WINE_CONF_OPT += --with-x

Do you realize that Buildroot is used for *cross* compilation?
Therefore pointing the compilation to /usr/lib or /usr/include is just
plain wrong, and is precisely what Buildroot avoids everywhere. What
you're doing here is completely incorrect and has absolutely no chance
of working.

If wine depends on X11 libraries, then your wine package must depend on
the appropriate X11 Buildroot packages.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-04-09 21:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08 19:49 [Buildroot] Including wine package - Reg Arunkumar Vijayakumar
2013-04-08 21:12 ` Thomas Petazzoni
2013-04-08 21:23   ` Arunkumar Vijayakumar
2013-04-08 21:31     ` Thomas Petazzoni
2013-04-08 21:44       ` Arunkumar Vijayakumar
2013-04-08 22:40         ` Arunkumar Vijayakumar
2013-04-09 18:16           ` Thomas Petazzoni
2013-04-09 21:19             ` Arunkumar Vijayakumar
2013-04-09 21:22               ` Thomas Petazzoni [this message]
2013-04-09 21:58                 ` Arnout Vandecappelle

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=20130409232231.0b261d1a@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox