[Libreoffice] Make RPMs
Nguyen Vu Hung (KiEi)
vuhung at ki-ei.com
Tue Jul 19 17:46:33 PDT 2011
Hello,
(2011/07/19 16:12), Caolán McNamara wrote:
>
> If you use "--enable-epm" (you can drop the explicit
> --with-package-format="rpm deb"), then when you do a "make" there should
> them be rpms created under
> instsetoo_native/unxlng*/some/sub/dir/use/find/to/find/them
>
> FWIW, distro-configs/LibreOfficeLinux.conf contains the flags used to
> build the .rpms that appear on download.libreoffice.org (or at least
> that's my understanding, it may be that some extra ones get added to
> that, but it should be roughly right anyway)
>
Executive summary: By adding "--enable-epm", I got an error:
rpm -bb: option not found.
Which version of rpm should I use?
My environment:
CentOS 5.6
rpm-4.4.2.3-22.el5
Build options:
./autogen.sh --with-distro=LibreOfficeLinux --with-lang="vi"
--with-max-jobs=20 --with-num-cpus=5 --without-junit
--with-gcc-speedup=ccache --prefix=$HOME --enable-epm
Build error:
=============
Building module setup_native
=============
Entering /libo/vuhung/000.git/bootstrap/setup_native/source/ulfconv
Entering /libo/vuhung/000.git/bootstrap/setup_native/scripts/source
Entering /libo/vuhung/000.git/bootstrap/setup_native/scripts
mkdir -p ../unxlngi6.pro/misc/install/fake-db-root
rpm --define "_builddir
/libo/vuhung/000.git/bootstrap/setup_native/unxlngi6.pro/misc/install/fake-db-root"
--define "_rpmdir
/libo/vuhung/000.git/bootstrap/setup_native/unxlngi6.pro/bin" -bb
fake-db.spec
-bb: unknown option
dmake: Error code 1, while making
'../unxlngi6.pro/bin/noarch/fake-db-1.0-0.noarch.rpm'
--
Nguyen Vu Hung (Nguyyễn Vũ Hưng)
LibreOffice, Vietnamese Translation Team.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110720/bd19451d/attachment.htm>
More information about the LibreOffice
mailing list