All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Cross Compile Blues ....
Date: Thu, 02 Dec 2004 17:32:56 +0100	[thread overview]
Message-ID: <1102005176.7350.21.camel@pegasus> (raw)
In-Reply-To: <Pine.LNX.4.33.0412021701500.6295-100000@redbean.intranet.gw-instruments.de>

Hi Peter,

> thank you. This helped to build the libraries correctly. Library build now
> looks like this (if anybody runs into the same problem):
> 
> # configure and make bluez libs
> pushd bluez/bluez-libs-2.11
> ./configure --host=$TARGET --build=i686-pc-linux-gnu \
>             --with-kernel=$LINUX_DIR \
>             --libdir=/lib --includedir=$XPREFIX/include
> make
> make install DESTDIR=$XPREFIX
> popd

for what do you still need the --includedir ?

> However, it fails with utils. But this isn't much of a problem, for
> now I can live with the hack below....
> 
> When I don't use prefix with utils I get some real strange problem with
> the include pathes. Looks like the native include pathes are used ?!?
> 
> # configure and make bluez utils
> pushd bluez/bluez-utils-2.11
> ./configure --prefix=$XPREFIX --host=$TARGET --build=i686-pc-linux-gnu \
>             --with-kernel=$LINUX_DIR \
>             --libdir=$XPREFIX/lib --includedir=$XPREFIX/include
> #            --sysconfdir=/etc
> #            --without-glib
> # can't figure out how to get this right .......... so...
> echo "#undef CONFIGDIR" >> config.h
> echo "#define CONFIGDIR \"/etc/bluetooth\"" >> config.h
> make
> make install
> popd

Sounds like a bug to me. However I don't finally understand why you
wanna install everything into under / .

I never did any cross-compiling so far, but I am open for every
enhancement to make it easier.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2004-12-02 16:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01 18:08 [Bluez-devel] Cross Compile Blues Peter Wippich
2004-12-01 19:38 ` Marcel Holtmann
2004-12-02 16:11   ` Peter Wippich
2004-12-02 16:32     ` Marcel Holtmann [this message]

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=1102005176.7350.21.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.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.