<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#3333FF">
    Hello,<br>
    <br>
    (2011/07/19 16:12), Caolán McNamara wrote:
    <blockquote cite="mid:1311066739.22939.2078.camel@Vain" type="cite"><br>
      <pre wrap="">
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)

</pre>
    </blockquote>
    Executive summary: By adding "--enable-epm", I got an error: <br>
    rpm -bb: option not found.<br>
    <br>
    Which version of rpm should I use?<br>
    <br>
    My environment:<br>
    <br>
    CentOS 5.6<br>
    rpm-4.4.2.3-22.el5<br>
    <br>
    Build options:<br>
    ./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<br>
    <br>
    Build error:<br>
    <br>
    =============<br>
    Building module setup_native<br>
    =============<br>
    Entering /libo/vuhung/000.git/bootstrap/setup_native/source/ulfconv<br>
    <br>
    Entering /libo/vuhung/000.git/bootstrap/setup_native/scripts/source<br>
    <br>
    Entering /libo/vuhung/000.git/bootstrap/setup_native/scripts<br>
    <br>
    mkdir -p ../unxlngi6.pro/misc/install/fake-db-root<br>
    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<br>
    -bb: unknown option<br>
    dmake:  Error code 1, while making
    '../unxlngi6.pro/bin/noarch/fake-db-1.0-0.noarch.rpm'<br>
    <br>
    <br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Nguyen Vu Hung (Nguyyễn Vũ Hưng)
LibreOffice, Vietnamese Translation Team.</pre>
  </body>
</html>