Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Wed, 2011-09-28 at 05:35 +0000, swagat sharma wrote:
Hi,

I have created a .deb package of LO using epm.
i have a 64-bit ubuntu machine.
And the package generated is x86_64.

I have to install it using --force-architecture option. I dont want
that.

Q1) How can I generate 32-bit package using epm?
Q2) Is the build we make machine specific? Like if I'm building it on
64 bit machine, the package generated would also be 64 bit??

Typically you can run linux32 to munge uname to trick things into
assuming 32bit and then things may work out ok when you build inside
that shell.

You may need to fiddle with CC/CXX to add e.g. -m32 if your compiler
defaults to 64bit, like mine done.

You may need to override PKG_CONFIG_LIBDIR as well if e.g. on 64bit
multi-lib fedora where you want to use the 32bit pkg-config data
from /usr/lib/pkgconfig and not /usr/lib64/pkgconfig

Specifically "EPM_FLAGS" can be used to override the arch of the
final .rpm/.deb themselves, but that won't be of any real use if the
contained binaries are really 64bit and/or configured to look for
things, e.g. java and extensions in "x86_64" dirs and so forth.

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.