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. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice