Re: Bluez build problem
"Voni Hakau" <[email protected]> Mon, 16 Jun 2008 15:05:10 +0300
| Newsgroups | gmane.linux.bluez.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 13, 2008 at 6:25 PM, Mumia W.. <[email protected]> wrote: > On 06/13/2008 07:07 AM, Voni Hakau wrote: >> I'm cross compiling bluez-util to my platform, so I use something like >> --prefix=/path/to/my/platform/root/filesystem/usr. > Try to create a package instead. Use --prefix=/usr when you configure, > but use DESTDIR=/tmp/buildplace when you install. > > That should install the files to /tmp/buildplace. Use tar(1) to create a > tarball of the files in /tmp/buildplace, or even better, use a packager > for your preferred platform. > > During configuration, your command line might look like this: > > make --prefix=/usr > > When you "install" the package, you'll use this command: > > make install DESTDIR=/tmp/buildplace > > Obviously, the files won't be installed to the right place. No problem, > use tar(1). > > cd /tmp/buildplace > tar czf /tmp/bluez-x.xx-i386.tar.gz * > > Now you have a tarball that you can install wherever you wish, including > the correct place for your platform, > /path/to/my/platform/root/filesystem/usr. Wow this is an amazing idea !! Thank you so much !! I didn't know I can give --prefix to make. Or did you mean to ./configure ? and I didn't know there is DESTDIR for make install. great great tip !!! So I can just do make install DESTDIR with the prefix of my platform root filesystem, right ? I don't have to do the package, right ? Thank you so much for this!! it's a really great idea.. Voni > > Good luck. > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Bluez-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bluez-users > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php